リビジョン | 22cc4c290cc8d52300b9725a1e8bb2a69a90ca98 (tree) |
---|---|
日時 | 2009-04-16 07:00:16 |
作者 | Kazuki Sakamoto <sakamoto@splh...> |
コミッター | Kazuki Sakamoto |
macvim support dynamic
@@ -3,7 +3,7 @@ PortSystem 1.0 | ||
3 | 3 | |
4 | 4 | name macvim |
5 | 5 | version 20090414 |
6 | -revision 0 | |
6 | +revision 1 | |
7 | 7 | categories editors |
8 | 8 | platforms darwin |
9 | 9 | maintainers nomaintainer |
@@ -12,11 +12,11 @@ long_description MacVim supports multiple windows with tabbed editing and a host | ||
12 | 12 | MacVim brings you the full power of Vim to Mac OS X. |
13 | 13 | homepage http://code.google.com/p/macvim-kaoriya/ |
14 | 14 | |
15 | -set gittag ${version} | |
15 | +set gittag a343a16399e42a88e35343bfb19975ed882f5a7a | |
16 | 16 | distname KaoriYa-${gittag} |
17 | 17 | use_zip yes |
18 | 18 | checksums \ |
19 | - ${distname}.zip sha1 b60ca18813ede2f3d079f8c8dd7bd77b016c0add | |
19 | + ${distname}.zip sha1 1008afdef816131ab5414322855dc84290d89783 | |
20 | 20 | master_sites \ |
21 | 21 | "http://repo.or.cz/w/MacVim/KaoriYa.git?a=snapshot;h=${gittag};sf=zip&" |
22 | 22 | worksrcdir KaoriYa/src |
@@ -75,6 +75,7 @@ post-patch { | ||
75 | 75 | } |
76 | 76 | |
77 | 77 | post-build { |
78 | + system "cd ${worksrcpath}/po; make ja_JP.UTF-8.mo" | |
78 | 79 | system "cd ${worksrcpath}/MacVim; xcodebuild -configuration ${xcodeconfig}" |
79 | 80 | } |
80 | 81 |
@@ -99,6 +100,13 @@ destroot { | ||
99 | 100 | test.run yes |
100 | 101 | |
101 | 102 | variant standalone description {Enable standalonize} { |
103 | + configure.env-append PATH="/usr/bin:${env(PATH)}" | |
104 | + configure.cppflags -DDYNAMIC_PERL -DDYNAMIC_PYTHON -DDYNAMIC_RUBY | |
105 | + post-configure { | |
106 | + reinplace "s|^PERL_LIBS|#PERL_LIBS|" ${worksrcpath}/auto/config.mk | |
107 | + reinplace "s|^PYTHON_LIBS|#PYTHON_LIBS|" ${worksrcpath}/auto/config.mk | |
108 | + reinplace "s|^RUBY_LIBS|#RUBY_LIBS|" ${worksrcpath}/auto/config.mk | |
109 | + } | |
102 | 110 | post-destroot { |
103 | 111 | foreach dylib {intl.8 iconv.2 migemo.1 ncurses.5} { |
104 | 112 | set libname [lindex [split ${dylib} .] 0] |