aboutsummaryrefslogtreecommitdiff
path: root/www/p5-CGI-Application
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2008-03-07 23:23:09 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2008-03-07 23:23:09 +0000
commitc454f1c2c2c9d72031c1ec84dec895e80eee738f (patch)
tree76f0488a140753ed5c50536b29348800678af6b5 /www/p5-CGI-Application
parent954149ce0ae88c5675a6b7304f34d411616991c6 (diff)
downloadports-c454f1c2c2c9d72031c1ec84dec895e80eee738f.tar.gz
ports-c454f1c2c2c9d72031c1ec84dec895e80eee738f.zip
Notes
Diffstat (limited to 'www/p5-CGI-Application')
-rw-r--r--www/p5-CGI-Application/Makefile21
1 files changed, 12 insertions, 9 deletions
diff --git a/www/p5-CGI-Application/Makefile b/www/p5-CGI-Application/Makefile
index ad448f82d6a3..8a532e41c67a 100644
--- a/www/p5-CGI-Application/Makefile
+++ b/www/p5-CGI-Application/Makefile
@@ -7,22 +7,25 @@
PORTNAME= CGI-Application
PORTVERSION= 4.06
+PORTREVISION= 1
CATEGORIES= www perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= CGI
+MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= perl@FreeBSD.org
COMMENT= Perl module intended to make it easier to create reusable web apps
-BUILD_DEPENDS= ${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template \
- p5-Class-ISA>0:${PORTSDIR}/devel/p5-Class-ISA \
- ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \
- ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-HTML-Template>=0:${PORTSDIR}/www/p5-HTML-Template
PERL_CONFIGURE= yes
MAN3= CGI::Application.3 CGI::Application::Mailform.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Class-ISA>=0:${PORTSDIR}/devel/p5-Class-ISA \
+ p5-Net>=0:${PORTSDIR}/net/p5-Net
+.endif
+
+.include <bsd.port.post.mk>