diff options
author | jlam <jlam@pkgsrc.org> | 2000-11-03 01:05:06 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-11-03 01:05:06 +0000 |
commit | f7cd5e5de559c133eb5f585bd7f13a4bef1092ae (patch) | |
tree | da2072d9634d1c8bc0f7dd4c05476e2f822d2edb /textproc | |
parent | 9c9afb6b528f3bf05904ca605079a303c89a633d (diff) | |
download | pkgsrc-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')
-rw-r--r-- | textproc/latex2html/Makefile | 21 | ||||
-rw-r--r-- | textproc/latex2html/pkg/DEINSTALL | 21 | ||||
-rw-r--r-- | textproc/latex2html/pkg/INSTALL | 21 |
3 files changed, 58 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" diff --git a/textproc/latex2html/pkg/DEINSTALL b/textproc/latex2html/pkg/DEINSTALL new file mode 100644 index 00000000000..caee855db60 --- /dev/null +++ b/textproc/latex2html/pkg/DEINSTALL @@ -0,0 +1,21 @@ +#!/bin/sh +# +# $NetBSD: DEINSTALL,v 1.1 2000/11/03 01:05:06 jlam Exp $ + +PKGNAME=$1 +STAGE=$2 + +case ${STAGE} in +DEINSTALL) + ;; +POST-DEINSTALL) + # Rebuild the ls-R database after removing files from the teTeX tree. + # + mktexlsr + ;; +*) + echo "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/textproc/latex2html/pkg/INSTALL b/textproc/latex2html/pkg/INSTALL new file mode 100644 index 00000000000..0725ec2f20a --- /dev/null +++ b/textproc/latex2html/pkg/INSTALL @@ -0,0 +1,21 @@ +#!/bin/sh +# +# $NetBSD: INSTALL,v 1.1 2000/11/03 01:05:06 jlam Exp $ + +PKGNAME=$1 +STAGE=$2 + +case ${STAGE} in +PRE-INSTALL) + ;; +POST-INSTALL) + # Rebuild the ls-R database after adding files to the teTeX tree. + # + mktexlsr + ;; +*) + echo "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 |