[129919] trunk/dports/lang/pyobfuscate/Portfile

larryv at macports.org larryv at macports.org
Mon Dec 22 21:11:18 PST 2014


Revision: 129919
          https://trac.macports.org/changeset/129919
Author:   larryv at macports.org
Date:     2014-12-22 21:11:17 -0800 (Mon, 22 Dec 2014)
Log Message:
-----------
pyobfuscate: Reformat destroot

Modified Paths:
--------------
    trunk/dports/lang/pyobfuscate/Portfile

Modified: trunk/dports/lang/pyobfuscate/Portfile
===================================================================
--- trunk/dports/lang/pyobfuscate/Portfile	2014-12-23 05:11:16 UTC (rev 129918)
+++ trunk/dports/lang/pyobfuscate/Portfile	2014-12-23 05:11:17 UTC (rev 129919)
@@ -30,9 +30,8 @@
 build {}
 
 destroot {
-    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+    set docdir ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 755 -d ${docdir}
     xinstall -m 755 ${worksrcpath}/pyobfuscate ${destroot}${prefix}/bin/
-    xinstall -m 644 -W ${worksrcpath} \
-            LICENSE PKG-INFO README TODO \
-            ${destroot}${prefix}/share/doc/${name}
+    xinstall -W ${worksrcpath} -m 644 LICENSE PKG-INFO README TODO ${docdir}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141222/1a27ef80/attachment.html>


More information about the macports-changes mailing list