summaryrefslogtreecommitdiff
path: root/textproc/latex2html/Makefile
blob: 135e602fa7f592ebfce30cd1b6d7f8e5bfef641f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $NetBSD: Makefile,v 1.11 2003/07/17 22:54:29 grant Exp $

DISTNAME=	latex2html-2002-2-1
PKGNAME=	latex2html-2002.2.1
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,teTeX2-bin-[0-9]*}:../../print/teTeX-bin
DEPENDS+=	netpbm>=9.7nb1:../../graphics/netpbm

USE_PERL5=		# defined
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"