[72420] trunk/dports/editors/MacVim/Portfile

raimue at macports.org raimue at macports.org
Thu Oct 14 02:30:59 PDT 2010


Revision: 72420
          http://trac.macports.org/changeset/72420
Author:   raimue at macports.org
Date:     2010-10-14 02:30:56 -0700 (Thu, 14 Oct 2010)
Log Message:
-----------
editors/MacVim: reordering phases, no functional changes

Modified Paths:
--------------
    trunk/dports/editors/MacVim/Portfile

Modified: trunk/dports/editors/MacVim/Portfile
===================================================================
--- trunk/dports/editors/MacVim/Portfile	2010-10-14 08:17:54 UTC (rev 72419)
+++ trunk/dports/editors/MacVim/Portfile	2010-10-14 09:30:56 UTC (rev 72420)
@@ -30,11 +30,23 @@
                     port:libiconv \
                     port:ctags
 
+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"
+    }
+}
+
 # github zipball has root folder including commitish, renaming for ease of use
 post-extract {
     file rename [glob ${workpath}/b4winckler-*] ${worksrcpath}
 }
 
+post-patch {
+    reinplace "s|^# VIM_APP_DIR=/Applications$|VIM_APP_DIR=${applications_dir}|" \
+         ${worksrcpath}/src/MacVim/mvim
+}
+
 autoconf.dir ${worksrcpath}/src
 
 configure.args      --enable-gui=macvim \
@@ -44,18 +56,6 @@
                     --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
-}
-
 destroot {
     copy ${worksrcpath}/src/MacVim/build/Release/MacVim.app ${destroot}${applications_dir}
     copy ${worksrcpath}/src/MacVim/mvim ${destroot}${prefix}/bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101014/e087cdb9/attachment.html>


More information about the macports-changes mailing list