[33411] trunk/dports/sysutils/isightcapture/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Jan 26 04:30:33 PST 2008
Revision: 33411
http://trac.macosforge.org/projects/macports/changeset/33411
Author: ryandesign at macports.org
Date: 2008-01-26 04:30:22 -0800 (Sat, 26 Jan 2008)
Log Message:
-----------
isightcapture: This port installs a pre-compiled universal binary from a disk image. (No source was available.) 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/sysutils/isightcapture/Portfile
Modified: trunk/dports/sysutils/isightcapture/Portfile
===================================================================
--- trunk/dports/sysutils/isightcapture/Portfile 2008-01-26 11:55:48 UTC (rev 33410)
+++ trunk/dports/sysutils/isightcapture/Portfile 2008-01-26 12:30:22 UTC (rev 33411)
@@ -46,9 +46,13 @@
file delete -force ${dmg_mount}
}
-# iSightCapture is already 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.version ${version2}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080126/0179aae8/attachment.html
More information about the macports-changes
mailing list