source: trunk/dports/textproc/vim2html/Portfile

Last change on this file was 103686, checked in by jmr@…, 5 years ago

vim2html: license, noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 103686 2013-03-04 20:17:19Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    vim2html
6version                 1.46
7categories              textproc
8license                 GPL-2
9platforms               darwin
10supported_archs noarch
11maintainers             nomaintainer
12description             vim2html converts any Vim-editable file into well-formed HTML
13long_description        vim2html is a small shell  program that will export any \
14                        Vim-editable file into well-formed HTML - simulating a Vim \
15                        session. Fully supports Vim colorization (customizable) and \
16                        Syntax Highlighting. This program provides an excellent method \
17                        of presenting your programs/HTML/scripts/etc. on the web.
18
19homepage                http://chip.cuccio.us/projects/hacks#vim2html
20master_sites    http://chip.cuccio.us/resources/vim2html/
21checksums               md5 4fcccd28b2a28519bdc65e90120c7204 \
22                                sha1 5f48b83dfb74a650f81065b1e3d0b5888bc4345e \
23                                rmd160 c0bc0329dd35a7fa95cb76573075869379f5ed8d
24
25depends_run             bin:bash:bash \
26                                bin:vim:vim
27
28configure {
29        reinplace "s|/usr/share/vim|${prefix}/share/vim /Applications/MacPorts/Vim/Vim.app/Contents/Resources/vim/ /usr/share/vim|g" \
30                ${worksrcpath}/vim2html
31}
32
33build                   {}
34
35destroot {
36        xinstall -m 755 ${worksrcpath}/vim2html ${destroot}${prefix}/bin
37        xinstall -m 644 ${worksrcpath}/man/vim2html.1.bz2 \
38                ${destroot}${prefix}/share/man/man1
39        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
40        xinstall -m 644 -W ${worksrcpath}/docs AUTHORS ChangeLog COPYING INSTALL \
41                README ${destroot}${prefix}/share/doc/${name}
42}
Note: See TracBrowser for help on using the repository browser.