pkgsrc/www/p5-CGI/Makefile

41 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.60 2012/10/28 06:30:27 asau Exp $
Updating package for CPAN module CGI(.pm) in www/p5-CGI from 3.58 to 3.60. upstream changes: Version 3.60 Aug 15th, 2012 [BUG FIXES] - In some caes, When unescapeHTML() hit something it didn't recognize with an ampersand and and semicolon, it would throw away the semicolon and ampersand. It now does a better job. of preserving content it doesn't recognize. Thanks to CEBJYRE@cpan.org (RT#75595) - Remove trailing newline after <form> tag inserted by startform and start_form. It can cause rendering problems in some cases. Thanks to SJOHNSTON@cpan.org (RT#67719) - Workaround "Insecure Dependency" warning generated by some versions of Perl (RT#53733). Thanks to degatcpan@ntlworld.com, klchu@lbl.gov and Anonymous Monk [DOCUMENTATION] - Clarify that when -status is used, the human-readable phase should be included, per RFC 2616. Thanks to SREZIC@cpan.org (RT#76691). [INTERNALS] - More tests for header(), thanks to Ryo Anazawa. - t/url.t has been fixed on VMS. Thanks to cberry@cpan.org (RT#72380) - MANIFEST patched so that t/multipart_init.t is included again. Thanks to shay@cpan.org (RT#76189) Version 3.59 Dec 29th, 2011 [BUG FIXES] - We no longer read from STDIN when the Content-Length is not set, preventing requests with no Content-Length from freezing in some cases. This is consistent with the CGI RFC 3875, and is also consistent with CGI::Simple. However, the old behavior may have been expected by some command-line uses of CGI.pm. Thanks to Philip Potter and Yanick Champoux. See RT#52469 for details: https://rt.cpan.org/Public/Bug/Display.html?id=52469 [INTERNALS] - remove tmpdirs more aggressively. Thanks to rjbs (RT#73288) - use Text::ParseWords instead of ancient shellwords.pl. Thanks to AlexBio. - remove use of define(@arr). Thanks to rjbs. - spelling fixes. Thanks to Gregor Herrmann and Alessandro Ghedini. - fix test count and warning in t/fast.t. Thanks to Yanick.
2012-09-11 09:43:53 +02:00
VERS= 3.60
DISTNAME= CGI.pm-${VERS}
PKGNAME= p5-CGI-${VERS}
PKGREVISION= 1
SVR4_PKGNAME= p5cgi
CATEGORIES= www perl5
MASTER_SITES+= ${MASTER_SITE_PERL_CPAN:=CGI/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/CGI.pm/
COMMENT= Perl5 module for writing forms-based CGI programs
LICENSE= gnu-gpl-v2 OR artistic-2.0
2004-01-07 02:20:30 +01:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
2004-04-25 08:07:02 +02:00
USE_LANGUAGES= # empty
USE_TOOLS+= perl
PERL5_PACKLIST= auto/CGI/.packlist
REPLACE_PERL+= examples/*.pl
REPLACE_PERL+= examples/*.cgi
HTMLDIR= ${PREFIX}/share/doc/p5-CGI
DEPENDS+= p5-FCGI>=0.67:../../www/p5-FCGI
2000-09-15 16:50:58 +02:00
post-build:
cd ${WRKSRC}/examples && chmod +x *.cgi && perl make_links.pl
2000-09-15 16:50:58 +02:00
post-install:
2009-05-19 00:14:20 +02:00
${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}
${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}/examples
cd ${WRKSRC} && ${INSTALL_DATA} *.html ${DESTDIR}${HTMLDIR}
cd ${WRKSRC}/examples && \
2009-05-19 00:14:20 +02:00
${INSTALL_DATA} *.gif *.html *.txt *.xbm \
${DESTDIR}${HTMLDIR}/examples && ${INSTALL_SCRIPT} *.cgi \
${DESTDIR}${HTMLDIR}/examples
2000-09-15 16:50:58 +02:00
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"