blob: df95e651649203df8fb3262566e445a6a9f65fb6 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# $NetBSD: Makefile,v 1.38 2012/10/03 21:57:49 wiz Exp $
DISTNAME= latex2html-2008
PKGREVISION= 2
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
PKG_DESTDIR_SUPPORT= user-destdir
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
PKG_DESTDIR_SUPPORT= user-destdir
.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-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}
MAKE_ENV+= DESTDIR=${DESTDIR}
REPLACE_PERL+= l2hconf.pin cweb2html/cweb2html cweb2html/makemake.pl
REPLACE_PERL+= makemap makeseg/makeseg
.include "../../print/kpathsea/texmf.mk"
.include "../../print/kpathsea/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|