pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/latex2html Avoid dependency on teTeX.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d6c1e40735d
branches:  trunk
changeset: 594093:4d6c1e40735d
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Oct 19 19:28:49 2011 +0000

description:
Avoid dependency on teTeX.

diffstat:

 textproc/latex2html/Makefile |  22 +++++++++++++++-------
 textproc/latex2html/PLIST    |  24 ++++++++++++------------
 2 files changed, 27 insertions(+), 19 deletions(-)

diffs (89 lines):

diff -r b457dccdd7f9 -r 4d6c1e40735d textproc/latex2html/Makefile
--- a/textproc/latex2html/Makefile      Wed Oct 19 18:47:00 2011 +0000
+++ b/textproc/latex2html/Makefile      Wed Oct 19 19:28:49 2011 +0000
@@ -1,19 +1,24 @@
-# $NetBSD: Makefile,v 1.36 2011/07/09 14:19:30 bsiegert Exp $
+# $NetBSD: Makefile,v 1.37 2011/10/19 19:28:49 minskim Exp $
 
 DISTNAME=      latex2html-2008
-#PKGNAME=      latex2html-2008
+PKGREVISION=   1
 CATEGORIES=    textproc converters
-#MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=support/latex2html/}
-MASTER_SITES=  http://saftsack.fs.uni-bayreuth.de/~latex2ht/current/
+MASTER_SITES=  ${MASTER_SITE_TEX_CTAN:=support/latex2html/}
 
 MAINTAINER=    wennmach%NetBSD.org@localhost
 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
 
-TEX_ACCEPTED=          teTeX3
 USE_TOOLS+=            gs:run perl:run
 GNU_CONFIGURE=         yes
 PKG_DESTDIR_SUPPORT=   user-destdir
@@ -22,15 +27,18 @@
 
 CONFIGURE_ARGS+=       --enable-gif    # add support of GIF images
 CONFIGURE_ARGS+=       --enable-png    # add support of PNG images
-CONFIGURE_ARGS+=       --with-texpath=${PKG_LOCALTEXMFPREFIX}/tex/latex/html
+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/teTeX/module.mk"
+.include "../../print/kpathsea/texmf.mk"
+.include "../../print/kpathsea/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r b457dccdd7f9 -r 4d6c1e40735d textproc/latex2html/PLIST
--- a/textproc/latex2html/PLIST Wed Oct 19 18:47:00 2011 +0000
+++ b/textproc/latex2html/PLIST Wed Oct 19 19:28:49 2011 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2009/06/14 18:17:20 joerg Exp $
+@comment $NetBSD: PLIST,v 1.9 2011/10/19 19:28:49 minskim Exp $
 bin/latex2html
 bin/pstoimg
 bin/texexpand
@@ -333,14 +333,14 @@
 share/latex2html/versions/techexpl.pl
 share/latex2html/versions/unicode.pl
 share/latex2html/versions/utf8.pl
-${PKG_LOCALTEXMFPREFIX}/tex/latex/html/frames.sty
-${PKG_LOCALTEXMFPREFIX}/tex/latex/html/heqn.sty
-${PKG_LOCALTEXMFPREFIX}/tex/latex/html/hthtml.sty
-${PKG_LOCALTEXMFPREFIX}/tex/latex/html/html.sty
-${PKG_LOCALTEXMFPREFIX}/tex/latex/html/htmllist.sty
-${PKG_LOCALTEXMFPREFIX}/tex/latex/html/justify.sty
-${PKG_LOCALTEXMFPREFIX}/tex/latex/html/latin9.def
-${PKG_LOCALTEXMFPREFIX}/tex/latex/html/ldump.sty
-${PKG_LOCALTEXMFPREFIX}/tex/latex/html/techexplHTML.tex
-${PKG_LOCALTEXMFPREFIX}/tex/latex/html/url.sty
-${PKG_LOCALTEXMFPREFIX}/tex/latex/html/verbatimfiles.sty
+share/texmf-dist/tex/latex/html/frames.sty
+share/texmf-dist/tex/latex/html/heqn.sty
+share/texmf-dist/tex/latex/html/hthtml.sty
+share/texmf-dist/tex/latex/html/html.sty
+share/texmf-dist/tex/latex/html/htmllist.sty
+share/texmf-dist/tex/latex/html/justify.sty
+share/texmf-dist/tex/latex/html/latin9.def
+share/texmf-dist/tex/latex/html/ldump.sty
+share/texmf-dist/tex/latex/html/techexplHTML.tex
+share/texmf-dist/tex/latex/html/url.sty
+share/texmf-dist/tex/latex/html/verbatimfiles.sty



Home | Main Index | Thread Index | Old Index