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

ryandesign at macports.org ryandesign at macports.org
Wed May 27 22:37:47 PDT 2015


Revision: 136831
          https://trac.macports.org/changeset/136831
Author:   ryandesign at macports.org
Date:     2015-05-27 22:37:46 -0700 (Wed, 27 May 2015)
Log Message:
-----------
gnutar: install all gnutar.info files, not just the first three (#47783; maintainer timeout)

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

Modified: trunk/dports/archivers/gnutar/Portfile
===================================================================
--- trunk/dports/archivers/gnutar/Portfile	2015-05-28 05:30:38 UTC (rev 136830)
+++ trunk/dports/archivers/gnutar/Portfile	2015-05-28 05:37:46 UTC (rev 136831)
@@ -4,6 +4,7 @@
 
 name                gnutar
 version             1.27.1
+revision            1
 categories          archivers
 maintainers         mww
 license             GPL-3
@@ -38,9 +39,9 @@
     xinstall -v -W ${worksrcpath} ABOUT-NLS AUTHORS COPYING ChangeLog \
         ChangeLog.1 INSTALL NEWS README THANKS TODO \
         ${destroot}${prefix}/share/doc/${name}
-    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
+    foreach f [glob ${destroot}${prefix}/share/info/tar.info*] {
+        move ${f} [string map {tar.info gnutar.info} ${f}]
+    }
 
     xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin
     ln -sf ${prefix}/bin/gnutar ${destroot}${prefix}/libexec/gnubin/tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150527/f25e10ea/attachment.html>


More information about the macports-changes mailing list