[112085] trunk/dports/devel/zeroc-ice35/Portfile

blair at macports.org blair at macports.org
Fri Oct 11 01:02:03 PDT 2013


Revision: 112085
          https://trac.macports.org/changeset/112085
Author:   blair at macports.org
Date:     2013-10-11 01:02:02 -0700 (Fri, 11 Oct 2013)
Log Message:
-----------
zeroc-ice35: simplify destroot phase a tiny bit.

Modified Paths:
--------------
    trunk/dports/devel/zeroc-ice35/Portfile

Modified: trunk/dports/devel/zeroc-ice35/Portfile
===================================================================
--- trunk/dports/devel/zeroc-ice35/Portfile	2013-10-11 08:00:15 UTC (rev 112084)
+++ trunk/dports/devel/zeroc-ice35/Portfile	2013-10-11 08:02:02 UTC (rev 112085)
@@ -133,10 +133,9 @@
     file rename ${destroot}${prefix}/slice ${sharedir}/slice
 
     xinstall -m 755 -d ${docdir}
-    file rename ${destroot}${prefix}/CHANGES ${docdir}
-    file rename ${destroot}${prefix}/ICE_LICENSE ${docdir}
-    file rename ${destroot}${prefix}/LICENSE ${docdir}
-    file rename ${destroot}${prefix}/RELEASE_NOTES ${docdir}
+    foreach f {CHANGES ICE_LICENSE LICENSE RELEASE_NOTES} {
+        file rename ${destroot}${prefix}/${f} ${docdir}
+    }
     file copy ${build.dir}/doc/reference ${docdir}
 
     if {[variant_isset demo_source_code]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131011/42784099/attachment.html>


More information about the macports-changes mailing list