source: trunk/dports/textproc/vim2html/Portfile @ 20486

Last change on this file since 20486 was 20486, checked in by blair@…, 14 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

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