summaryrefslogtreecommitdiff
path: root/textproc/latex2html/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-11-03 01:05:06 +0000
committerjlam <jlam@pkgsrc.org>2000-11-03 01:05:06 +0000
commitf7cd5e5de559c133eb5f585bd7f13a4bef1092ae (patch)
treeda2072d9634d1c8bc0f7dd4c05476e2f822d2edb /textproc/latex2html/Makefile
parent9c9afb6b528f3bf05904ca605079a303c89a633d (diff)
downloadpkgsrc-f7cd5e5de559c133eb5f585bd7f13a4bef1092ae.tar.gz
* Relax requirement on ghostscript to also allow ghostscript-nox11.
* Enable GIF and PNG support. * Specify path to install TeX files to avoid problems when /usr/pkg is a symbolic link. * Add INSTALL/DEINSTALL targets to properly regenerate teTeX's ls-R file.
Diffstat (limited to 'textproc/latex2html/Makefile')
-rw-r--r--textproc/latex2html/Makefile21
1 files changed, 16 insertions, 5 deletions
diff --git a/textproc/latex2html/Makefile b/textproc/latex2html/Makefile
index 9ce01f1043e..b6d9dccfe9b 100644
--- a/textproc/latex2html/Makefile
+++ b/textproc/latex2html/Makefile
@@ -1,17 +1,28 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/11/02 18:19:40 wennmach Exp $
+# $NetBSD: Makefile,v 1.2 2000/11/03 01:05:06 jlam Exp $
DISTNAME= latex2html-99.2beta8
CATEGORIES= textproc converters
-MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=support/latex2html/}
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=support/latex2html/}
MAINTAINER= wennmach@netbsd.org
HOMEPAGE= http://www-dsed.llnl.gov/files/programs/unix/latex2html/manual/
DEPENDS+= teTeX-bin>=1.0.6:../../print/teTeX-bin
-DEPENDS+= ghostscript>=6.0:../../print/ghostscript
+DEPENDS+= ghostscript{,-nox11}-[6-9]*:../../print/ghostscript
DEPENDS+= netpbm>=9.7:../../graphics/netpbm
-USE_PERL5= # defined
-GNU_CONFIGURE= # defined
+USE_PERL5= # defined
+GNU_CONFIGURE= # defined
+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/tex/latex/html
+
+# We don't need the following post-install target because during installation
+# after a build, mktexlsr is called correctly. If the INSTALL script should
+# ever change to do more than simply call mktexlsr, then the post-install
+# target should be uncommented.
+#
+# post-install:
+# PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
.include "../../mk/bsd.pkg.mk"