38 lines
827 B
Makefile
38 lines
827 B
Makefile
# Created by: Adam Weinberger <adamw@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= CGI
|
|
PORTVERSION= 4.44
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Handle Common Gateway Interface requests and responses
|
|
|
|
LICENSE= ART20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= p5-HTML-Parser>=3.69:www/p5-HTML-Parser
|
|
TEST_DEPENDS= p5-Test-Deep>=0:devel/p5-Test-Deep \
|
|
p5-Test-NoWarnings>=0:devel/p5-Test-NoWarnings \
|
|
p5-Test-Warn>=0:devel/p5-Test-Warn
|
|
|
|
CONFLICTS_INSTALL= p5-CGI.pm-[1-3]*
|
|
|
|
PORTSCOUT= limit:^[0-9\.]*$$
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
post-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|