4.11 2014-12-02 [ SPEC / BUG FIXES ] - more hash key ordering bugs fixed in HTML attribute output (GH #158, thanks to Marcus Meissner for the patch and test case) [ REFACTORING ] - escapeHTML (and unescapeHTML) have been refactored to use the functions exported by the HTML::Entities module (GH #157) - change BUILD_REQUIRES to TEST_REQUIRES in Makefile.PL as these are test dependencies not build dependencies (GH #159) [ DOCUMENTATION ] - replace any remaining uses of indirect object notation (new Object) with the safer Object->new syntax (GH #156)
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.71 2014/12/03 14:56:43 wiz Exp $
|
|
|
|
DISTNAME= CGI-4.11
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES+= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/L/LE/LEEJO/}
|
|
|
|
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
|
|
|
|
DEPENDS+= p5-HTML-Parser-[0-9]*:../../www/p5-HTML-Parser
|
|
BUILD_DEPENDS+= p5-Test-Deep-[0-9]*:../../devel/p5-Test-Deep
|
|
BUILD_DEPENDS+= p5-Test-Warn-[0-9]*:../../devel/p5-Test-Warn
|
|
|
|
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
|
|
INSTALLATION_DIRS= ${HTMLDIR}/examples
|
|
|
|
post-build:
|
|
cd ${WRKSRC}/examples && chmod +x *.cgi && perl make_links.pl
|
|
|
|
post-install:
|
|
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"
|