4b06c30a5e
4.25 2015-12-17 [ DOCUMENTATION ] - fix link to CONTRIBUTING file (thanks to Manwar for the fix) - clarify that "soft" deprecation means that the HTML functions are deprecated but will not raise any deprecation warnings [ SPEC / BUG FIXES ] - make the list context warning only happen once per process (or thread) to prevent excessive log noise in long running or in persistent processes (thanks to @dadamail for the suggestion) 4.23 2015-12-17 [ DOCUMENTATION ] - add LICENSE file and LICENSE info to Makefile.PL
32 lines
975 B
Makefile
32 lines
975 B
Makefile
# $NetBSD: Makefile,v 1.80 2015/12/27 22:39:19 wiz Exp $
|
|
|
|
DISTNAME= CGI-4.25
|
|
PKGNAME= p5-${DISTNAME}
|
|
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
|
|
|
|
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-install:
|
|
cd ${WRKSRC}/examples && \
|
|
${INSTALL_DATA} *.gif ${DESTDIR}${HTMLDIR}/examples && \
|
|
${INSTALL_SCRIPT} *.cgi *.pl ${DESTDIR}${HTMLDIR}/examples
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|