[36567] trunk/dports/sysutils/coreutils/Portfile
nox at macports.org
nox at macports.org
Tue May 6 17:11:14 PDT 2008
Revision: 36567
http://trac.macosforge.org/projects/macports/changeset/36567
Author: nox at macports.org
Date: 2008-05-06 17:11:13 -0700 (Tue, 06 May 2008)
Log Message:
-----------
coreutils: Updated to 6.11.
Modified Paths:
--------------
trunk/dports/sysutils/coreutils/Portfile
Modified: trunk/dports/sysutils/coreutils/Portfile
===================================================================
--- trunk/dports/sysutils/coreutils/Portfile 2008-05-06 23:55:13 UTC (rev 36566)
+++ trunk/dports/sysutils/coreutils/Portfile 2008-05-07 00:11:13 UTC (rev 36567)
@@ -3,7 +3,7 @@
PortSystem 1.0
name coreutils
-version 6.10
+version 6.11
categories sysutils
platforms darwin
maintainers nox openmaintainer
@@ -21,16 +21,16 @@
homepage http://www.gnu.org/software/${name}/
master_sites gnu
-checksums md5 eca0de1bf7389694305d7e52cd76a472 \
- sha1 f91f16e999dea6097bf555b467066ac931d584e4 \
- rmd160 bddc507cd9bef5dc7f07c4c51518870b7ac6b3a9
-
configure.args --program-prefix=g
+checksums md5 4b638a895f6c7d0d4a8f62d60189fd9b \
+ sha1 238dc7cb815659abe69ba52a1cbb7fb7f481dc0e \
+ rmd160 6a109d0fbab686d7258f933cfcbfde49f6faa68a
+
depends_lib port:gettext \
port:libiconv
-set docdir ${prefix}/share/doc/${name}-${version}
+set docdir ${prefix}/share/doc/${name}-${version}
post-destroot {
if {[file exists ${destroot}${prefix}/share/info/dir]} {
@@ -54,9 +54,8 @@
variant with_default_names description {Install files without 'g' prefix} {
post-destroot {
foreach {d} {bin share/man/man1} {
- foreach {a} [glob -directory ${destroot}${prefix}/${d} g*] {
- regexp g(.+) [file tail ${a}] _ b
- file link -hard ${destroot}${prefix}/${d}/${b} ${a}
+ foreach {f} [glob -tails -directory ${destroot}${prefix}/${d} g*] {
+ ln -sf ${prefix}/${d}/${f} ${destroot}${prefix}/${d}/[string range ${f} 1 end]
}
}
}
@@ -69,4 +68,3 @@
livecheck.check regex
livecheck.url http://ftp.gnu.org/gnu/${name}/?C=M&O=D
livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080506/ed11900d/attachment.html
More information about the macports-changes
mailing list