From c9ccdfaf3544ee28107ffcedd67b113aa1461fda Mon Sep 17 00:00:00 2001 From: Kazuki Sakamoto Date: Sun, 5 Apr 2009 23:01:50 +0900 Subject: [PATCH] MacVim 20090405 --- editors/macvim/Portfile | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/editors/macvim/Portfile b/editors/macvim/Portfile index de75b35..6740d8f 100644 --- a/editors/macvim/Portfile +++ b/editors/macvim/Portfile @@ -2,21 +2,21 @@ 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 @@ -69,16 +69,12 @@ post-patch { ${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}" } @@ -91,7 +87,7 @@ set appPath "${destroot}${applications_dir}/MacVim.app/Contents" 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 \ -- 2.11.0