summaryrefslogtreecommitdiff
path: root/databases/postgresql81-tsearch2
diff options
context:
space:
mode:
authorjoerg <joerg>2006-12-01 20:13:49 +0000
committerjoerg <joerg>2006-12-01 20:13:49 +0000
commitf9f126ed47eadddacb7bf33ba930999ad872afeb (patch)
tree17679409cbcbdc202543f1b97be05241d56917fa /databases/postgresql81-tsearch2
parent9f1acdc6d676546ca16aa8437e243f9f388d7508 (diff)
downloadpkgsrc-f9f126ed47eadddacb7bf33ba930999ad872afeb.tar.gz
By popular demand, add a package for the tsearch2 contrib module of
PostgreSQL 8.1. It can be used to implement efficient fulltext search engines.
Diffstat (limited to 'databases/postgresql81-tsearch2')
-rw-r--r--databases/postgresql81-tsearch2/DESCR6
-rw-r--r--databases/postgresql81-tsearch2/Makefile17
-rw-r--r--databases/postgresql81-tsearch2/PLIST10
3 files changed, 33 insertions, 0 deletions
diff --git a/databases/postgresql81-tsearch2/DESCR b/databases/postgresql81-tsearch2/DESCR
new file mode 100644
index 00000000000..cceb66da784
--- /dev/null
+++ b/databases/postgresql81-tsearch2/DESCR
@@ -0,0 +1,6 @@
+The Tsearch2 contrib module contains an implementation of a new data
+type tsvector - a searchable data type with indexed access. In a
+nutshell, tsvector is a set of unique words along with their
+positional information in the document, organized in a special
+structure optimized for fast access and lookup. This data type can
+be used as backend for efficient full text search engines.
diff --git a/databases/postgresql81-tsearch2/Makefile b/databases/postgresql81-tsearch2/Makefile
new file mode 100644
index 00000000000..06dffb615e1
--- /dev/null
+++ b/databases/postgresql81-tsearch2/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/12/01 20:13:49 joerg Exp $
+
+PKGNAME= postgresql81-tsearch2-${BASE_VERS}
+COMMENT= PL/Python procedural language for the PostgreSQL backend
+
+DEPENDS+= postgresql81-server>=${BASE_VERS}:../../databases/postgresql81-server
+
+.include "../../databases/postgresql81/Makefile.common"
+
+BUILD_DIRS= ${WRKSRC}/contrib/tsearch2/snowball ${WRKSRC}/contrib/tsearch2
+
+USE_LIBTOOL= yes
+PKG_LIBTOOL= ${PKG_SHLIBTOOL}
+
+.include "../../databases/postgresql81-client/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql81-tsearch2/PLIST b/databases/postgresql81-tsearch2/PLIST
new file mode 100644
index 00000000000..45de092e933
--- /dev/null
+++ b/databases/postgresql81-tsearch2/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/12/01 20:13:49 joerg Exp $
+${PG_SUBPREFIX}lib/postgresql/tsearch2.la
+${PG_SUBPREFIX}share/doc/postgresql/contrib/README.tsearch2
+${PG_SUBPREFIX}share/postgresql/contrib/english.stop
+${PG_SUBPREFIX}share/postgresql/contrib/russian.stop
+${PG_SUBPREFIX}share/postgresql/contrib/tsearch2.sql
+${PG_SUBPREFIX}share/postgresql/contrib/untsearch2.sql
+@dirrm share/postgresql/contrib
+@dirrm share/doc/postgresql/contrib
+@dirrm lib/postgresql