[35886] trunk/dports/python/py-pyobjc/Portfile
jmr at macports.org
jmr at macports.org
Wed Apr 9 04:10:19 PDT 2008
Revision: 35886
http://trac.macosforge.org/projects/macports/changeset/35886
Author: jmr at macports.org
Date: 2008-04-09 04:10:18 -0700 (Wed, 09 Apr 2008)
Log Message:
-----------
py-pyobjc: error out on 10.5+
Modified Paths:
--------------
trunk/dports/python/py-pyobjc/Portfile
Modified: trunk/dports/python/py-pyobjc/Portfile
===================================================================
--- trunk/dports/python/py-pyobjc/Portfile 2008-04-09 11:08:22 UTC (rev 35885)
+++ trunk/dports/python/py-pyobjc/Portfile 2008-04-09 11:10:18 UTC (rev 35886)
@@ -22,6 +22,12 @@
distname pyobjc-${version}
checksums sha1 6f83b13b78e19f390709eaedf3004c81d983dc5d
+if {${os.major} > 8} {
+ pre-fetch {
+ return -code error "PyObjC 1.4 only works on Mac OS X 10.4 and lower."
+ }
+}
+
post-destroot {
xinstall -m 644 -W ${worksrcpath} HISTORIC.txt Install.html Install.txt \
License.txt NEWS.html NEWS.txt README.txt ReadMe.html \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080409/33d95134/attachment-0001.html
More information about the macports-changes
mailing list