pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/postgresql82-tsearch2 Handle the "contrib" d...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bb929e635baa
branches:  trunk
changeset: 533523:bb929e635baa
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Sep 20 21:31:20 2007 +0000

description:
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:

 databases/postgresql82-tsearch2/Makefile |  6 +++++-
 databases/postgresql82-tsearch2/PLIST    |  4 +---
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 71fdee193dca -r bb929e635baa databases/postgresql82-tsearch2/Makefile
--- a/databases/postgresql82-tsearch2/Makefile  Thu Sep 20 21:29:42 2007 +0000
+++ b/databases/postgresql82-tsearch2/Makefile  Thu Sep 20 21:31:20 2007 +0000
@@ -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 @@
 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 -r 71fdee193dca -r bb929e635baa databases/postgresql82-tsearch2/PLIST
--- a/databases/postgresql82-tsearch2/PLIST     Thu Sep 20 21:29:42 2007 +0000
+++ b/databases/postgresql82-tsearch2/PLIST     Thu Sep 20 21:31:20 2007 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index