[128479] trunk/dports/aqua/pinentry-mac/Portfile

ionic at macports.org ionic at macports.org
Fri Nov 21 18:41:36 PST 2014


Revision: 128479
          https://trac.macports.org/changeset/128479
Author:   ionic at macports.org
Date:     2014-11-21 18:41:35 -0800 (Fri, 21 Nov 2014)
Log Message:
-----------
pinentry-mac: partitially revert 520bdefedf/r128395. Bring back OS version selector not covered by xcodeversion PortGroup.

Revision Links:
--------------
    https://trac.macports.org/changeset/128395

Modified Paths:
--------------
    trunk/dports/aqua/pinentry-mac/Portfile

Modified: trunk/dports/aqua/pinentry-mac/Portfile
===================================================================
--- trunk/dports/aqua/pinentry-mac/Portfile	2014-11-22 02:18:18 UTC (rev 128478)
+++ trunk/dports/aqua/pinentry-mac/Portfile	2014-11-22 02:41:35 UTC (rev 128479)
@@ -29,6 +29,14 @@
 # xcodeproject has been created with Xcode 5 which is only available on 10.8 and up.
 minimum_xcodeversions   {12 5.0}
 
+pre-fetch {
+    if {${os.major} < 12} {
+        ui_error    "This package is only compatible with Xcode 5 and up.
+                     Xcode 5 and up is not compatible with 10.7 and below."
+        error       "Unsupported operating system."
+    }
+}
+
 platform macosx {
     notes   "
              If you previously didn't have pinentry or gpg-agent installed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141121/5c3eca12/attachment.html>


More information about the macports-changes mailing list