pkgsrc/textproc/latex2html/Makefile
jlam 3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00

30 lines
917 B
Makefile

# $NetBSD: Makefile,v 1.16 2005/07/16 01:19:24 jlam Exp $
DISTNAME= latex2html-2002-2-1
PKGNAME= latex2html-2002.2.1
PKGREVISION= 3
CATEGORIES= textproc converters
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=support/latex2html/}
MAINTAINER= wennmach@NetBSD.org
HOMEPAGE= http://www.latex2html.org/
COMMENT= LaTeX to HTML converter
DEPENDS+= teTeX-bin>=1.0.6:../../print/teTeX-bin
DEPENDS+= netpbm>=9.7nb1:../../graphics/netpbm
USE_TOOLS+= perl:run
GNU_CONFIGURE= # defined
.include "../../mk/bsd.prefs.mk"
CONFIGURE_ARGS+= --enable-gif # add support of GIF images
CONFIGURE_ARGS+= --enable-png # add support of PNG images
CONFIGURE_ARGS+= --with-texpath=${PREFIX}/share/texmf/tex/latex/html
CONFIGURE_ARGS+= --shlibdir=${PREFIX}/share/latex2html
.if defined(LATEX2HTML_ICONPATH)
CONFIGURE_ARGS+= --with-iconpath=${LATEX2HTML_ICONPATH}
.endif
.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"