[33413] trunk/dports

ryandesign at macports.org ryandesign at macports.org
Sat Jan 26 04:57:25 PST 2008


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

Log Message:
-----------
These ports build from source but build a universal version by default, and no effort has yet been expended to change this. 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/BwanaDik/Portfile
    trunk/dports/aqua/CosmicDebris/Portfile
    trunk/dports/aqua/NicePlayer/Portfile
    trunk/dports/aqua/X-MasTree/Portfile
    trunk/dports/aqua/binclocken/Portfile
    trunk/dports/aqua/osxvnc/Portfile
    trunk/dports/sysutils/sleepwatcher/Portfile

Modified: trunk/dports/aqua/BwanaDik/Portfile
===================================================================
--- trunk/dports/aqua/BwanaDik/Portfile	2008-01-26 12:50:27 UTC (rev 33412)
+++ trunk/dports/aqua/BwanaDik/Portfile	2008-01-26 12:56:28 UTC (rev 33413)
@@ -40,6 +40,10 @@
 			file copy "${worksrcpath}/${appdir}/${name}.app" ${appPath}
 			}
 
-# BwanaDik already builds universal, so let's advertise that.
 default_variants +universal
 variant universal {}
+pre-fetch {
+	if {![variant_isset universal]} {
+		return -code error "${name} is only available in a universal version"
+	}
+}

Modified: trunk/dports/aqua/CosmicDebris/Portfile
===================================================================
--- trunk/dports/aqua/CosmicDebris/Portfile	2008-01-26 12:50:27 UTC (rev 33412)
+++ trunk/dports/aqua/CosmicDebris/Portfile	2008-01-26 12:56:28 UTC (rev 33413)
@@ -43,6 +43,10 @@
 			file copy "${worksrcpath}/${appdir}/Cosmic Debris.app" ${appPath}
 			}
 
-# CosmicDebris already builds universal, so let's advertise that.
 default_variants +universal
 variant universal {}
+pre-fetch {
+	if {![variant_isset universal]} {
+		return -code error "${name} is only available in a universal version"
+	}
+}

Modified: trunk/dports/aqua/NicePlayer/Portfile
===================================================================
--- trunk/dports/aqua/NicePlayer/Portfile	2008-01-26 12:50:27 UTC (rev 33412)
+++ trunk/dports/aqua/NicePlayer/Portfile	2008-01-26 12:56:28 UTC (rev 33413)
@@ -66,6 +66,10 @@
                               ${destroot}/Applications/MacPorts/
 }
 
-# NicePlayer always builds universal, so let's advertise that.
 default_variants +universal
 variant universal {}
+pre-fetch {
+	if {![variant_isset universal]} {
+		return -code error "${name} is only available in a universal version"
+	}
+}

Modified: trunk/dports/aqua/X-MasTree/Portfile
===================================================================
--- trunk/dports/aqua/X-MasTree/Portfile	2008-01-26 12:50:27 UTC (rev 33412)
+++ trunk/dports/aqua/X-MasTree/Portfile	2008-01-26 12:56:28 UTC (rev 33413)
@@ -35,6 +35,10 @@
 			file copy "${worksrcpath}/build/Release/${name}.app" ${appPath}
 			}
 
-# X-MasTree already builds universal, so let's advertise that.
 default_variants +universal
 variant universal {}
+pre-fetch {
+	if {![variant_isset universal]} {
+		return -code error "${name} is only available in a universal version"
+	}
+}

Modified: trunk/dports/aqua/binclocken/Portfile
===================================================================
--- trunk/dports/aqua/binclocken/Portfile	2008-01-26 12:50:27 UTC (rev 33412)
+++ trunk/dports/aqua/binclocken/Portfile	2008-01-26 12:56:28 UTC (rev 33413)
@@ -38,6 +38,10 @@
         file copy ${worksrcpath}/build/Deployment/BinClocken.app ${appPath}/BinClocken.app
 }
 
-# binclocken already builds universal, so let's advertise that.
 default_variants +universal
 variant universal {}
+pre-fetch {
+	if {![variant_isset universal]} {
+		return -code error "${name} is only available in a universal version"
+	}
+}

Modified: trunk/dports/aqua/osxvnc/Portfile
===================================================================
--- trunk/dports/aqua/osxvnc/Portfile	2008-01-26 12:50:27 UTC (rev 33412)
+++ trunk/dports/aqua/osxvnc/Portfile	2008-01-26 12:56:28 UTC (rev 33413)
@@ -28,9 +28,13 @@
 patchfiles \
 	patch-project.pbxproj
 
-# Vine Server always builds universal, so let's advertise that.
 default_variants +universal
 variant universal {}
+pre-fetch {
+	if {![variant_isset universal]} {
+		return -code error "${name} is only available in a universal version"
+	}
+}
 
 livecheck.check     sourceforge
 livecheck.regex     {<title>Vine Server\(OSXvnc\) Version (.*) released.*</title>}

Modified: trunk/dports/sysutils/sleepwatcher/Portfile
===================================================================
--- trunk/dports/sysutils/sleepwatcher/Portfile	2008-01-26 12:50:27 UTC (rev 33412)
+++ trunk/dports/sysutils/sleepwatcher/Portfile	2008-01-26 12:56:28 UTC (rev 33413)
@@ -53,9 +53,13 @@
 	}
 }
 
-# SleepWatcher always builds universal, so let's advertise that.
 default_variants +universal
 variant universal {}
+pre-fetch {
+	if {![variant_isset universal]} {
+		return -code error "${name} is only available in a universal version"
+	}
+}
 
 livecheck.check     regex
 livecheck.regex     ${name}_(\[0-9.\]+)\\.dmg

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


More information about the macports-changes mailing list