[143928] trunk/dports/www/awstats/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Dec 27 18:52:46 PST 2015


Revision: 143928
          https://trac.macports.org/changeset/143928
Author:   ryandesign at macports.org
Date:     2015-12-27 18:52:46 -0800 (Sun, 27 Dec 2015)
Log Message:
-----------
awstats: use -W argument for reinplace

Modified Paths:
--------------
    trunk/dports/www/awstats/Portfile

Modified: trunk/dports/www/awstats/Portfile
===================================================================
--- trunk/dports/www/awstats/Portfile	2015-12-28 02:49:08 UTC (rev 143927)
+++ trunk/dports/www/awstats/Portfile	2015-12-28 02:52:46 UTC (rev 143928)
@@ -39,16 +39,23 @@
 depends_lib         path:bin/perl:perl5 port:apache2
 
 patch {
-    reinplace -locale C "s|/usr/local|${prefix}|g" \
-        "${worksrcpath}/tools/awstats_buildstaticpages.pl" "${worksrcpath}/tools/awstats_updateall.pl" \
-        "${worksrcpath}/tools/httpd_conf" "${worksrcpath}/tools/webmin/awstats-1.9.wbm" \
-        "${worksrcpath}/wwwroot/cgi-bin/awstats.model.conf" "${worksrcpath}/wwwroot/cgi-bin/awstats.pl" \
-        "${worksrcpath}/tools/awstats_configure.pl"
-    reinplace "s|/usr/bin/perl|${prefix}/bin/perl|g" \
-        "${worksrcpath}/tools/awstats_buildstaticpages.pl" "${worksrcpath}/tools/awstats_updateall.pl" \
-        "${worksrcpath}/wwwroot/cgi-bin/awstats.pl" "${worksrcpath}/tools/awstats_configure.pl" \
-        "${worksrcpath}/tools/awstats_exportlib.pl" "${worksrcpath}/tools/logresolvemerge.pl" \
-        "${worksrcpath}/tools/maillogconvert.pl" "${worksrcpath}/tools/urlaliasbuilder.pl"
+    reinplace -W ${worksrcpath} -locale C "s|/usr/local|${prefix}|g" \
+        tools/awstats_buildstaticpages.pl \
+        tools/awstats_configure.pl \
+        tools/awstats_updateall.pl \
+        tools/httpd_conf \
+        tools/webmin/awstats-1.9.wbm \
+        wwwroot/cgi-bin/awstats.model.conf \
+        wwwroot/cgi-bin/awstats.pl
+    reinplace -W ${worksrcpath} "s|/usr/bin/perl|${prefix}/bin/perl|g" \
+        tools/awstats_buildstaticpages.pl \
+        tools/awstats_configure.pl \
+        tools/awstats_exportlib.pl \
+        tools/awstats_updateall.pl \
+        tools/logresolvemerge.pl \
+        tools/maillogconvert.pl \
+        tools/urlaliasbuilder.pl \
+        wwwroot/cgi-bin/awstats.pl
 }
 
 use_configure       no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151227/d3eefd25/attachment.html>


More information about the macports-changes mailing list