[136556] trunk/dports/devel/unsermake/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu May 21 12:48:04 PDT 2015


Revision: 136556
          https://trac.macports.org/changeset/136556
Author:   ryandesign at macports.org
Date:     2015-05-21 12:48:04 -0700 (Thu, 21 May 2015)
Log Message:
-----------
unsermake: use expand operator instead of eval; remove somewhat premature use of foreach; supported_archs noarch; add modeline

Modified Paths:
--------------
    trunk/dports/devel/unsermake/Portfile

Modified: trunk/dports/devel/unsermake/Portfile
===================================================================
--- trunk/dports/devel/unsermake/Portfile	2015-05-21 19:42:52 UTC (rev 136555)
+++ trunk/dports/devel/unsermake/Portfile	2015-05-21 19:48:04 UTC (rev 136556)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem      1.0
@@ -8,6 +9,8 @@
 categories      devel
 license         GPL-2+
 maintainers     nomaintainer
+supported_archs noarch
+
 description     Replacement for automake
 long_description \
                 Unsermake is an automake replacement from the KDE project.
@@ -33,9 +36,7 @@
 
 destroot {
     xinstall -d -m 755 ${destroot}${prefix}/share/unsermake
-    foreach f {*.um *.py} {
-        eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/unsermake/
-    }
+    xinstall -m 644 {*}[glob ${worksrcpath}/*.um] {*}[glob ${worksrcpath}/*.py] ${destroot}${prefix}/share/unsermake/
     xinstall -m 755 ${worksrcpath}/unsermake ${destroot}${prefix}/share/unsermake/
     ln -s ${prefix}/share/unsermake/unsermake ${destroot}${prefix}/bin/unsermake
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150521/2aeedb4a/attachment-0001.html>


More information about the macports-changes mailing list