Ticket #37825: Portfile

File Portfile, 1.0 KB (added by cooljeanius (Eric Gallager), 12 years ago)

portfile for mpvim

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem          1.0
5
6name                mpvim
7version             0.1.0
8categories-append   editors
9platforms           darwin
10maintainers         gwmail.gwu.edu:egall openmaintainer
11license             BSD
12supported_archs     noarch
13
14description         ${name} adds MacPorts support to vim.
15long_description    ${description} This currently includes syntax coloring for \
16                    Portfiles and running lint from vim.
17homepage            http://svn.macports.org/repository/macports/contrib/mpvim
18
19livecheck.type      none
20
21fetch.type          svn
22svn.url             https://svn.macports.org/repository/macports/contrib/mpvim
23svn.revision        102168
24
25depends_run-append  path:bin/vim:vim
26
27worksrcdir          ${name}
28
29configure {
30    reinplace "s|~/.vim|${destroot}${prefix}/share/vim/vimfiles|g" ${worksrcpath}/Makefile
31}
32
33build {}
34
35destroot {
36    system -W ${worksrcpath} "make install"
37}