[48780] trunk/dports/editors/MacVim/Portfile
raimue at macports.org
raimue at macports.org
Sat Mar 28 14:35:20 PDT 2009
Revision: 48780
http://trac.macports.org/changeset/48780
Author: raimue at macports.org
Date: 2009-03-28 14:35:20 -0700 (Sat, 28 Mar 2009)
Log Message:
-----------
editors/MacVim:
Add ${prefix}/bin/mvim script
Modified Paths:
--------------
trunk/dports/editors/MacVim/Portfile
Modified: trunk/dports/editors/MacVim/Portfile
===================================================================
--- trunk/dports/editors/MacVim/Portfile 2009-03-28 20:09:31 UTC (rev 48779)
+++ trunk/dports/editors/MacVim/Portfile 2009-03-28 21:35:20 UTC (rev 48780)
@@ -7,7 +7,7 @@
set snapshot 43
set gitcommit 4188c92e1310024968326007c0e4612e842ef364
version ${vim_version}.snapshot${snapshot}
-revision 1
+revision 2
categories editors
platforms darwin
maintainers raimue
@@ -41,6 +41,11 @@
use_parallel_build yes
+post-patch {
+ reinplace "s|^# VIM_APP_DIR=/Applications$|VIM_APP_DIR=${applications_dir}|" \
+ ${worksrcpath}/MacVim/mvim
+}
+
post-build {
system "cd ${worksrcpath}/MacVim && xcodebuild"
}
@@ -52,6 +57,7 @@
destroot {
copy ${worksrcpath}/MacVim/build/Release/MacVim.app ${destroot}${applications_dir}
+ copy ${worksrcpath}/MacVim/mvim ${destroot}${prefix}/bin
}
test.run yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090328/5ece3db1/attachment.html>
More information about the macports-changes
mailing list