summaryrefslogtreecommitdiff
path: root/www/p5-CGI/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-10-15 02:17:16 +0000
committerjlam <jlam@pkgsrc.org>2000-10-15 02:17:16 +0000
commit4b24a43e6715ea6b87cc8319ba04d59e246d6e02 (patch)
treea3d2b5d3b4a4faccfc29c84e2d71f974313c1f32 /www/p5-CGI/Makefile
parente448451639a3b93befb8967edcc73777beaa938c (diff)
downloadpkgsrc-4b24a43e6715ea6b87cc8319ba04d59e246d6e02.tar.gz
Update p5-CGI to 2.74. Changes from version 2.72:
* Quashed one-character bug that caused CGI.pm to fail on file uploads. * Added -base to the list of arguments accepted by url(). * Fixes to XHTML support. * POST parameters no longer show up in the Location box.
Diffstat (limited to 'www/p5-CGI/Makefile')
-rw-r--r--www/p5-CGI/Makefile23
1 files changed, 10 insertions, 13 deletions
diff --git a/www/p5-CGI/Makefile b/www/p5-CGI/Makefile
index e07a8faffdf..f78521f5f29 100644
--- a/www/p5-CGI/Makefile
+++ b/www/p5-CGI/Makefile
@@ -1,12 +1,14 @@
-# $NetBSD: Makefile,v 1.7 2000/09/15 14:50:58 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2000/10/15 02:17:16 jlam Exp $
#
-DISTNAME= CGI.pm-2.72
-PKGNAME= p5-CGI-2.72
+DISTNAME= CGI.pm-2.74
+PKGNAME= p5-CGI-2.74
CATEGORIES= www perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=CGI/}
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=CGI/} \
+ http://stein.cshl.org/WWW/software/CGI/
MAINTAINER= christos@netbsd.org
+HOMEPAGE= http://stein.cshl.org/WWW/software/CGI/
# Some perl packages install their own versions of this module.
# Can't simply define USE_PERL5.
@@ -23,22 +25,17 @@ post-extract:
${RM} -f $${file}.tmp; \
done
-pre-configure:
- ${CP} ${FILESDIR}/Makefile.PL ${WRKSRC}/Makefile.PL
-
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
post-build:
@cd ${WRKSRC}/examples; ${PERL5} make_links.pl
-pre-install:
- @${RM} -rf ${WRKSRC}/examples/WORLD_WRITABLE
-
post-install:
${INSTALL_DATA_DIR} ${HTMLDIR}
- ${INSTALL_DATA} ${WRKSRC}/cgi*.html ${HTMLDIR}
- ${CP} -R ${WRKSRC}/examples ${HTMLDIR}/examples
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${HTMLDIR}/examples
+ ${INSTALL_DATA_DIR} ${HTMLDIR}/examples
+ cd ${WRKSRC}; ${INSTALL_DATA} *.html ${HTMLDIR}
+ cd ${WRKSRC}/examples; ${INSTALL_DATA} *.cgi *.gif *.html *.txt *.xbm \
+ ${HTMLDIR}/examples
.include "../../mk/bsd.pkg.mk"