[125020] trunk/dports/devel/nu2/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Sep 2 17:04:52 PDT 2014
Revision: 125020
https://trac.macports.org/changeset/125020
Author: ryandesign at macports.org
Date: 2014-09-02 17:04:52 -0700 (Tue, 02 Sep 2014)
Log Message:
-----------
nu2: clean up OS version detection code
Modified Paths:
--------------
trunk/dports/devel/nu2/Portfile
Modified: trunk/dports/devel/nu2/Portfile
===================================================================
--- trunk/dports/devel/nu2/Portfile 2014-09-02 23:58:34 UTC (rev 125019)
+++ trunk/dports/devel/nu2/Portfile 2014-09-03 00:04:52 UTC (rev 125020)
@@ -9,7 +9,7 @@
maintainers nomaintainer
license Apache-2
conflicts nu
-description Nu is an interpreted object-oriented lisp-like language written in Objective-C. From version 2 Nu targets only from 10.7 onward.
+description Nu is an interpreted object-oriented lisp-like language written in Objective-C.
long_description \
Nu is an interpreted object-oriented language. \
It uses a Lisp-style grammar, but is semantically closer to Ruby than to Lisp. \
@@ -37,8 +37,12 @@
port:pcre \
port:libedit
-pre-fetch {
- if {${os.major} < 11} then { error "Nu 2 requires Lion" }
+platform darwin {
+ if {${os.major} < 11} {
+ pre-fetch {
+ return -code error "${subport} @${version} requires OS X 10.7 Lion or later"
+ }
+ }
}
patchfiles patch-tools_nuke.diff \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140902/d05c00e6/attachment.html>
More information about the macports-changes
mailing list