[112575] trunk/dports/sysutils/tag/Portfile

jberry at macports.org jberry at macports.org
Sat Oct 26 12:59:52 PDT 2013


Revision: 112575
          https://trac.macports.org/changeset/112575
Author:   jberry at macports.org
Date:     2013-10-26 12:59:51 -0700 (Sat, 26 Oct 2013)
Log Message:
-----------
tag: Error out of fetch with a message if not on Mavericks

Modified Paths:
--------------
    trunk/dports/sysutils/tag/Portfile

Modified: trunk/dports/sysutils/tag/Portfile
===================================================================
--- trunk/dports/sysutils/tag/Portfile	2013-10-26 19:30:32 UTC (rev 112574)
+++ trunk/dports/sysutils/tag/Portfile	2013-10-26 19:59:51 UTC (rev 112575)
@@ -23,3 +23,10 @@
 
 use_configure       no
 destroot.args       prefix=${prefix}
+
+pre-fetch {
+    if { ${os.major} < 13 } {
+        ui_error "${name} requires OS X 10.9/Mavericks or newer"
+        return -code error "Unsupported OS X version"
+    }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131026/adcb06bf/attachment.html>


More information about the macports-changes mailing list