# $Id: Portfile 22519 2007-03-04 07:31:00Z pipping@macports.org $ PortSystem 1.0 name vim2html version 1.46 categories textproc platforms darwin maintainers nomaintainer@macports.org 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://norlug.org/~chipster/archives/cat_hacks.shtml master_sites http://doug.hunley.homeip.net/static/linux_sources/index.php?dir=utils/&file= checksums md5 4fcccd28b2a28519bdc65e90120c7204 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} }