[94401] trunk/dports/www/mod_perl/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Jun 17 16:21:41 PDT 2012
Revision: 94401
https://trac.macports.org/changeset/94401
Author: ryandesign at macports.org
Date: 2012-06-17 16:21:38 -0700 (Sun, 17 Jun 2012)
Log Message:
-----------
mod_perl: update to 1.31; fix livecheck; remove unnecessary setting of worksrcdir to its default; do not install perllocal.pod or .packlist files (#19854)
Modified Paths:
--------------
trunk/dports/www/mod_perl/Portfile
Modified: trunk/dports/www/mod_perl/Portfile
===================================================================
--- trunk/dports/www/mod_perl/Portfile 2012-06-17 23:10:24 UTC (rev 94400)
+++ trunk/dports/www/mod_perl/Portfile 2012-06-17 23:21:38 UTC (rev 94401)
@@ -3,7 +3,7 @@
PortSystem 1.0
name mod_perl
-version 1.30
+version 1.31
categories www
license Apache-1.1
platforms darwin
@@ -16,11 +16,12 @@
http://www.apache.inetcosmos.org/dist/perl/ \
http://www.rge.com/pub/infosystems/apache/perl/ \
http://mirrors.ccs.neu.edu/Apache/dist/perl/
-checksums md5 bfd6f6cff1ab1cc3dbb58a236701d169
+
+checksums rmd160 296bd5e95018c313bab84ae7b21ae9f64bd4a394 \
+ sha256 0bc7d2638139b7ac9742e27051513efb332504093eca84488ca15585b14860c1
+
depends_lib path:bin/perl:perl5 port:apache
-worksrcdir ${name}-${version}
-
configure.env LANG=C \
LC_ALL=C
configure.pre_args
@@ -57,9 +58,17 @@
xinstall -m 755 ${worksrcpath}/apaci/libperl.so \
${destroot}${prefix}/libexec/apache/
}
- system "cd ${destroot}${prefix}/lib/perl5/site_perl/5.*/darwin-*2level/auto/mod_perl/ \
- && cat .packlist | sed s#${destroot}/#\/#g >.packlist.new \
- && mv .packlist.new .packlist"
+
+ fs-traverse f ${destroot}${prefix} {
+ if {[file isfile ${f}]} {
+ switch [file tail ${f}] {
+ .packlist -
+ perllocal.pod {
+ delete ${f}
+ }
+ }
+ }
+ }
}
post-install {
@@ -74,3 +83,7 @@
ui_msg " * And then relaunch apache \n"
ui_msg "apachectl graceful\n"
}
+
+livecheck.type regex
+livecheck.url [lindex ${master_sites} 0]
+livecheck.regex ${name}-(1\.\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120617/a321e192/attachment.html>
More information about the macports-changes
mailing list