mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
d1850a3d8c
Use DISTVERSION in place of DISTNAME where possible. Remove perl 5.005 shims.
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# New ports collection makefile for: p5-CGI-Untaint
|
|
# Date created: 21 july 2003
|
|
# Whom: Mathieu Arnold <m@absolight.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= CGI-Untaint
|
|
PORTVERSION= 1.26
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= mat@FreeBSD.org
|
|
COMMENT= Process CGI input parameters
|
|
|
|
RUN_DEPENDS= ${SITE_PERL}/UNIVERSAL/require.pm:${PORTSDIR}/devel/p5-UNIVERSAL-require \
|
|
${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= CGI::Untaint.3 CGI::Untaint::hex.3 CGI::Untaint::integer.3 \
|
|
CGI::Untaint::object.3 CGI::Untaint::printable.3
|
|
|
|
post-configure:
|
|
${PERL} -pi -e 's/-I\S+PERL\S+ //g if m{PERL_DL_NONLAZY}' ${WRKSRC}/Makefile
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= Changes
|
|
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|