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

ionic at macports.org ionic at macports.org
Thu Nov 20 10:25:33 PST 2014


Revision: 128395
          https://trac.macports.org/changeset/128395
Author:   ionic at macports.org
Date:     2014-11-20 10:25:33 -0800 (Thu, 20 Nov 2014)
Log Message:
-----------
pinentry-mac: remove manual check, use xcodeversion PortGroup to enforce 10.8+ and Xcode 5 needed by the xcodeproject.

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

Modified: trunk/dports/aqua/pinentry-mac/Portfile
===================================================================
--- trunk/dports/aqua/pinentry-mac/Portfile	2014-11-20 18:25:11 UTC (rev 128394)
+++ trunk/dports/aqua/pinentry-mac/Portfile	2014-11-20 18:25:33 UTC (rev 128395)
@@ -4,6 +4,7 @@
 PortSystem              1.0
 PortGroup               github 1.0
 PortGroup               xcode 1.0
+PortGroup               xcodeversion 1.0
 
 github.setup            GPGTools pinentry-mac 0.8.1 v
 revision                1
@@ -25,14 +26,8 @@
 supported_archs         x86_64
 installs_libs           no
 
-pre-fetch {
-    if {${os.major} < 12} {
-        ui_error    "This software utilizes ARC, which is only available on 10.7 and later.
-                     Additionally, the package itself is only compatible with Xcode 5 and up
-                     not compatible with 10.7 and below."
-        error       "Unsupported operating system."
-    }
-}
+# xcodeproject has been created with Xcode 5 which is only available on 10.8 and up.
+minimum_xcodeversions   {12 5.0}
 
 platform macosx {
     notes   "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141120/18efe18d/attachment.html>


More information about the macports-changes mailing list