OSDN Git Service

vimproc
[splhack/MacPorts.git] / editors / vimproc / Portfile
1 # $Id$
2 PortSystem 1.0
3
4 name                    vimproc
5 version                 20090707
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              63e5adf31d21cfb23d5f5ab5941432975fe44cc1
16 distname                ${name}-${gittag}
17 use_zip                 yes
18 checksums               ${distname}.zip sha1 cdc34de3e43bccc8f6e92951a1d346897b3f1254
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.*)\$/\\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/proc.vim ${dstdir}
37 }
38
39 default_variants +universal
40 variant universal {}