36 lines
790 B
Makefile
36 lines
790 B
Makefile
# Created by: Adam Weinberger <adamw@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= CGI
|
|
PORTVERSION= 4.51
|
|
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
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
NO_ARCH= yes
|
|
|
|
PORTSCOUT= limit:^[0-9\.]*$$
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
post-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|