aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Apache-Reload
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2008-12-25 23:15:57 +0800
committerpgollucci <pgollucci@FreeBSD.org>2008-12-25 23:15:57 +0800
commitb3c485074604bec9f4bc68c3cd84b63eb29b9eca (patch)
tree63ad938d88484140134140f0fa83177768ac56d5 /www/p5-Apache-Reload
parentce03820ef8d10342f03b9ff8d5883f747954bcb8 (diff)
downloadfreebsd-ports-gnome-b3c485074604bec9f4bc68c3cd84b63eb29b9eca.tar.gz
freebsd-ports-gnome-b3c485074604bec9f4bc68c3cd84b63eb29b9eca.tar.zst
freebsd-ports-gnome-b3c485074604bec9f4bc68c3cd84b63eb29b9eca.zip
- Update to 0.10
- pull pkg-plist into Makefile - Version should work with perl 5.10.0 and mod_perl 1.30 or 2.0.4. - MAINTAINER has not yet tested 5.10.0 - Pass maintainer to submitter PR: ports/123536 Submitted by: pgollucci Approved by: Approved by: araujo (mentor, implicit), skv (old maintainer)
Diffstat (limited to 'www/p5-Apache-Reload')
-rw-r--r--www/p5-Apache-Reload/Makefile29
-rw-r--r--www/p5-Apache-Reload/distinfo6
-rw-r--r--www/p5-Apache-Reload/pkg-plist5
3 files changed, 29 insertions, 11 deletions
diff --git a/www/p5-Apache-Reload/Makefile b/www/p5-Apache-Reload/Makefile
index a6e394eac45f..319e7a731adb 100644
--- a/www/p5-Apache-Reload/Makefile
+++ b/www/p5-Apache-Reload/Makefile
@@ -6,7 +6,8 @@
#
PORTNAME= Apache-Reload
-PORTVERSION= 0.07
+PORTVERSION= 0.10
+PORTREVISION= 2
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -16,6 +17,28 @@ COMMENT= Reload changed modules
PERL_CONFIGURE= yes
-MAN3= Apache::Reload.3
+MAN3= Apache2::Reload.3 Apache::Reload.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_MODPERL2)
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
+MAKE_ENV+= MOD_PERL=2
+_APACHE= Apache2
+.else
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
+MAKE_ENV+= MOD_PERL=1
+_APACHE= Apache
+.endif
+
+PLIST_DIRS= %%SITE_PERL%%/Apache2 \
+ %%SITE_PERL%%/Apache \
+ %%SITE_PERL%%/%%PERL_ARCH%%/auto/${_APACHE}/Reload
+
+PLIST_FILES= %%SITE_PERL%%/%%PERL_ARCH%%/auto/${_APACHE}/Reload/.packlist \
+ %%SITE_PERL%%/Apache2/Reload.pm \
+ %%SITE_PERL%%/Apache/Reload.pm
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-Apache-Reload/distinfo b/www/p5-Apache-Reload/distinfo
index f4dc7626219d..070a517cdca2 100644
--- a/www/p5-Apache-Reload/distinfo
+++ b/www/p5-Apache-Reload/distinfo
@@ -1,3 +1,3 @@
-MD5 (Apache-Reload-0.07.tar.gz) = 68a57f98e5c140117cceded434df1a0a
-SHA256 (Apache-Reload-0.07.tar.gz) = fd24a26b63d040ee1e399576135a80b47fca996d85b99a8f28297fcd998d2a28
-SIZE (Apache-Reload-0.07.tar.gz) = 3266
+MD5 (Apache-Reload-0.10.tar.gz) = 1d89841153b76b384e08479e3e26082a
+SHA256 (Apache-Reload-0.10.tar.gz) = fcb1a11c29ea51ee2082281d34db973300c432ac7e9ff76348954c38ce67a3ac
+SIZE (Apache-Reload-0.10.tar.gz) = 17441
diff --git a/www/p5-Apache-Reload/pkg-plist b/www/p5-Apache-Reload/pkg-plist
index bbf37c9b0fc0..e69de29bb2d1 100644
--- a/www/p5-Apache-Reload/pkg-plist
+++ b/www/p5-Apache-Reload/pkg-plist
@@ -1,5 +0,0 @@
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Reload/.packlist
-%%SITE_PERL%%/Apache/Reload.pm
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Reload
-@dirrmtry %%SITE_PERL%%/Apache
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache