[57932] trunk/dports/archivers/gnutar/Portfile

mww at macports.org mww at macports.org
Fri Sep 18 23:15:56 PDT 2009


Revision: 57932
          http://trac.macports.org/changeset/57932
Author:   mww at macports.org
Date:     2009-09-18 23:15:52 -0700 (Fri, 18 Sep 2009)
Log Message:
-----------
remove variant 'with_default_names' and place a not gnu-prefixed version of gnutar in ${prefix}/libexec/gnubin (as discussed on @macports-dev);
increment revision (as this changes the default installation)

Modified Paths:
--------------
    trunk/dports/archivers/gnutar/Portfile

Modified: trunk/dports/archivers/gnutar/Portfile
===================================================================
--- trunk/dports/archivers/gnutar/Portfile	2009-09-19 04:53:46 UTC (rev 57931)
+++ trunk/dports/archivers/gnutar/Portfile	2009-09-19 06:15:52 UTC (rev 57932)
@@ -4,6 +4,7 @@
 
 name                gnutar
 version             1.22
+revision            1
 categories          archivers
 maintainers         mww
 description         tar version of the GNU project
@@ -38,19 +39,11 @@
     file rename ${destroot}${prefix}/share/info/tar.info ${destroot}${prefix}/share/info/gnutar.info
     file rename ${destroot}${prefix}/share/info/tar.info-1 ${destroot}${prefix}/share/info/gnutar.info-1
     file rename ${destroot}${prefix}/share/info/tar.info-2 ${destroot}${prefix}/share/info/gnutar.info-2
-}
 
-variant with_default_names description {Install files without 'gnu' prefix} {
-    post-destroot {
-        foreach {d} {bin libexec share/info} {
-            foreach {f} [glob -tails -directory ${destroot}${prefix}/${d} gnu*] {
-                ln -sf ${prefix}/${d}/${f} ${destroot}${prefix}/${d}/[string range ${f} 3 end]
-            }
-        }
-    }
+    xinstall -m 755 -d ${destroot}/${prefix}/libexec/gnubin
+    ln -sf ${prefix}/bin/gnutar ${destroot}${prefix}/libexec/gnubin/tar
 }
 
-
 livecheck.type	regex
 livecheck.url	http://ftp.gnu.org/gnu/tar/?C=M&O=D
 livecheck.regex	tar-(\[0-9\.\]+\[0-9\])\\.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090918/8b31b94c/attachment.html>


More information about the macports-changes mailing list