diff options
author | erwin <erwin@FreeBSD.org> | 2008-08-02 19:50:22 +0800 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2008-08-02 19:50:22 +0800 |
commit | fdde9c602bc5bc5089d33b476d4116ab81fc8674 (patch) | |
tree | a3fa9fca156860e291bf168a42fbd301235617c9 /www | |
parent | f7c8cff2424b351dc15ebeef68e1ce5cee2f12c5 (diff) | |
download | freebsd-ports-gnome-fdde9c602bc5bc5089d33b476d4116ab81fc8674.tar.gz freebsd-ports-gnome-fdde9c602bc5bc5089d33b476d4116ab81fc8674.tar.zst freebsd-ports-gnome-fdde9c602bc5bc5089d33b476d4116ab81fc8674.zip |
Make mod_perl optional, so it can be used in CGI mode.
Submitted by: "Chad M. Fraleigh" <chadf@bookcase.com>
Diffstat (limited to 'www')
-rw-r--r-- | www/p5-Apache-ASP/Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/www/p5-Apache-ASP/Makefile b/www/p5-Apache-ASP/Makefile index 854496a2c91d..f4f6a5976615 100644 --- a/www/p5-Apache-ASP/Makefile +++ b/www/p5-Apache-ASP/Makefile @@ -7,25 +7,32 @@ PORTNAME= Apache-ASP PORTVERSION= 2.61 +PORTREVISION= 1 CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- +PKGNAMESUFFIX= ${MODPERL_SUFFIX} MAINTAINER= erwin@FreeBSD.org -COMMENT= Active Server Pages for Apache with mod_perl +COMMENT= Active Server Pages for Apache -BUILD_DEPENDS= ${SITE_PERL}/Apache/Filter.pm:${PORTSDIR}/www/p5-Apache-Filter \ - ${SITE_PERL}/Apache/SSI.pm:${PORTSDIR}/www/p5-Apache-SSI \ - ${SITE_PERL}/Devel/Symdump.pm:${PORTSDIR}/devel/p5-Devel-Symdump \ +BUILD_DEPENDS= ${SITE_PERL}/Devel/Symdump.pm:${PORTSDIR}/devel/p5-Devel-Symdump \ ${SITE_PERL}/HTML/Clean.pm:${PORTSDIR}/www/p5-HTML-Clean \ ${SITE_PERL}/HTML/FillInForm.pm:${PORTSDIR}/www/p5-HTML-FillInForm \ ${SITE_PERL}/HTTP/Date.pm:${PORTSDIR}/www/p5-libwww \ ${SITE_PERL}/MLDBM/Sync.pm:${PORTSDIR}/databases/p5-MLDBM-Sync \ ${SITE_PERL}/Tie/Cache.pm:${PORTSDIR}/devel/p5-Tie-Cache \ ${SITE_PERL}/XML/XSLT.pm:${PORTSDIR}/textproc/p5-XML-XSLT \ - ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl \ ${SITE_PERL}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ ${SITE_PERL}/${PERL_ARCH}/XML/Sablotron.pm:${PORTSDIR}/textproc/p5-XML-Sablotron + +.if !defined(WITHOUT_MODPERL) +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl \ + ${SITE_PERL}/Apache/Filter.pm:${PORTSDIR}/www/p5-Apache-Filter \ + ${SITE_PERL}/Apache/SSI.pm:${PORTSDIR}/www/p5-Apache-SSI +MODPERL_SUFFIX?=+mod_perl +.endif + RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes |