diff options
-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 |