# $Id$
PortSystem 1.0
name vim2html
version 1.46
categories textproc
license GPL-2
platforms darwin
supported_archs noarch
maintainers nomaintainer
description vim2html converts any Vim-editable file into well-formed HTML
long_description vim2html is a small shell program that will export any \
Vim-editable file into well-formed HTML - simulating a Vim \
session. Fully supports Vim colorization (customizable) and \
Syntax Highlighting. This program provides an excellent method \
of presenting your programs/HTML/scripts/etc. on the web.
homepage http://chip.cuccio.us/projects/hacks#vim2html
master_sites http://chip.cuccio.us/resources/vim2html/
checksums md5 4fcccd28b2a28519bdc65e90120c7204 \
sha1 5f48b83dfb74a650f81065b1e3d0b5888bc4345e \
rmd160 c0bc0329dd35a7fa95cb76573075869379f5ed8d
depends_run bin:bash:bash \
bin:vim:vim
configure {
reinplace "s|/usr/share/vim|${prefix}/share/vim /Applications/MacPorts/Vim/Vim.app/Contents/Resources/vim/ /usr/share/vim|g" \
${worksrcpath}/vim2html
}
build {}
destroot {
xinstall -m 755 ${worksrcpath}/vim2html ${destroot}${prefix}/bin
xinstall -m 644 ${worksrcpath}/man/vim2html.1.bz2 \
${destroot}${prefix}/share/man/man1
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath}/docs AUTHORS ChangeLog COPYING INSTALL \
README ${destroot}${prefix}/share/doc/${name}
}