[94400] trunk/dports/www/mod_perl2/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Jun 17 16:10:25 PDT 2012
Revision: 94400
https://trac.macports.org/changeset/94400
Author: ryandesign at macports.org
Date: 2012-06-17 16:10:24 -0700 (Sun, 17 Jun 2012)
Log Message:
-----------
mod_perl2: don't install perllocal.pod or .packlist files (#19854)
Modified Paths:
--------------
trunk/dports/www/mod_perl2/Portfile
Modified: trunk/dports/www/mod_perl2/Portfile
===================================================================
--- trunk/dports/www/mod_perl2/Portfile 2012-06-17 22:59:25 UTC (rev 94399)
+++ trunk/dports/www/mod_perl2/Portfile 2012-06-17 23:10:24 UTC (rev 94400)
@@ -5,6 +5,7 @@
name mod_perl2
version 2.0.7
+revision 1
maintainers cyberscript.net:ryan
categories www
license Apache-2
@@ -66,9 +67,16 @@
xinstall -m 755 ${worksrcpath}/src/modules/perl/mod_perl.so \
${destroot}${prefix}/apache2/libexec/
- system "cd ${destroot}${prefix}/lib/perl5/site_perl/5.*/darwin-*2level/auto/mod_perl2/ \
- && 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 {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120617/9421f2c1/attachment-0001.html>
More information about the macports-changes
mailing list