[136563] trunk/dports/textproc/saxon/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu May 21 14:22:06 PDT 2015


Revision: 136563
          https://trac.macports.org/changeset/136563
Author:   ryandesign at macports.org
Date:     2015-05-21 14:22:06 -0700 (Thu, 21 May 2015)
Log Message:
-----------
saxon: simplify destroot; use expand operator instead of eval

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

Modified: trunk/dports/textproc/saxon/Portfile
===================================================================
--- trunk/dports/textproc/saxon/Portfile	2015-05-21 21:17:42 UTC (rev 136562)
+++ trunk/dports/textproc/saxon/Portfile	2015-05-21 21:22:06 UTC (rev 136563)
@@ -46,12 +46,11 @@
 build               {}
 
 destroot {
-    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
+    xinstall -m 755 -d ${destroot}${prefix}/share/doc \
         ${destroot}${prefix}/share/java ${destroot}${prefix}/share/${name}
-    eval xinstall -m 644 [glob ${worksrcpath}/*.jar] \
+    xinstall -m 644 {*}[glob ${worksrcpath}/*.jar] \
         ${destroot}${prefix}/share/java
-    eval copy [glob ${worksrcpath}/doc/*] \
-        ${destroot}${prefix}/share/doc/${name}
+    copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
     copy ${worksrcpath}/samples ${worksrcpath}/source-userdoc.zip \
         ${worksrcpath}/use-cases ${destroot}${prefix}/share/${name}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150521/ed8bd83b/attachment.html>


More information about the macports-changes mailing list