[36619] trunk/dports/textproc/gsed/Portfile

nox at macports.org nox at macports.org
Thu May 8 07:03:13 PDT 2008


Revision: 36619
          http://trac.macosforge.org/projects/macports/changeset/36619
Author:   nox at macports.org
Date:     2008-05-08 07:03:12 -0700 (Thu, 08 May 2008)

Log Message:
-----------
gsed:
 * Enabled parallel build.
 * Fixed +with_default_names variant (closes #14219).

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

Modified: trunk/dports/textproc/gsed/Portfile
===================================================================
--- trunk/dports/textproc/gsed/Portfile	2008-05-08 13:21:50 UTC (rev 36618)
+++ trunk/dports/textproc/gsed/Portfile	2008-05-08 14:03:12 UTC (rev 36619)
@@ -36,6 +36,8 @@
                 --mandir=${prefix}/share/man \
                 --program-prefix=g
 
+use_parallel_build  yes
+
 set docdir      ${prefix}/share/doc/${my_name}-${version}
 
 post-destroot {
@@ -54,8 +56,8 @@
 variant with_default_names description {Install files without 'g' prefix} {
     post-destroot {
         foreach {d} {bin share/info share/man/man1} {
-            foreach {a} [glob -nocomplain -directory ${destroot}${prefix}/${d} g*] {
-                ln ${destroot}${prefix}/${d}/[string range [file tail ${a}] 1 end] ${a}
+            foreach {f} [glob -tails -directory ${destroot}${prefix}/${d} g*] {
+                ln -sf ${prefix}/${d}/${f} ${destroot}${prefix}/${d}/[string range ${f} 1 end]
             }
         }
     }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080508/77b75467/attachment-0001.html


More information about the macports-changes mailing list