summaryrefslogtreecommitdiff
path: root/www/p5-CGI/Makefile
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-10-07 22:34:23 +0000
committerseb <seb@pkgsrc.org>2002-10-07 22:34:23 +0000
commitcf0b1c7919b0bac09a302802aecab0ff1ef63bd3 (patch)
tree2c6ca133acf36474468ebd5e2f12d4938b4aab33 /www/p5-CGI/Makefile
parenta0ea33939cc1b06593f11099db385624bd3e8469 (diff)
downloadpkgsrc-cf0b1c7919b0bac09a302802aecab0ff1ef63bd3.tar.gz
Convert to buildlink2. Use perl5/module.mk.
Diffstat (limited to 'www/p5-CGI/Makefile')
-rw-r--r--www/p5-CGI/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/www/p5-CGI/Makefile b/www/p5-CGI/Makefile
index 4d04df3c3e5..243ca0f309c 100644
--- a/www/p5-CGI/Makefile
+++ b/www/p5-CGI/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2002/02/27 16:28:48 jlam Exp $
+# $NetBSD: Makefile,v 1.19 2002/10/07 22:34:27 seb Exp $
#
DISTNAME= CGI.pm-2.79
@@ -21,13 +21,10 @@ COMMENT= perl5 module for writing forms-based CGI programs
# Can't simply define USE_PERL5.
BUILDLINK_DEPENDS.perl= {perl-5.0*,perl-5.6.0nb2,perl-base>=5.6.0,perl>=5.6.1nb2}
-USE_BUILDLINK_ONLY= YES
+USE_BUILDLINK2= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/CGI/.packlist
HTMLDIR= ${PREFIX}/share/doc/html/p5-CGI
-do-configure:
- cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
-
post-build:
cd ${WRKSRC}/examples; \
for file in *.cgi *.pl; do \
@@ -46,5 +43,5 @@ post-install:
${INSTALL_DATA} *.gif *.html *.txt *.xbm ${HTMLDIR}/examples; \
${INSTALL_SCRIPT} *.cgi ${HTMLDIR}/examples
-.include "../../lang/perl5/buildlink.mk"
+.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"