OSDN Git Service

MacVim 20090405
authorKazuki Sakamoto <sakamoto@splhack.org>
Sun, 5 Apr 2009 14:01:50 +0000 (23:01 +0900)
committerKazuki Sakamoto <sakamoto@splhack.org>
Sun, 5 Apr 2009 14:01:50 +0000 (23:01 +0900)
editors/macvim/Portfile

index de75b35..6740d8f 100644 (file)
@@ -2,21 +2,21 @@
 PortSystem     1.0
 
 name                           macvim
 PortSystem     1.0
 
 name                           macvim
-version                                7.2.148
-revision                       1
+version                                20090405
+revision                       0
 categories                     editors
 platforms                      darwin
 maintainers                    nomaintainer
 description                    MacVim is a port of the text editor Vim to Mac OS X.
 long_description       MacVim supports multiple windows with tabbed editing and a host of other features. \
                                        MacVim brings you the full power of Vim to Mac OS X.
 categories                     editors
 platforms                      darwin
 maintainers                    nomaintainer
 description                    MacVim is a port of the text editor Vim to Mac OS X.
 long_description       MacVim supports multiple windows with tabbed editing and a host of other features. \
                                        MacVim brings you the full power of Vim to Mac OS X.
-homepage                       http://code.google.com/p/macvim/
+homepage                       http://code.google.com/p/macvim-kaoriya/
 
 
-set gittag                     a3824cb1356c9f85f592ce13486d11b00bf3640c
+set gittag                     20090405
 distname                       KaoriYa-${gittag}
 use_zip                                yes
 checksums                      \
 distname                       KaoriYa-${gittag}
 use_zip                                yes
 checksums                      \
-       ${distname}.zip sha1 a0a0e4570589637cf47535b99bdd47ecd0ea5529
+       ${distname}.zip sha1 342499bc25d5c4abff9a1cee8b9fb01371cf7724
 master_sites           \
        "http://repo.or.cz/w/MacVim/KaoriYa.git?a=snapshot;h=${gittag};sf=zip&"
 worksrcdir                     KaoriYa/src
 master_sites           \
        "http://repo.or.cz/w/MacVim/KaoriYa.git?a=snapshot;h=${gittag};sf=zip&"
 worksrcdir                     KaoriYa/src
@@ -69,16 +69,12 @@ post-patch {
                ${worksrcpath}/MacVim/mvim
 }
 
                ${worksrcpath}/MacVim/mvim
 }
 
-pre-configure {
-       system "make autoconf"
+if {[variant_isset universal]} {
+       set xcodeconfig Universal
+} else {
+       set xcodeconfig Release
 }
 }
-
 post-build {
 post-build {
-       if {[variant_isset universal]} {
-               set xcodeconfig Universal
-       } else {
-               set xcodeconfig Release
-       }
        system "cd ${worksrcpath}/MacVim; xcodebuild -configuration ${xcodeconfig}"
 }
 
        system "cd ${worksrcpath}/MacVim; xcodebuild -configuration ${xcodeconfig}"
 }
 
@@ -91,7 +87,7 @@ set appPath "${destroot}${applications_dir}/MacVim.app/Contents"
 set runtimePath "${appPath}/Resources/vim/runtime"
 
 destroot {
 set runtimePath "${appPath}/Resources/vim/runtime"
 
 destroot {
-       file copy ${worksrcpath}/MacVim/build/Release/MacVim.app ${destroot}${applications_dir}
+       file copy ${worksrcpath}/MacVim/build/${xcodeconfig}/MacVim.app ${destroot}${applications_dir}
        xinstall -m 755 ${worksrcpath}/MacVim/mvim ${destroot}${prefix}/bin
        xinstall -d 755 ${runtimePath}/lang/ja/LC_MESSAGES
        xinstall -m 644 ${worksrcpath}/po/ja.mo \
        xinstall -m 755 ${worksrcpath}/MacVim/mvim ${destroot}${prefix}/bin
        xinstall -d 755 ${runtimePath}/lang/ja/LC_MESSAGES
        xinstall -m 644 ${worksrcpath}/po/ja.mo \