[80861] trunk/dports/devel/gdb/Portfile

blair at macports.org blair at macports.org
Tue Jul 19 11:41:00 PDT 2011


Revision: 80861
          http://trac.macports.org/changeset/80861
Author:   blair at macports.org
Date:     2011-07-19 11:41:00 -0700 (Tue, 19 Jul 2011)
Log Message:
-----------
gdb: following the convention of the other GNU ports, rename all the
gdb* info files to ggdb*, but don't do this to any of the other info
files it provides.

Modified Paths:
--------------
    trunk/dports/devel/gdb/Portfile

Modified: trunk/dports/devel/gdb/Portfile
===================================================================
--- trunk/dports/devel/gdb/Portfile	2011-07-19 18:29:46 UTC (rev 80860)
+++ trunk/dports/devel/gdb/Portfile	2011-07-19 18:41:00 UTC (rev 80861)
@@ -5,7 +5,7 @@
 
 name            gdb
 version         7.2
-revision        1
+revision        2
 categories      devel
 maintainers     dweber openmaintainer
 description     GDB: The GNU Project Debugger
@@ -60,7 +60,10 @@
     system "chgrp procmod ${destroot}${prefix}/bin/ggdb*"
     system "chmod g+s ${destroot}${prefix}/bin/ggdb*"
 
-    move ${destroot}${prefix}/share/info/standards.info ${destroot}${prefix}/share/info/gdb-standards.info
+    foreach info [glob -tails -directory ${destroot}${prefix}/share/info g*] {
+        move ${destroot}${prefix}/share/info/${info} ${destroot}${prefix}/share/info/g${info}
+    }
+    move ${destroot}${prefix}/share/info/standards.info ${destroot}${prefix}/share/info/ggdb-standards.info
 
     xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin
     foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110719/a14b2c1e/attachment.html>


More information about the macports-changes mailing list