summaryrefslogtreecommitdiff
path: root/textproc/tcl-xapian
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2017-07-10 17:34:04 +0000
committerschmonz <schmonz@pkgsrc.org>2017-07-10 17:34:04 +0000
commit368f18f88a1e2a0e891df4573ad0fbde2e72529b (patch)
tree2316ca346694bf3ee7192ac585ce744689aaae0d /textproc/tcl-xapian
parent6fe5a6d2bdcc2cfb7f9046d732d11340aee408b3 (diff)
downloadpkgsrc-368f18f88a1e2a0e891df4573ad0fbde2e72529b.tar.gz
Add Xapian language bindings for C#, Lua, Perl, PHP, Python, Ruby, and Tcl.
Diffstat (limited to 'textproc/tcl-xapian')
-rw-r--r--textproc/tcl-xapian/Makefile21
-rw-r--r--textproc/tcl-xapian/PLIST8
2 files changed, 29 insertions, 0 deletions
diff --git a/textproc/tcl-xapian/Makefile b/textproc/tcl-xapian/Makefile
new file mode 100644
index 00000000000..5c4118057ac
--- /dev/null
+++ b/textproc/tcl-xapian/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2017/07/10 17:34:04 schmonz Exp $
+
+PKGNAME= tcl-${PKGNAME_MODULE}
+COMMENT= Tcl bindings for Xapian search engine
+HOMEPAGE= https://xapian.org/docs/bindings/tcl8/
+
+.include "../../lang/tcl/Makefile.version"
+
+CONFIGURE_ARGS+= --with-tcl
+
+REPLACE_INTERPRETER= tcl
+REPLACE.tcl.old= /usr/bin/env tclsh
+REPLACE.tcl.new= ${PREFIX}/bin/tclsh${TCL_BASEVER}
+REPLACE_FILES.tcl= tcl8/docs/examples/*.tcl
+
+post-install:
+ ${CHMOD} +x ${DESTDIR}${PREFIX}/share/doc/xapian-bindings/tcl8/examples/*.tcl
+
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../textproc/xapian/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/tcl-xapian/PLIST b/textproc/tcl-xapian/PLIST
new file mode 100644
index 00000000000..7f3cc54a1ec
--- /dev/null
+++ b/textproc/tcl-xapian/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/10 17:34:04 schmonz Exp $
+lib/tcl/xapian${PKGVERSION}/pkgIndex.tcl
+lib/tcl/xapian${PKGVERSION}/xapian.a
+lib/tcl/xapian${PKGVERSION}/xapian.so
+share/doc/xapian-bindings/tcl8/examples/simpleexpand.tcl
+share/doc/xapian-bindings/tcl8/examples/simpleindex.tcl
+share/doc/xapian-bindings/tcl8/examples/simplesearch.tcl
+share/doc/xapian-bindings/tcl8/index.html