summaryrefslogtreecommitdiff
path: root/www/p5-HTML-Mason/Makefile
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2003-05-15 09:04:27 +0000
committerAnton Berezin <tobez@FreeBSD.org>2003-05-15 09:04:27 +0000
commitc4af7d86b76ed9f037de2657adb63dd6e3a52361 (patch)
treec4f36b8ed0907fb301afefb15810aa4de9180bbd /www/p5-HTML-Mason/Makefile
parentUpdate to latest release. (diff)
Make mod_perl dependency optional (WITHOUT_MODPERL to deactivate).
PR: 51653 Approved by: maintainer
Notes
Notes: svn path=/head/; revision=81018
Diffstat (limited to '')
-rw-r--r--www/p5-HTML-Mason/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/www/p5-HTML-Mason/Makefile b/www/p5-HTML-Mason/Makefile
index 48fdb27f8cfc..fa4cede17060 100644
--- a/www/p5-HTML-Mason/Makefile
+++ b/www/p5-HTML-Mason/Makefile
@@ -7,7 +7,7 @@
PORTNAME= HTML-Mason
PORTVERSION= 1.19
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= HTML
@@ -16,11 +16,15 @@ PKGNAMEPREFIX= p5-
MAINTAINER= dsh@vlink.ru
COMMENT= High-performance, dynamic web site authoring system
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq \
- ${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \
${SITE_PERL}/Class/Container.pm:${PORTSDIR}/devel/p5-Class-Container \
${SITE_PERL}/Cache/Cache.pm:${PORTSDIR}/devel/p5-Cache-Cache
+
+.if !defined(WITHOUT_MODPERL)
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq
+.endif
+
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes