OSDN Git Service

macvim 20100315
authorKazuki Sakamoto <sakamoto@splhack.org>
Sun, 14 Mar 2010 21:43:45 +0000 (06:43 +0900)
committerKazuki Sakamoto <sakamoto@splhack.org>
Sun, 14 Mar 2010 21:43:45 +0000 (06:43 +0900)
editors/macvim/Portfile

index b048712..88f5318 100644 (file)
@@ -2,7 +2,7 @@
 PortSystem     1.0
 
 name                           macvim
-version                                20100125
+version                                20100315
 revision                       0
 categories                     editors
 platforms                      darwin
@@ -16,7 +16,7 @@ set gittag                    ${version}
 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
@@ -88,6 +88,11 @@ variant standalone description {Enable standalonize} {
        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