summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-postgresql
diff options
context:
space:
mode:
authorjlam <jlam>2000-08-27 10:37:00 +0000
committerjlam <jlam>2000-08-27 10:37:00 +0000
commit91233168360fd796a7799bbfe49838dd9ba6d2b4 (patch)
tree2f68a284f4e804aa3774ec66587daa928a61d931 /databases/p5-DBD-postgresql
parentab270ad409f3e1ea49ae2c9c69dada482746de33 (diff)
downloadpkgsrc-91233168360fd796a7799bbfe49838dd9ba6d2b4.tar.gz
Convert packages to use PERL5_PACKLIST (part 2). These are the database and
Apache perl modules, and each compiled and installed/de-installed apparently correctly. As a side effect of the dynamic PLIST, we no longer need to to have separate -static and -shared PLISTs. It's now easier than ever to make a perl5 package for NetBSD :)
Diffstat (limited to 'databases/p5-DBD-postgresql')
-rw-r--r--databases/p5-DBD-postgresql/Makefile15
-rw-r--r--databases/p5-DBD-postgresql/pkg/PLIST1
-rw-r--r--databases/p5-DBD-postgresql/pkg/PLIST-md.shared5
-rw-r--r--databases/p5-DBD-postgresql/pkg/PLIST-md.static5
-rw-r--r--databases/p5-DBD-postgresql/pkg/PLIST-mi5
5 files changed, 9 insertions, 22 deletions
diff --git a/databases/p5-DBD-postgresql/Makefile b/databases/p5-DBD-postgresql/Makefile
index 28a979c478b..4bb50aaebb5 100644
--- a/databases/p5-DBD-postgresql/Makefile
+++ b/databases/p5-DBD-postgresql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2000/05/24 10:35:54 rh Exp $
+# $NetBSD: Makefile,v 1.5 2000/08/27 10:37:00 jlam Exp $
#
DISTNAME= DBD-Pg-0.93
@@ -12,15 +12,16 @@ HOMEPAGE= http://www.postgresql.org/
DEPENDS+= postgresql>=6.5.3:../../databases/postgresql
DEPENDS+= p5-DBI>=1.08:../../databases/p5-DBI
-USE_PERL5= YES
+USE_PERL5= # defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/DBD/Pg/.packlist
-PGUSER?= pgsql
-PGPREFIX= ${PREFIX}/${PGUSER}
+PGUSER?= pgsql
+PGPREFIX= ${PREFIX}/${PGUSER}
-CONFIGURE_ENV+= POSTGRES_INCLUDE=${PREFIX}/include/pgsql
-CONFIGURE_ENV+= POSTGRES_LIB=${PREFIX}/lib
+MAKE_ENV+= POSTGRES_INCLUDE=${PREFIX}/include/pgsql
+MAKE_ENV+= POSTGRES_LIB=${PREFIX}/lib
do-configure:
- @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${MAKE_ENV} ${LOCALBASE}/bin/perl Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/p5-DBD-postgresql/pkg/PLIST b/databases/p5-DBD-postgresql/pkg/PLIST
new file mode 100644
index 00000000000..e2220f64fd7
--- /dev/null
+++ b/databases/p5-DBD-postgresql/pkg/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1 2000/08/27 10:37:00 jlam Exp $
diff --git a/databases/p5-DBD-postgresql/pkg/PLIST-md.shared b/databases/p5-DBD-postgresql/pkg/PLIST-md.shared
deleted file mode 100644
index f66efe45448..00000000000
--- a/databases/p5-DBD-postgresql/pkg/PLIST-md.shared
+++ /dev/null
@@ -1,5 +0,0 @@
-@comment $NetBSD: PLIST-md.shared,v 1.2 2000/05/03 15:50:25 rh Exp $
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/DBD/Pg/Pg.bs
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/DBD/Pg/Pg.so
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/DBD/Pg/.packlist
-@dirrm lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/DBD/Pg
diff --git a/databases/p5-DBD-postgresql/pkg/PLIST-md.static b/databases/p5-DBD-postgresql/pkg/PLIST-md.static
deleted file mode 100644
index ce76d443985..00000000000
--- a/databases/p5-DBD-postgresql/pkg/PLIST-md.static
+++ /dev/null
@@ -1,5 +0,0 @@
-@comment $NetBSD: PLIST-md.static,v 1.2 2000/05/03 15:50:25 rh Exp $
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/DBD/Pg/Pg.a
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/DBD/Pg/extralibs.ld
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/DBD/Pg/.packlist
-@dirrm lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/DBD/Pg
diff --git a/databases/p5-DBD-postgresql/pkg/PLIST-mi b/databases/p5-DBD-postgresql/pkg/PLIST-mi
deleted file mode 100644
index 23fd26fc716..00000000000
--- a/databases/p5-DBD-postgresql/pkg/PLIST-mi
+++ /dev/null
@@ -1,5 +0,0 @@
-@comment $NetBSD: PLIST-mi,v 1.1.1.1 2000/02/19 23:43:24 jwise Exp $
-lib/perl5/site_perl/./DBD/Pg.pm
-lib/perl5/site_perl/./DBD/dbd-pg.pod
-lib/perl5/man/man3/./DBD::Pg.3
-lib/perl5/man/man3/./DBD::dbd-pg.3