[56938] trunk/dports/multimedia/quickascii/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Sep 3 10:24:27 PDT 2009
Revision: 56938
http://trac.macports.org/changeset/56938
Author: ryandesign at macports.org
Date: 2009-09-03 10:24:27 -0700 (Thu, 03 Sep 2009)
Log Message:
-----------
quickascii: revise error message added in r56937 so that it occurs before the distfile is fetched, and so that it occurs on 10.6 and later (not just 10.6); see #21058
Revision Links:
--------------
http://trac.macports.org/changeset/56937
Modified Paths:
--------------
trunk/dports/multimedia/quickascii/Portfile
Modified: trunk/dports/multimedia/quickascii/Portfile
===================================================================
--- trunk/dports/multimedia/quickascii/Portfile 2009-09-03 17:20:04 UTC (rev 56937)
+++ trunk/dports/multimedia/quickascii/Portfile 2009-09-03 17:24:27 UTC (rev 56938)
@@ -38,8 +38,13 @@
livecheck.distname ${name}-all
-platform darwin 10 {
- pre-configure {
- return -code error "This port is not supported on Mac OS X 10.6 or newer."
+pre-fetch {
+ if {"darwin" != ${os.platform}} {
+ ui_error "${name} requires Mac OS X."
+ return -code error "incompatible operating system"
}
+ if {${os.major} > 9} {
+ ui_error "${name} ${version} is not compatible with Mac OS X 10.6 or later."
+ return -code error "incompatible Mac OS X version"
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090903/4defb14c/attachment.html>
More information about the macports-changes
mailing list