My MacPorts
Revision | ba7f1713f79608521a8f55a1f6ab8f59eb31b94d (tree) |
---|---|
Time | 2010-03-15 06:43:45 |
Author | Kazuki Sakamoto <sakamoto@splh...> |
Commiter | Kazuki Sakamoto |
macvim 20100315
@@ -2,7 +2,7 @@ | ||
2 | 2 | PortSystem 1.0 |
3 | 3 | |
4 | 4 | name macvim |
5 | -version 20100125 | |
5 | +version 20100315 | |
6 | 6 | revision 0 |
7 | 7 | categories editors |
8 | 8 | platforms darwin |
@@ -16,7 +16,7 @@ set gittag ${version} | ||
16 | 16 | distname KaoriYa-${gittag} |
17 | 17 | use_zip yes |
18 | 18 | checksums ${distname}.zip sha1 \ |
19 | - 2f46b740f70b178f858b8b275f883c9916541a4d | |
19 | + 0229c044385ff5cae4f5cbdcc4f44fe7dafb7a8a | |
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 |
@@ -88,6 +88,11 @@ variant standalone description {Enable standalonize} { | ||
88 | 88 | depends_lib-append port:vimproc port:clewn |
89 | 89 | configure.env-append PATH="/usr/bin:${env(PATH)}" |
90 | 90 | configure.cppflags-append -DDYNAMIC_PERL -DDYNAMIC_PYTHON -DDYNAMIC_RUBY |
91 | + pre-extract { | |
92 | + if {[catch {system "port installed|grep -e \" ruby @.*(active)\" -e \" perl5 @.*(active)\" -e \" perl5.8 @.*(active)\""} result]} {} else { | |
93 | + return -code error "perl or ruby is activated" | |
94 | + } | |
95 | + } | |
91 | 96 | post-configure { |
92 | 97 | reinplace "s|^PERL_LIBS|#PERL_LIBS|" ${worksrcpath}/auto/config.mk |
93 | 98 | reinplace "s|^PYTHON_LIBS|#PYTHON_LIBS|" ${worksrcpath}/auto/config.mk |