[66751] trunk/dports/editors/MacVim/Portfile
raimue at macports.org
raimue at macports.org
Wed Apr 21 18:26:27 PDT 2010
Revision: 66751
http://trac.macports.org/changeset/66751
Author: raimue at macports.org
Date: 2010-04-21 18:26:26 -0700 (Wed, 21 Apr 2010)
Log Message:
-----------
editors/MacVim: flag as incompatible for <10.5
Modified Paths:
--------------
trunk/dports/editors/MacVim/Portfile
Modified: trunk/dports/editors/MacVim/Portfile
===================================================================
--- trunk/dports/editors/MacVim/Portfile 2010-04-22 01:23:07 UTC (rev 66750)
+++ trunk/dports/editors/MacVim/Portfile 2010-04-22 01:26:26 UTC (rev 66751)
@@ -40,6 +40,13 @@
--with-tlib=ncurses \
--enable-multibyte
+pre-fetch {
+ if {${os.platform} == "darwin" && ${os.major} < 9} {
+ ui_error "${name} does only run on Mac OS X 10.5 or greater."
+ return -code error "incompatible Mac OS X version"
+ }
+}
+
post-patch {
reinplace "s|^# VIM_APP_DIR=/Applications$|VIM_APP_DIR=${applications_dir}|" \
${worksrcpath}/src/MacVim/mvim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100421/9bb1b721/attachment.html>
More information about the macports-changes
mailing list