summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-09-20 21:31:20 +0000
committerjlam <jlam@pkgsrc.org>2007-09-20 21:31:20 +0000
commitadf08d0b3fb89f79e711a0b5749a89a34b17943e (patch)
tree282ec4c8870331c5c33e41847c64132c7813dd78 /databases
parentd24f34a9f745b9b0a85ac4278fd93923ea46377b (diff)
downloadpkgsrc-adf08d0b3fb89f79e711a0b5749a89a34b17943e.tar.gz
Handle the "contrib" directories using REQD_DIRS instead of @dirrm so
that it won't complain at pkg_delete-time if other "contrib" modules are installed. Bump the PKGREVISION to 1.
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql82-tsearch2/Makefile6
-rw-r--r--databases/postgresql82-tsearch2/PLIST4
2 files changed, 6 insertions, 4 deletions
diff --git a/databases/postgresql82-tsearch2/Makefile b/databases/postgresql82-tsearch2/Makefile
index 60361ad9f24..d135efa753b 100644
--- a/databases/postgresql82-tsearch2/Makefile
+++ b/databases/postgresql82-tsearch2/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/12/09 16:13:57 adam Exp $
+# $NetBSD: Makefile,v 1.2 2007/09/20 21:31:20 jlam Exp $
PKGNAME= postgresql82-tsearch2-${BASE_VERS}
+PKGREVISION= 1
COMMENT= Tsearch2 contrib module for fulltext indexing in PostgreSQL
DEPENDS+= postgresql82-server>=${BASE_VERS}:../../databases/postgresql82-server
@@ -12,6 +13,9 @@ BUILD_DIRS= contrib/tsearch2/snowball contrib/tsearch2
USE_LIBTOOL= yes
PKG_LIBTOOL= ${PKG_SHLIBTOOL}
+REQD_DIRS+= ${PG_SUBPREFIX}share/doc/postgresql/contrib
+REQD_DIRS+= ${PG_SUBPREFIX}share/postgresql/contrib
+
.include "../../databases/postgresql82-client/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql82-tsearch2/PLIST b/databases/postgresql82-tsearch2/PLIST
index f6d6c8fa425..351224c8f2a 100644
--- a/databases/postgresql82-tsearch2/PLIST
+++ b/databases/postgresql82-tsearch2/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2007/01/08 18:22:09 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2007/09/20 21:31:21 jlam Exp $
${PG_SUBPREFIX}lib/postgresql/libtsearch2.la
${PG_SUBPREFIX}share/doc/postgresql/contrib/README.tsearch2
${PG_SUBPREFIX}share/postgresql/contrib/english.stop
@@ -7,5 +7,3 @@ ${PG_SUBPREFIX}share/postgresql/contrib/russian.stop.utf8
${PG_SUBPREFIX}share/postgresql/contrib/thesaurus
${PG_SUBPREFIX}share/postgresql/contrib/tsearch2.sql
${PG_SUBPREFIX}share/postgresql/contrib/uninstall_tsearch2.sql
-@dirrm share/postgresql/contrib
-@dirrm share/doc/postgresql/contrib