aboutsummaryrefslogtreecommitdiff
path: root/www/p5-libapreq/Makefile
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2003-07-06 12:43:39 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2003-07-06 12:43:39 +0000
commitc2d4004c759bf31e2f151fed2eb514b6a8bbda4d (patch)
treeab94f2c4ff9e6b978fb519ca5ba80a0ae86b0b54 /www/p5-libapreq/Makefile
parent5c7f2530f470af6040de30d0ea776d94824ae794 (diff)
downloadports-c2d4004c759bf31e2f151fed2eb514b6a8bbda4d.tar.gz
ports-c2d4004c759bf31e2f151fed2eb514b6a8bbda4d.zip
Notes
Diffstat (limited to 'www/p5-libapreq/Makefile')
-rw-r--r--www/p5-libapreq/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/www/p5-libapreq/Makefile b/www/p5-libapreq/Makefile
index 5314ec2e01a5..9970329e13d6 100644
--- a/www/p5-libapreq/Makefile
+++ b/www/p5-libapreq/Makefile
@@ -6,17 +6,22 @@
#
PORTNAME= libapreq
-PORTVERSION= 1.1
+PORTVERSION= 1.2
CATEGORIES= www perl5 devel
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= ../../authors/id/J/JI/JIMW/
+MASTER_SITE_SUBDIR= Apache
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Generic Apache Request Library
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache/src.pm:${PORTSDIR}/www/mod_perl
-RUN_DEPENDS= ${BUILD_DEPENDS}
+.if defined(WITH_MODPERL2)
+IGNORE= "This port does not support mod_perl2"
+.else
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
+BUILD_DEPENDS= ${RUN_DEPENDS} \
+ ${SITE_PERL}/Apache/Test.pm::${PORTSDIR}/www/p5-Apache-Test
+.endif
PERL_CONFIGURE= yes
@@ -24,7 +29,7 @@ MAN3= Apache::Cookie.3 Apache::Request.3 Apache::libapreq.3 \
libapreq.3
post-patch:
- @${PERL} -pi~ -e '$$_="" if $$. >8 && $$. <27' ${WRKSRC}/Makefile.PL
+ @${PERL} -pi~ -e '$$_="" if $$. >32 && $$. <50' ${WRKSRC}/Makefile.PL
post-install:
.ifndef(NOPORTDOCS)