OSDN Git Service

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