My MacPorts
Revision | c9ccdfaf3544ee28107ffcedd67b113aa1461fda (tree) |
---|---|
Time | 2009-04-05 23:01:50 |
Author | Kazuki Sakamoto <sakamoto@splh...> |
Commiter | Kazuki Sakamoto |
MacVim 20090405
@@ -2,21 +2,21 @@ | ||
2 | 2 | PortSystem 1.0 |
3 | 3 | |
4 | 4 | name macvim |
5 | -version 7.2.148 | |
6 | -revision 1 | |
5 | +version 20090405 | |
6 | +revision 0 | |
7 | 7 | categories editors |
8 | 8 | platforms darwin |
9 | 9 | maintainers nomaintainer |
10 | 10 | description MacVim is a port of the text editor Vim to Mac OS X. |
11 | 11 | long_description MacVim supports multiple windows with tabbed editing and a host of other features. \ |
12 | 12 | MacVim brings you the full power of Vim to Mac OS X. |
13 | -homepage http://code.google.com/p/macvim/ | |
13 | +homepage http://code.google.com/p/macvim-kaoriya/ | |
14 | 14 | |
15 | -set gittag a3824cb1356c9f85f592ce13486d11b00bf3640c | |
15 | +set gittag 20090405 | |
16 | 16 | distname KaoriYa-${gittag} |
17 | 17 | use_zip yes |
18 | 18 | checksums \ |
19 | - ${distname}.zip sha1 a0a0e4570589637cf47535b99bdd47ecd0ea5529 | |
19 | + ${distname}.zip sha1 342499bc25d5c4abff9a1cee8b9fb01371cf7724 | |
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 |
@@ -69,16 +69,12 @@ post-patch { | ||
69 | 69 | ${worksrcpath}/MacVim/mvim |
70 | 70 | } |
71 | 71 | |
72 | -pre-configure { | |
73 | - system "make autoconf" | |
72 | +if {[variant_isset universal]} { | |
73 | + set xcodeconfig Universal | |
74 | +} else { | |
75 | + set xcodeconfig Release | |
74 | 76 | } |
75 | - | |
76 | 77 | post-build { |
77 | - if {[variant_isset universal]} { | |
78 | - set xcodeconfig Universal | |
79 | - } else { | |
80 | - set xcodeconfig Release | |
81 | - } | |
82 | 78 | system "cd ${worksrcpath}/MacVim; xcodebuild -configuration ${xcodeconfig}" |
83 | 79 | } |
84 | 80 |
@@ -91,7 +87,7 @@ set appPath "${destroot}${applications_dir}/MacVim.app/Contents" | ||
91 | 87 | set runtimePath "${appPath}/Resources/vim/runtime" |
92 | 88 | |
93 | 89 | destroot { |
94 | - file copy ${worksrcpath}/MacVim/build/Release/MacVim.app ${destroot}${applications_dir} | |
90 | + file copy ${worksrcpath}/MacVim/build/${xcodeconfig}/MacVim.app ${destroot}${applications_dir} | |
95 | 91 | xinstall -m 755 ${worksrcpath}/MacVim/mvim ${destroot}${prefix}/bin |
96 | 92 | xinstall -d 755 ${runtimePath}/lang/ja/LC_MESSAGES |
97 | 93 | xinstall -m 644 ${worksrcpath}/po/ja.mo \ |