[33511] trunk/dports/sysutils/findutils/Portfile
nox at macports.org
nox at macports.org
Mon Jan 28 10:35:18 PST 2008
Revision: 33511
http://trac.macosforge.org/projects/macports/changeset/33511
Author: nox at macports.org
Date: 2008-01-28 10:35:02 -0800 (Mon, 28 Jan 2008)
Log Message:
-----------
findutils: Fixed with_default_names variant. Thanks to Blair for noticing me about this issue.
Modified Paths:
--------------
trunk/dports/sysutils/findutils/Portfile
Modified: trunk/dports/sysutils/findutils/Portfile
===================================================================
--- trunk/dports/sysutils/findutils/Portfile 2008-01-28 17:26:22 UTC (rev 33510)
+++ trunk/dports/sysutils/findutils/Portfile 2008-01-28 18:35:02 UTC (rev 33511)
@@ -25,7 +25,7 @@
configure.env SORT=/usr/bin/sort
-configure.args -program-prefix=g
+configure.args --program-prefix=g
test.run yes
test.target check
@@ -40,9 +40,8 @@
variant with_default_names description {Install files without 'g' prefix} {
post-destroot {
foreach {d} {bin libexec share/info share/man/man1 share/man/man5} {
- foreach {a} [glob -directory ${destroot}${prefix}/${d} g*] {
- regexp g(.+) [file tail ${a}] _ b
- file link -hard ${destroot}${prefix}/${d}/${b} ${a}
+ foreach {a} [glob -nocomplain -directory ${destroot}${prefix}/${d} g*] {
+ file link -hard ${destroot}${prefix}/${d}/[string range [file tail ${a}] 1 end] ${a}
}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080128/d75b8830/attachment.html
More information about the macports-changes
mailing list