[92478] trunk/dports

ryandesign at macports.org ryandesign at macports.org
Sun Apr 29 16:29:07 PDT 2012


Revision: 92478
          https://trac.macports.org/changeset/92478
Author:   ryandesign at macports.org
Date:     2012-04-29 16:29:03 -0700 (Sun, 29 Apr 2012)
Log Message:
-----------
freeciv, pure, simutrans: use "if {${name} == ${subport}}" instead of "subport ${name}" so that all subports get indexed properly; similar to #33773

Modified Paths:
--------------
    trunk/dports/games/freeciv/Portfile
    trunk/dports/games/simutrans/Portfile
    trunk/dports/lang/pure/Portfile

Modified: trunk/dports/games/freeciv/Portfile
===================================================================
--- trunk/dports/games/freeciv/Portfile	2012-04-29 22:18:51 UTC (rev 92477)
+++ trunk/dports/games/freeciv/Portfile	2012-04-29 23:29:03 UTC (rev 92478)
@@ -35,7 +35,7 @@
                     --mandir=${prefix}/share/man --with-sdl-prefix=${prefix} \
                     --disable-sdltest
 
-subport freeciv {
+if {${name} == ${subport}} {
     conflicts               freeciv-x11
     
     platforms               macosx

Modified: trunk/dports/games/simutrans/Portfile
===================================================================
--- trunk/dports/games/simutrans/Portfile	2012-04-29 22:18:51 UTC (rev 92477)
+++ trunk/dports/games/simutrans/Portfile	2012-04-29 23:29:03 UTC (rev 92478)
@@ -27,7 +27,7 @@
 
 set data_dir        ${prefix}/share/${name}
 
-subport simutrans {
+if {${name} == ${subport}} {
     PortGroup           app 1.0
     
     revision            1

Modified: trunk/dports/lang/pure/Portfile
===================================================================
--- trunk/dports/lang/pure/Portfile	2012-04-29 22:18:51 UTC (rev 92477)
+++ trunk/dports/lang/pure/Portfile	2012-04-29 23:29:03 UTC (rev 92478)
@@ -38,7 +38,7 @@
 set llvm_prefix         ${prefix}/libexec/llvm-${llvm_version}
 configure.env           PATH=${llvm_prefix}/bin:$env(PATH)
 
-subport pure {
+if {${name} == ${subport}} {
     depends_lib                 port:gmp \
                                 port:libiconv \
                                 port:libtool \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120429/234ef66b/attachment.html>


More information about the macports-changes mailing list