[143930] trunk/dports/www/awstats/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Dec 27 19:16:59 PST 2015
Revision: 143930
https://trac.macports.org/changeset/143930
Author: ryandesign at macports.org
Date: 2015-12-27 19:16:59 -0800 (Sun, 27 Dec 2015)
Log Message:
-----------
awstats: use copy instead of file copy; avoid the need for using eval and glob by copying directories instead of their contents
Modified Paths:
--------------
trunk/dports/www/awstats/Portfile
Modified: trunk/dports/www/awstats/Portfile
===================================================================
--- trunk/dports/www/awstats/Portfile 2015-12-28 02:55:26 UTC (rev 143929)
+++ trunk/dports/www/awstats/Portfile 2015-12-28 03:16:59 UTC (rev 143930)
@@ -65,12 +65,12 @@
set docpath ${prefix}/www/awstats
destroot {
- xinstall -m 755 -d ${destroot}${docpath} \
- ${destroot}${prefix}/share/doc/awstats \
+ xinstall -m 755 -d \
+ ${destroot}${prefix}/share/doc \
${destroot}${prefix}/etc/awstats
- eval file copy [glob ${worksrcpath}/wwwroot/*] ${destroot}${docpath}
- eval file copy ${worksrcpath}/tools ${destroot}${docpath}
- eval file copy [glob ${worksrcpath}/docs/*] ${destroot}${prefix}/share/doc/awstats
+ copy ${worksrcpath}/wwwroot ${destroot}${docpath}
+ copy ${worksrcpath}/tools ${destroot}${docpath}
+ copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/awstats
xinstall -m 755 -W ${worksrcpath} wwwroot/cgi-bin/awstats.model.conf ${destroot}${prefix}/etc/awstats
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151227/4b59b2f6/attachment-0001.html>
More information about the macports-changes
mailing list