pkgsrc/textproc/latex2html/Makefile

42 lines
1.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.41 2013/05/31 12:42:07 wiz Exp $
DISTNAME= latex2html-2008
PKGREVISION= 4
CATEGORIES= textproc converters
2011-10-19 21:28:49 +02:00
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=support/latex2html/}
2003-07-18 00:50:55 +02:00
MAINTAINER= wennmach@NetBSD.org
2003-12-30 18:27:31 +01:00
HOMEPAGE= http://www.latex2html.org/
COMMENT= LaTeX to HTML converter
2011-10-19 21:28:49 +02:00
DEPENDS+= tex-graphics-[0-9]*:../../print/tex-graphics
DEPENDS+= tex-hyperref-[0-9]*:../../print/tex-hyperref
DEPENDS+= tex-latex-[0-9]*:../../print/tex-latex
DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
DEPENDS+= tex-tex-[0-9]*:../../print/tex-tex
DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
DEPENDS+= netpbm>=10.29nb2:../../graphics/netpbm
USE_TOOLS+= gs:run perl:run
GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
CONFIGURE_ARGS+= --enable-gif # add support of GIF images
CONFIGURE_ARGS+= --enable-png # add support of PNG images
2011-10-19 21:28:49 +02:00
CONFIGURE_ARGS+= --with-texpath=${PREFIX}/share/texmf-dist/tex/latex/html
CONFIGURE_ARGS+= --shlibdir=${PREFIX}/share/latex2html
.if defined(LATEX2HTML_ICONPATH)
CONFIGURE_ARGS+= --with-iconpath=${LATEX2HTML_ICONPATH:Q}
.endif
CONFIGURE_ARGS+= --with-gs=${TOOLS_PATH.gs:Q}
2011-10-19 21:28:49 +02:00
MAKE_ENV+= DESTDIR=${DESTDIR}
REPLACE_PERL+= l2hconf.pin cweb2html/cweb2html cweb2html/makemake.pl
REPLACE_PERL+= makemap makeseg/makeseg
2011-10-19 21:28:49 +02:00
.include "../../print/kpathsea/texmf.mk"
.include "../../print/kpathsea/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"