pkgsrc/www/p5-CGI/Makefile
wiz ea3509ea34 Update to 4.13:
4.13 2014-12-18

    [ RELEASE NOTES ]
    - CGI::Pretty is now DEPRECATED and will be removed in a future release.
      Please see GH #162 (https://github.com/leejo/CGI.pm/issues/162) for more
      information and discussion (also GH #140 for HTML function deprecation
      discussion: https://github.com/leejo/CGI.pm/issues/140)

    [ TESTING ]
    - fix t\rt-84767.t for failures on Win32 platforms related to file paths
2014-12-30 13:01:25 +00:00

36 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.72 2014/12/30 13:01:25 wiz Exp $
DISTNAME= CGI-4.13
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"