[33352] trunk/dports/sysutils/coreutils/Portfile

nox at macports.org nox at macports.org
Thu Jan 24 06:57:42 PST 2008


Revision: 33352
          http://trac.macosforge.org/projects/macports/changeset/33352
Author:   nox at macports.org
Date:     2008-01-24 06:57:37 -0800 (Thu, 24 Jan 2008)

Log Message:
-----------
coreutils:
 * Updated to 6.10.
 * NLS is now always enabled.
 * +with_default_names variant does not use deprecated cd procedure anymore.
 * Use the proper configure argument to disable ACL on Darwin 9, see the
   ChangeLog file for more information.

Modified Paths:
--------------
    trunk/dports/sysutils/coreutils/Portfile

Modified: trunk/dports/sysutils/coreutils/Portfile
===================================================================
--- trunk/dports/sysutils/coreutils/Portfile	2008-01-24 13:51:27 UTC (rev 33351)
+++ trunk/dports/sysutils/coreutils/Portfile	2008-01-24 14:57:37 UTC (rev 33352)
@@ -3,8 +3,7 @@
 PortSystem      1.0
 
 name            coreutils
-version         6.9
-revision        1
+version         6.10
 categories      sysutils
 platforms       darwin
 maintainers     nox openmaintainer
@@ -21,16 +20,15 @@
 
 homepage        http://www.gnu.org/software/${name}/
 master_sites    gnu
-use_bzip2       yes
 
-checksums       md5 c9607d8495f16e98906e7ed2d9751a06 \
-                sha1 10310a78c4e1d9f742f3815ac28e9bf1086a5885 \
-                rmd160 c6ae65204b2e9c234a1140f39a8be1ee5cdcaab7
+checksums       md5 eca0de1bf7389694305d7e52cd76a472 \
+                sha1 f91f16e999dea6097bf555b467066ac931d584e4 \
+                rmd160 bddc507cd9bef5dc7f07c4c51518870b7ac6b3a9
 
-configure.args  --program-prefix=g \
-                --disable-nls
+configure.args  --program-prefix=g
 
-depends_lib     port:libiconv
+depends_lib     port:gettext \
+                port:libiconv
 
 set docdir ${prefix}/share/doc/${name}-${version}
 
@@ -55,28 +53,17 @@
 
 variant with_default_names description {Install files without 'g' prefix} {
     post-destroot {
-        foreach d {bin share/man/man1} {
-            cd ${destroot}${prefix}/$d
-            foreach a [glob g*] {
-                regexp g(.+) $a dummy b
-                file link -hard $b g$b
+        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}
             }
         }
     }
 }
 
-variant nls description {Add NLS support} {
-    configure.args-delete   --disable-nls
-    depends_lib-append      port:gettext
-
-    post-destroot {
-        xinstall -m 0644 ${worksrcpath}/ABOUT-NLS ${destroot}${docdir}
-    }
-}
-
 platform darwin 9 {
-    configure.env-append    jm_cv_func_svid_putenv=yes
-    configure.env-append    ac_cv_header_sys_acl_h=no
+    configure.args-append   --disable-acl
 }
 
 livecheck.check regex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080124/0b4d10a6/attachment.html


More information about the macports-changes mailing list