aboutsummaryrefslogtreecommitdiff
path: root/www/p5-libapreq
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-libapreq')
-rw-r--r--www/p5-libapreq/Makefile15
-rw-r--r--www/p5-libapreq/distinfo2
2 files changed, 11 insertions, 6 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)
diff --git a/www/p5-libapreq/distinfo b/www/p5-libapreq/distinfo
index 1573a4e0cfb3..f99e2d52c091 100644
--- a/www/p5-libapreq/distinfo
+++ b/www/p5-libapreq/distinfo
@@ -1 +1 @@
-MD5 (libapreq-1.1.tar.gz) = 99471b32f72c43dfd5d2e3078d44c1fc
+MD5 (libapreq-1.2.tar.gz) = ae08726f11ca25a215d4d854d675c3ff