pkgsrc/www/p5-CGI/Makefile
sno 6539b2f45d Updating www/p5-CGI from 3.47 to 3.48
Upstream changes:
Version 3.48

  [BUG FIXES]
  1. <optgroup> default values are now properly escaped.
     Thanks to #raleigh.pm and Mark Stosberg. (RT#49606)
  2. The change to exception handling in CGI::Carp introduced in 3.47 has been
     reverted for now. It caused regressions reported in RT#49630.
     Thanks to mkanat for the report.

  [DOCUMENTATION]
  1. Documentation for upload() has been overhauled, thanks to Mark Stosberg.
  2. Documentation for tmpFileName has been added. Thanks to Mark Stosberg and Nathaniel K. Smith.
  3. URLS were updated, thanks to Leon Brocard and Yanick Champoux. (RT#49770)

  [INTERNALS]
  1. More tests were added for autoescape, thanks to Bob Kuo. (RT#25485)
2009-10-25 13:16:21 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.52 2009/10/25 13:16:21 sno Exp $
VERS= 3.48
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_DESTDIR_SUPPORT= user-destdir
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"