[99440] trunk/dports/aqua/iTunesMatchHelper/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Nov 5 00:55:41 PST 2012


Revision: 99440
          http://trac.macports.org//changeset/99440
Author:   ryandesign at macports.org
Date:     2012-11-05 00:55:41 -0800 (Mon, 05 Nov 2012)
Log Message:
-----------
iTunesMatchHelper: require OS X 10.7 or greater due to the use of NSJSONSerialization (#36870)

Modified Paths:
--------------
    trunk/dports/aqua/iTunesMatchHelper/Portfile

Modified: trunk/dports/aqua/iTunesMatchHelper/Portfile
===================================================================
--- trunk/dports/aqua/iTunesMatchHelper/Portfile	2012-11-05 07:36:05 UTC (rev 99439)
+++ trunk/dports/aqua/iTunesMatchHelper/Portfile	2012-11-05 08:55:41 UTC (rev 99440)
@@ -26,3 +26,10 @@
 destroot {
     copy ${worksrcpath}/build/Release/iTunesMatchHelper.app ${destroot}${applications_dir}
 }
+
+if {${os.platform} == "darwin" && ${os.major} < 11} {
+    pre-fetch {
+        ui_error "${name} ${version} requires OS X 10.7 or greater."
+        return -code error "incompatible OS X version"
+    }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121105/b46ce4a2/attachment.html>


More information about the macports-changes mailing list