pkgsrc/www/p5-CGI/Makefile
schmonz 971a83e23c Update to 3.63. From the changelog:
[SECURITY]
- CR escaping for Set-Cookie and P3P headers was improved. There was potential
  for newline injection in these headers.
  (Thanks to anazawa, https://github.com/markstos/CGI.pm/pull/23)

[INTERNALS]
- Changed how the  deprecated endform function was defined for compatibilty
  with the development version of Perl.
- Fix failures in t/tmpdir.t when run as root
  https://github.com/markstos/CGI.pm/issues/22, RT#80659)

- Made it possible to force a sorted order for things like hash
  attributes so that tests are not dependent on a particular hash
  ordering. This will be required in modern perls which will
  change the ordering per process. (Yves, RT#80659)

- formatting of CGI::Carp documentation was improved. Thanks to benkasminbullock.
- un-TODO some tests in t/tmpdir.t that were passing in most cases.
  More on this:
    https://github.com/markstos/CGI.pm/issues/19#
    cc73dc9807
2013-07-10 02:54:04 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.62 2013/07/10 02:54:04 schmonz Exp $
VERS= 3.63
DISTNAME= CGI.pm-${VERS}
PKGNAME= p5-CGI-${VERS}
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
PKG_INSTALLATION_TYPES= overwrite pkgviews
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
post-build:
cd ${WRKSRC}/examples && chmod +x *.cgi && perl make_links.pl
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}
${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}/examples
cd ${WRKSRC} && ${INSTALL_DATA} *.html ${DESTDIR}${HTMLDIR}
cd ${WRKSRC}/examples && \
${INSTALL_DATA} *.gif *.html *.txt *.xbm \
${DESTDIR}${HTMLDIR}/examples && ${INSTALL_SCRIPT} *.cgi \
${DESTDIR}${HTMLDIR}/examples
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"