From: Kazuki Sakamoto Date: Wed, 15 Apr 2009 22:00:16 +0000 (+0900) Subject: macvim support dynamic X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=22cc4c290cc8d52300b9725a1e8bb2a69a90ca98;p=splhack%2FMacPorts.git macvim support dynamic --- diff --git a/editors/macvim/Portfile b/editors/macvim/Portfile index 6d1d218..23d4eaa 100644 --- a/editors/macvim/Portfile +++ b/editors/macvim/Portfile @@ -3,7 +3,7 @@ PortSystem 1.0 name macvim version 20090414 -revision 0 +revision 1 categories editors platforms darwin maintainers nomaintainer @@ -12,11 +12,11 @@ long_description MacVim supports multiple windows with tabbed editing and a host MacVim brings you the full power of Vim to Mac OS X. homepage http://code.google.com/p/macvim-kaoriya/ -set gittag ${version} +set gittag a343a16399e42a88e35343bfb19975ed882f5a7a distname KaoriYa-${gittag} use_zip yes checksums \ - ${distname}.zip sha1 b60ca18813ede2f3d079f8c8dd7bd77b016c0add + ${distname}.zip sha1 1008afdef816131ab5414322855dc84290d89783 master_sites \ "http://repo.or.cz/w/MacVim/KaoriYa.git?a=snapshot;h=${gittag};sf=zip&" worksrcdir KaoriYa/src @@ -75,6 +75,7 @@ post-patch { } post-build { + system "cd ${worksrcpath}/po; make ja_JP.UTF-8.mo" system "cd ${worksrcpath}/MacVim; xcodebuild -configuration ${xcodeconfig}" } @@ -99,6 +100,13 @@ destroot { test.run yes variant standalone description {Enable standalonize} { + configure.env-append PATH="/usr/bin:${env(PATH)}" + configure.cppflags -DDYNAMIC_PERL -DDYNAMIC_PYTHON -DDYNAMIC_RUBY + post-configure { + reinplace "s|^PERL_LIBS|#PERL_LIBS|" ${worksrcpath}/auto/config.mk + reinplace "s|^PYTHON_LIBS|#PYTHON_LIBS|" ${worksrcpath}/auto/config.mk + reinplace "s|^RUBY_LIBS|#RUBY_LIBS|" ${worksrcpath}/auto/config.mk + } post-destroot { foreach dylib {intl.8 iconv.2 migemo.1 ncurses.5} { set libname [lindex [split ${dylib} .] 0]