pkgsrc/textproc/latex2html/Makefile
mef 6403506e08 Updated textproc/latex2html 2008 to 2016
----------------------------------------
Following is the part of Chnages, for recent ones only
#--------- v2016
#
#               - config: fix parsing of version number for pnmcrop
#               - config: fix uninitialized argument in error messages
#               - longtable: fix duplicate caption
#                 https://bugs.debian.org/310702
#               - pstoimg: fix pstoimg -depth 24 -flip cw
#                 https://bugs.debian.org/612126
#
#--------- v2015 apply patches from Debian
#
#               - add-abnt.patch
#               - add-floatflt-ins.patch
#               - add-url.patch
#               - eurosym.patch
#               - fix-gs-stderr.patch
#               - fix-image-types.patch
#               - fix-mathend-mark.patch
#               - fix-pdfoutput.patch
#               - fix-romanian.patch
#               - fix-spaces-in-filenames.patch
#               - fix-typos.patch
#               - html-version-4.patch
#               - l2hconf-fix-shebang.patch
#               - latex2html-fix-authoraddress.patch
#               - latex2html-fix-defined.patch
#               - makefiles-fixes.patch
#               - manpages.patch
#               - manual-fix-address.patch
#               - match-multiline.patch
#               - override-dvips-dot-in-filename-problem.patch
#               - pstoimg-dont-use-rgb-txt.patch
#               - pstoimg-fix-borders.patch
#               - pstoimg-fix-file-pattern.patch
#               - pstoimg-match-gray.patch

(pkgsrc changes)
 - Drop patch-aa, upstream fixed
2016-08-11 00:15:53 +00:00

44 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.47 2016/08/11 00:15:53 mef Exp $
DISTNAME= latex2html-2016
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
LICENSE= gnu-gpl-v2
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+= tex-url>=1.4:../../print/tex-url
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
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
post-extract: ; ${RM} ${WRKSRC}/texinputs/url.sty ${WRKSRC}/docs/url.sty
.include "../../print/kpathsea/texmf.mk"
.include "../../print/kpathsea/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"