PortSystem 1.0
name macvim
-version 20100125
+version 20100315
revision 0
categories editors
platforms darwin
distname KaoriYa-${gittag}
use_zip yes
checksums ${distname}.zip sha1 \
- 2f46b740f70b178f858b8b275f883c9916541a4d
+ 0229c044385ff5cae4f5cbdcc4f44fe7dafb7a8a
master_sites \
"http://repo.or.cz/w/MacVim/KaoriYa.git?a=snapshot;h=${gittag};sf=zip&"
worksrcdir KaoriYa/src
depends_lib-append port:vimproc port:clewn
configure.env-append PATH="/usr/bin:${env(PATH)}"
configure.cppflags-append -DDYNAMIC_PERL -DDYNAMIC_PYTHON -DDYNAMIC_RUBY
+ pre-extract {
+ if {[catch {system "port installed|grep -e \" ruby @.*(active)\" -e \" perl5 @.*(active)\" -e \" perl5.8 @.*(active)\""} result]} {} else {
+ return -code error "perl or ruby is activated"
+ }
+ }
post-configure {
reinplace "s|^PERL_LIBS|#PERL_LIBS|" ${worksrcpath}/auto/config.mk
reinplace "s|^PYTHON_LIBS|#PYTHON_LIBS|" ${worksrcpath}/auto/config.mk