pkgsrc/www/p5-CGI/Makefile
wiz e0694f3a76 Updated p5-CGI to 4.30.
4.30 2016-06-08

    [ FEATURES ]
    - Add SameSite support to Cookie handling (thanks to pangyre)

    [ INTERNALS ]
    - The MultipartBuffer package has been renamed to CGI::MultipartBuffer.
      This has been done in a way to ensure any $MultipartBuffer package
      variables are still set correctly in CGI::MultipartBuffer. if you are
      explicitly using MultipartBuffer in a form such as:

        MultipartBuffer->new

      your code will break. you should be calling:

        CGI->new->new_MultipartBuffer( $boundary,$length );

      to ensure the correctly package is called. if you are extending the
      MultipartBuffer package though use of ISA or base (or parent) then you
      will need to update your code to use CGI::MultipartBuffer

    - fake using strict and warnings to appease CPANTS Kwalitee
2016-06-12 08:00:38 +00:00

33 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.86 2016/06/12 08:00:38 wiz Exp $
DISTNAME= CGI-4.30
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
BUILD_DEPENDS+= p5-Test-NoWarnings-[0-9]*:../../devel/p5-Test-NoWarnings
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"