summaryrefslogtreecommitdiff
path: root/www/p5-CGI
diff options
context:
space:
mode:
authorjlam <jlam>2000-08-27 07:10:59 +0000
committerjlam <jlam>2000-08-27 07:10:59 +0000
commit97e1b0acc462290dc20dc517f0b889e311c2da32 (patch)
treefd4f0178e134e50e9dc8acc6e016d62c645457cf /www/p5-CGI
parent03f62e3f3dab9a9dfcfc2bb15ccd59d37f570723 (diff)
downloadpkgsrc-97e1b0acc462290dc20dc517f0b889e311c2da32.tar.gz
Convert packages to use PERL5_PACKLIST (part 1). These were the easy
ones to do, and each compiled and installed/de-installed apparently correctly. As a side effect of the dynamic PLIST, we no longer need to have separate -static and -shared PLISTs. It's now easier than ever to make a perl5 package for NetBSD :)
Diffstat (limited to 'www/p5-CGI')
-rw-r--r--www/p5-CGI/Makefile12
-rw-r--r--www/p5-CGI/pkg/PLIST21
2 files changed, 10 insertions, 23 deletions
diff --git a/www/p5-CGI/Makefile b/www/p5-CGI/Makefile
index a6b721f3a01..4436e03bd2e 100644
--- a/www/p5-CGI/Makefile
+++ b/www/p5-CGI/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2000/05/11 20:04:03 christos Exp $
+# $NetBSD: Makefile,v 1.2 2000/08/27 07:11:24 jlam Exp $
#
DISTNAME= CGI.pm-2.66
@@ -8,12 +8,18 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=CGI/}
MAINTAINER= christos@netbsd.org
-USE_PERL5= YES
+USE_PERL5= # defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/CGI/.packlist
+
+# Our perl packages install their own versions of this perl5 module.
+# We need to remove this from our perl installations first.
+#
+CONFLICTS= perl-5.*
pre-configure:
${CP} ${FILESDIR}/Makefile.PL ${WRKSRC}/Makefile.PL
do-configure:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-CGI/pkg/PLIST b/www/p5-CGI/pkg/PLIST
index 718c5636db8..65e178df182 100644
--- a/www/p5-CGI/pkg/PLIST
+++ b/www/p5-CGI/pkg/PLIST
@@ -1,20 +1 @@
-@comment $NetBSD: PLIST,v 1.1 2000/05/11 20:04:05 christos Exp $
-lib/perl5/man/man3/CGI::Fast.3
-lib/perl5/man/man3/CGI::Carp.3
-lib/perl5/man/man3/CGI::Pretty.3
-lib/perl5/man/man3/CGI::Push.3
-lib/perl5/man/man3/CGI.3
-lib/perl5/man/man3/CGI::Switch.3
-lib/perl5/man/man3/CGI::Apache.3
-lib/perl5/man/man3/CGI::Cookie.3
-lib/perl5/site_perl/CGI/Util.pm
-lib/perl5/site_perl/CGI/Carp.pm
-lib/perl5/site_perl/CGI/Fast.pm
-lib/perl5/site_perl/CGI/Push.pm
-lib/perl5/site_perl/CGI/Pretty.pm
-lib/perl5/site_perl/CGI/Cookie.pm
-lib/perl5/site_perl/CGI/Apache.pm
-lib/perl5/site_perl/CGI/Switch.pm
-lib/perl5/site_perl/CGI.pm
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/CGI/.packlist
-@dirrm lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/CGI
+@comment $NetBSD: PLIST,v 1.2 2000/08/27 07:11:24 jlam Exp $