# $Id: Portfile,v 1.3 2004/07/15 11:31:39 mww Exp $ PortSystem 1.0 name vim2html version 1.45 categories textproc platforms darwin maintainers mww@opendarwin.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/vim2html master_sites http://norlug.org/~chipster/download_handler/cat5/ checksums md5 8b0faf6e182daff4f511aed766c8932f depends_run bin:bash:bash \ bin:vim:vim post-extract { system "cd ${worksrcpath}/man && bunzip2 vim2html.1.bz2" } configure { reinplace "s|/usr/share/vim|${prefix}/share/vim /usr/share/vim|g" \ ${worksrcpath}/vim2html } build {} destroot { xinstall -m 755 ${worksrcpath}/vim2html ${destroot}${prefix}/bin xinstall -m 644 ${worksrcpath}/man/vim2html.1 \ ${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} }