freebsd-ports/www/p5-CGI-Untaint/Makefile
Mathieu Arnold b0f660f943 Update dependency
PR:		96447
Submitted by:	leeym
2006-06-13 17:21:58 +00:00

40 lines
1 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= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= CGI
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>