[144579] trunk/dports/databases/mysql-zrm/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Jan 12 23:57:01 PST 2016
Revision: 144579
https://trac.macports.org/changeset/144579
Author: ryandesign at macports.org
Date: 2016-01-12 23:57:01 -0800 (Tue, 12 Jan 2016)
Log Message:
-----------
mysql-zrm: use "extract.mkdir yes" instead of doing it manually
Modified Paths:
--------------
trunk/dports/databases/mysql-zrm/Portfile
Modified: trunk/dports/databases/mysql-zrm/Portfile
===================================================================
--- trunk/dports/databases/mysql-zrm/Portfile 2016-01-13 07:23:29 UTC (rev 144578)
+++ trunk/dports/databases/mysql-zrm/Portfile 2016-01-13 07:57:01 UTC (rev 144579)
@@ -35,14 +35,8 @@
destroot.keepdirs ${destroot}${prefix}/var/lib/mysql-zrm \
${destroot}${prefix}/var/log/mysql-zrm
+extract.mkdir yes
-post-extract {
- file mkdir ${worksrcpath}
- foreach d {etc usr var} {
- file rename ${workpath}/${d} ${worksrcpath}/${d}
- }
-}
-
post-patch {
# Not the most efficient way to do this, but much more readable
foreach f [exec find ${worksrcpath} -type f -print] {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160112/32174bd9/attachment.html>
More information about the macports-changes
mailing list