[153055] trunk/dports/textproc/openjade/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Sep 22 16:53:40 PDT 2016


Revision: 153055
          https://trac.macports.org/changeset/153055
Author:   ryandesign at macports.org
Date:     2016-09-22 16:53:40 -0700 (Thu, 22 Sep 2016)
Log Message:
-----------
openjade: use xinstall

Don't use `system` just to install files

Modified Paths:
--------------
    trunk/dports/textproc/openjade/Portfile

Modified: trunk/dports/textproc/openjade/Portfile
===================================================================
--- trunk/dports/textproc/openjade/Portfile	2016-09-22 23:45:48 UTC (rev 153054)
+++ trunk/dports/textproc/openjade/Portfile	2016-09-22 23:53:40 UTC (rev 153055)
@@ -73,6 +73,6 @@
 destroot.target install install-man
 
 post-destroot {
-    system "install -d -m 755 ${destroot}${prefix}/share/sgml/openjade"
-    system "install -m 644 ${worksrcpath}/dsssl/* ${destroot}${prefix}/share/sgml/openjade"
+    xinstall -d ${destroot}${prefix}/share/sgml/openjade
+    xinstall -m 644 {*}[glob ${worksrcpath}/dsssl/*] ${destroot}${prefix}/share/sgml/openjade
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160922/e2ac0c12/attachment.html>


More information about the macports-changes mailing list