2013-05-31 14:39:57 +02:00
|
|
|
# $NetBSD: Makefile,v 1.41 2013/05/31 12:42:07 wiz Exp $
|
2000-11-02 19:19:40 +01:00
|
|
|
|
2009-05-21 18:15:44 +02:00
|
|
|
DISTNAME= latex2html-2008
|
2013-05-31 14:39:57 +02:00
|
|
|
PKGREVISION= 4
|
2000-11-02 19:19:40 +01:00
|
|
|
CATEGORIES= textproc converters
|
2011-10-19 21:28:49 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=support/latex2html/}
|
2000-11-02 19:19:40 +01:00
|
|
|
|
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/
|
2001-02-17 18:31:58 +01:00
|
|
|
COMMENT= LaTeX to HTML converter
|
2000-11-02 19:19:40 +01:00
|
|
|
|
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
|
2009-02-25 18:18:08 +01:00
|
|
|
DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
|
2005-09-14 09:41:52 +02:00
|
|
|
DEPENDS+= netpbm>=10.29nb2:../../graphics/netpbm
|
2000-11-02 19:19:40 +01:00
|
|
|
|
2005-11-28 07:41:20 +01:00
|
|
|
USE_TOOLS+= gs:run perl:run
|
2005-09-28 22:52:18 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2002-05-08 13:26:12 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2000-11-03 02:05:06 +01:00
|
|
|
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
|
2002-05-08 13:26:12 +02:00
|
|
|
CONFIGURE_ARGS+= --shlibdir=${PREFIX}/share/latex2html
|
|
|
|
.if defined(LATEX2HTML_ICONPATH)
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --with-iconpath=${LATEX2HTML_ICONPATH:Q}
|
2002-05-08 13:26:12 +02:00
|
|
|
.endif
|
2005-12-21 00:04:37 +01:00
|
|
|
CONFIGURE_ARGS+= --with-gs=${TOOLS_PATH.gs:Q}
|
2000-11-02 19:19:40 +01:00
|
|
|
|
2011-10-19 21:28:49 +02:00
|
|
|
MAKE_ENV+= DESTDIR=${DESTDIR}
|
|
|
|
|
2009-05-21 18:15:44 +02:00
|
|
|
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"
|
2000-11-02 19:19:40 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|