# $Id: Portfile,v 1.2 2006/04/19 14:56:40 gwright Exp $

PortSystem 1.0

name		latex2html
version		2002-2-1
revision	1
categories	print
platforms	darwin
maintainers	gwright@opendarwin.org
description	Convert LaTeX into HTML.
long_description	\
		LATEX2HTML is a convertor written in Perl that		\
		converts LATEX documents to HTML.

homepage	http://saftsack.fs.uni-bayreuth.de/~latex2ht
master_sites	${homepage}/current/

checksums	md5 a79cda0648c8721ab6df5020cd11e220

depends_run	port:teTeX		\
		bin:gs:ghostscript	\
		bin:pnmcrop:netpbm	\
		bin:perl:perl5.8

configure.args	--without-mktexlsr	\
		--with-texpath=${prefix}/share/texmf-local/tex/latex/html

post-activate	{ system "texhash" }


