OSDN Git Service

2fa84b606662a7f215e84f718385ddef543636a0
[splhack/MacPorts.git] / editors / vimproc / Portfile
1 # $Id$
2 PortSystem 1.0
3
4 name                    vimproc
5 version                 20091217
6 revision                0
7 categories              editors
8 maintainers             nomaintainer
9 description             Interactive command execution in Vim.
10 long_description \
11         Interactive command execution in Vim.
12 homepage                http://github.com/Shougo/vimproc/
13 platforms               darwin
14
15 set gittag              606f53fbfd7c300c56e785c69ca7b94a6d836709
16 distname                ${name}-${gittag}
17 use_zip                 yes
18 checksums               ${distname}.zip sha1 4e0cbc1d5cb77173a7ee946f905bc3dc761343a4
19 master_sites    "http://github.com/Shougo/vimproc/zipball/${gittag}?"
20 use_configure   no
21 build.cmd               make -f make_mac.mak
22
23 post-extract {
24         system "mv ${workpath}/Shougo-vimproc-* ${workpath}/${distname}"
25 }
26
27 post-patch {
28         reinplace -E "s/^(CFLAGS.*) -arch ppc64\$/\\1 -mmacosx-version-min=10.4/" \
29                 ${worksrcpath}/make_mac.mak
30 }
31
32 destroot {
33         set dstdir ${destroot}${prefix}/share/vimproc/autoload
34         xinstall -d -m 0755 ${dstdir}
35         xinstall -m 0755 ${worksrcpath}/autoload/proc.so ${dstdir}
36         xinstall -m 0644 ${worksrcpath}/autoload/vimproc.vim ${dstdir}
37 }
38
39 default_variants +universal
40 variant universal {}