PortSystem 1.0
name macvim
-version 7.2.148
-revision 1
+version 20090405
+revision 0
categories editors
platforms darwin
maintainers nomaintainer
description MacVim is a port of the text editor Vim to Mac OS X.
long_description MacVim supports multiple windows with tabbed editing and a host of other features. \
MacVim brings you the full power of Vim to Mac OS X.
-homepage http://code.google.com/p/macvim/
+homepage http://code.google.com/p/macvim-kaoriya/
-set gittag a3824cb1356c9f85f592ce13486d11b00bf3640c
+set gittag 20090405
distname KaoriYa-${gittag}
use_zip yes
checksums \
- ${distname}.zip sha1 a0a0e4570589637cf47535b99bdd47ecd0ea5529
+ ${distname}.zip sha1 342499bc25d5c4abff9a1cee8b9fb01371cf7724
master_sites \
"http://repo.or.cz/w/MacVim/KaoriYa.git?a=snapshot;h=${gittag};sf=zip&"
worksrcdir KaoriYa/src
${worksrcpath}/MacVim/mvim
}
-pre-configure {
- system "make autoconf"
+if {[variant_isset universal]} {
+ set xcodeconfig Universal
+} else {
+ set xcodeconfig Release
}
-
post-build {
- if {[variant_isset universal]} {
- set xcodeconfig Universal
- } else {
- set xcodeconfig Release
- }
system "cd ${worksrcpath}/MacVim; xcodebuild -configuration ${xcodeconfig}"
}
set runtimePath "${appPath}/Resources/vim/runtime"
destroot {
- file copy ${worksrcpath}/MacVim/build/Release/MacVim.app ${destroot}${applications_dir}
+ file copy ${worksrcpath}/MacVim/build/${xcodeconfig}/MacVim.app ${destroot}${applications_dir}
xinstall -m 755 ${worksrcpath}/MacVim/mvim ${destroot}${prefix}/bin
xinstall -d 755 ${runtimePath}/lang/ja/LC_MESSAGES
xinstall -m 644 ${worksrcpath}/po/ja.mo \