[102319] trunk/dports/devel/BWToolkit/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Jan 31 01:07:42 PST 2013
Revision: 102319
https://trac.macports.org/changeset/102319
Author: ryandesign at macports.org
Date: 2013-01-31 01:07:42 -0800 (Thu, 31 Jan 2013)
Log Message:
-----------
BWToolkit: allow installation only on OS X 10.5 or 10.6 (#34038)
Modified Paths:
--------------
trunk/dports/devel/BWToolkit/Portfile
Modified: trunk/dports/devel/BWToolkit/Portfile
===================================================================
--- trunk/dports/devel/BWToolkit/Portfile 2013-01-31 08:45:23 UTC (rev 102318)
+++ trunk/dports/devel/BWToolkit/Portfile 2013-01-31 09:07:42 UTC (rev 102319)
@@ -21,3 +21,10 @@
hg.tag 590c12e68e7a
xcode.destroot.type framework
+
+if {${os.platform} == "darwin" && (${os.major} < 9 || ${os.major} > 10)} {
+ pre-fetch {
+ ui_error "${name} ${version} requires OS X 10.5 or 10.6 only; it does not work on earlier or later versions of OS X."
+ return -code error "incompatible OS X version"
+ }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130131/600f4e00/attachment.html>
More information about the macports-changes
mailing list