• R/O
  • HTTP
  • SSH
  • HTTPS

MacPorts: Commit

My MacPorts


Commit MetaInfo

Revision22cc4c290cc8d52300b9725a1e8bb2a69a90ca98 (tree)
Time2009-04-16 07:00:16
AuthorKazuki Sakamoto <sakamoto@splh...>
CommiterKazuki Sakamoto

Log Message

macvim support dynamic

Change Summary

Incremental Difference

--- a/editors/macvim/Portfile
+++ b/editors/macvim/Portfile
@@ -3,7 +3,7 @@ PortSystem 1.0
33
44 name macvim
55 version 20090414
6-revision 0
6+revision 1
77 categories editors
88 platforms darwin
99 maintainers nomaintainer
@@ -12,11 +12,11 @@ long_description MacVim supports multiple windows with tabbed editing and a host
1212 MacVim brings you the full power of Vim to Mac OS X.
1313 homepage http://code.google.com/p/macvim-kaoriya/
1414
15-set gittag ${version}
15+set gittag a343a16399e42a88e35343bfb19975ed882f5a7a
1616 distname KaoriYa-${gittag}
1717 use_zip yes
1818 checksums \
19- ${distname}.zip sha1 b60ca18813ede2f3d079f8c8dd7bd77b016c0add
19+ ${distname}.zip sha1 1008afdef816131ab5414322855dc84290d89783
2020 master_sites \
2121 "http://repo.or.cz/w/MacVim/KaoriYa.git?a=snapshot;h=${gittag};sf=zip&"
2222 worksrcdir KaoriYa/src
@@ -75,6 +75,7 @@ post-patch {
7575 }
7676
7777 post-build {
78+ system "cd ${worksrcpath}/po; make ja_JP.UTF-8.mo"
7879 system "cd ${worksrcpath}/MacVim; xcodebuild -configuration ${xcodeconfig}"
7980 }
8081
@@ -99,6 +100,13 @@ destroot {
99100 test.run yes
100101
101102 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+ }
102110 post-destroot {
103111 foreach dylib {intl.8 iconv.2 migemo.1 ncurses.5} {
104112 set libname [lindex [split ${dylib} .] 0]
Show on old repository browser