[82482] trunk/dports/math/pspp-devel/Portfile

snc at macports.org snc at macports.org
Sun Aug 14 07:04:02 PDT 2011


Revision: 82482
          http://trac.macports.org/changeset/82482
Author:   snc at macports.org
Date:     2011-08-14 07:04:00 -0700 (Sun, 14 Aug 2011)
Log Message:
-----------
pspp-devel:
 * clean up default_variant switches
 * remove extraneous dependencies (variants now add them)

Modified Paths:
--------------
    trunk/dports/math/pspp-devel/Portfile

Modified: trunk/dports/math/pspp-devel/Portfile
===================================================================
--- trunk/dports/math/pspp-devel/Portfile	2011-08-14 13:51:58 UTC (rev 82481)
+++ trunk/dports/math/pspp-devel/Portfile	2011-08-14 14:04:00 UTC (rev 82482)
@@ -32,10 +32,6 @@
                     port:zlib \
                     port:libxml2 \
                     port:readline \
-                    port:plotutils \
-                    port:pkgconfig \
-                    port:gtk2 \
-                    port:libglade2 \
                     port:libtool
 
 checksums           rmd160  1dd8f31bd491c83f858b60781cf7b2a23f52b74c \
@@ -58,18 +54,15 @@
 test.target         check
 
 if {[variant_isset no_gui]} {
-    if {[variant_isset no_graph]} {
-        default_variants -gui -graph
-    } else {
-        default_variants -gui +graph
-    }
+    default_variants -gui
 } else {
-    if {[variant_isset no_graph]} {
-        default_variants +gui -graph
-    } else {
-        default_variants +gui +graph
-    }
+    default_variants +gui
 }
+if {[variant_isset no_graph]} {
+    default_variants -graph
+} else {
+    default_variants +graph
+}
 
 variant help requires gui conflicts no_gui description {Provide in-application help via yelp} {
     depends_run-append  port:yelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110814/6aedb05f/attachment.html>


More information about the macports-changes mailing list