[33412] trunk/dports/aqua/istumbler/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Jan 26 04:51:07 PST 2008


Revision: 33412
          http://trac.macosforge.org/projects/macports/changeset/33412
Author:   ryandesign at macports.org
Date:     2008-01-26 04:50:27 -0800 (Sat, 26 Jan 2008)

Log Message:
-----------
istumbler: This port installs a pre-compiled universal binary from a disk image. (The source is available, but getting it to compile has proven difficult.) The port defines an empty universal variant and selects it by default. Now additionally ensure that this default selection cannot be overridden, since to do so would be inaccurate.

Modified Paths:
--------------
    trunk/dports/aqua/istumbler/Portfile

Modified: trunk/dports/aqua/istumbler/Portfile
===================================================================
--- trunk/dports/aqua/istumbler/Portfile	2008-01-26 12:30:22 UTC (rev 33411)
+++ trunk/dports/aqua/istumbler/Portfile	2008-01-26 12:50:27 UTC (rev 33412)
@@ -60,6 +60,10 @@
 
 variant use_source conflicts use_binary description {Build from source (does not work)} {}
 
-# iStumbler is already universal, so let's advertise that.
+default_variants +universal
 variant universal {}
-default_variants +universal
+pre-fetch {
+	if {![variant_isset universal]} {
+		return -code error "${name} is only available in a universal version"
+	}
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080126/ce0ff79a/attachment.html


More information about the macports-changes mailing list