- Attribute generation now correctly respects the value of autoEscape() - Fixed endofrm() syntax error - Fixed bug in redirect header handling - Added P3P option to header() - Patches to make CGI::Carp work correctly with object-oriented exceptions - Removed inaccurate description of how to set multiple cookies from CGI::Cookie pod file - Patch to prevent running out of filehandles when uploading lots of files - Documentation enhancement to note that the import_names() method transforms the parameter names into valid Perl names - Patch to suppress lang attribute in <html> tag if not provided explicitly - Patch to fix broken XHTML-transitional 1.0 validation on endform() - Custom html header fix (first letter correctly upcased now) - Added a -verbatim option to stylesheet generation - Faster delete() method - Added empty charset support - Patch to fix file upload failures when uploaded file is a multiple of 4096 - Fixed behavior of ACTION tag when POSTING to a URL that has a query string - Patch to handle multipart/mixed uploads from Opera
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.21 2003/04/21 18:33:35 mjl Exp $
|
|
#
|
|
|
|
VERS= 2.91
|
|
DISTNAME= CGI.pm-${VERS}
|
|
PKGNAME= p5-CGI-${VERS}
|
|
SVR4_PKGNAME= p5cgi
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES+= ${MASTER_SITE_PERL_CPAN:=CGI/}
|
|
|
|
MAINTAINER= jlam@netbsd.org
|
|
HOMEPAGE= http://stein.cshl.org/WWW/software/CGI/
|
|
COMMENT= perl5 module for writing forms-based CGI programs
|
|
|
|
# Some perl packages install their own versions of this module.
|
|
# 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_BUILDLINK2= YES
|
|
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/CGI/.packlist
|
|
HTMLDIR= ${PREFIX}/share/doc/html/p5-CGI
|
|
|
|
post-build:
|
|
cd ${WRKSRC}/examples; \
|
|
for file in *.cgi *.pl; do \
|
|
${SED} -e "s|^#!/.*|#!${PERL5}|g" \
|
|
$${file} > $${file}.tmp; \
|
|
${MV} -f $${file}.tmp $${file}; \
|
|
done; \
|
|
${CHMOD} +x *.cgi; \
|
|
${PERL5} make_links.pl
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${HTMLDIR}
|
|
${INSTALL_DATA_DIR} ${HTMLDIR}/examples
|
|
cd ${WRKSRC}; ${INSTALL_DATA} *.html ${HTMLDIR}
|
|
cd ${WRKSRC}/examples; \
|
|
${INSTALL_DATA} *.gif *.html *.txt *.xbm ${HTMLDIR}/examples; \
|
|
${INSTALL_SCRIPT} *.cgi ${HTMLDIR}/examples
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|