summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2005-11-08 21:57:53 +0000
committertonio <tonio@pkgsrc.org>2005-11-08 21:57:53 +0000
commit48be5c5cf10a5b91ff396b24179748de225ac2d7 (patch)
treeb4e7e35348cfa4cbc9e6e86580240a21396d4929
parent7feea2fa2d2d6dd57a47576f205045a17915b0a1 (diff)
downloadpkgsrc-48be5c5cf10a5b91ff396b24179748de225ac2d7.tar.gz
convert to tex.buildlink3.mk.
Use PKG_TEXMFPREFIX to find TEXMF-CNF
-rw-r--r--print/tex-hugelatex/Makefile9
-rw-r--r--print/tex-hugelatex/PLIST12
2 files changed, 10 insertions, 11 deletions
diff --git a/print/tex-hugelatex/Makefile b/print/tex-hugelatex/Makefile
index 0317b3053ba..d4b4a053a93 100644
--- a/print/tex-hugelatex/Makefile
+++ b/print/tex-hugelatex/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2005/04/02 20:19:02 hubertf Exp $
+# $NetBSD: Makefile,v 1.13 2005/11/08 21:57:53 tonio Exp $
#
DISTNAME= hugelatex-2.0
@@ -10,21 +10,19 @@ DISTFILES= # nada
MAINTAINER= hubertf@NetBSD.org
COMMENT= LaTeX format files with large limits
-DEPENDS+= teTeX>=2:../../print/teTeX
-
WRKSRC= ${WRKDIR}
EXTRACT_ONLY= # nothing
NO_CHECKSUM= yes
NO_BUILD= yes
-TEXMF_CNF= ${LOCALBASE}/share/texmf/web2c/texmf.cnf
+TEXMF_CNF= ${PKG_TEXMFPREFIX}/web2c/texmf.cnf
do-install:
${CP} -p ${TEXMF_CNF} ${TEXMF_CNF}-before-hugelatex
${CAT} ${FILESDIR}/texmf.cnf-add >>${TEXMF_CNF}
cd `dirname ${TEXMF_CNF}`; \
${MV} latex.fmt latex.fmt.BAK || ${TRUE} ; \
- echo "" | ${PREFIX}/bin/latex -ini -fmt=hugelatex -progname=hugelatex latex.ini || ${TRUE}; \
+ ${ECHO} "" | ${PREFIX}/bin/latex -ini -fmt=hugelatex -progname=hugelatex latex.ini || ${TRUE}; \
${MV} latex.fmt hugelatex.fmt ; \
${MV} latex.log hugelatex.log ; \
${MV} latex.fmt.BAK latex.fmt || ${TRUE} ; \
@@ -33,4 +31,5 @@ do-install:
${LN} -s latex ${PREFIX}/bin/hugelatex
${PREFIX}/bin/mktexlsr
+.include "../../mk/tex.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/tex-hugelatex/PLIST b/print/tex-hugelatex/PLIST
index cb11583c44a..00251398909 100644
--- a/print/tex-hugelatex/PLIST
+++ b/print/tex-hugelatex/PLIST
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2005/04/04 15:05:25 hubertf Exp $
+@comment $NetBSD: PLIST,v 1.3 2005/11/08 21:57:53 tonio Exp $
bin/hugelatex
-share/texmf/web2c/hugelatex.fmt
-share/texmf/web2c/hugelatex.log
-@exec cp %D/share/texmf/web2c/texmf.cnf %D/share/texmf/web2c/texmf.cnf-before-hugelatex
-share/texmf/web2c/texmf.cnf
-@unexec mv %D/share/texmf/web2c/texmf.cnf-before-hugelatex %D/share/texmf/web2c/texmf.cnf
+${PKG_TEXMFPREFIX}/web2c/hugelatex.fmt
+${PKG_TEXMFPREFIX}/web2c/hugelatex.log
+@exec cp %D/${PKG_TEXMFPREFIX}/web2c/texmf.cnf %D/${PKG_TEXMFPREFIX}/web2c/texmf.cnf-before-hugelatex
+${PKG_TEXMFPREFIX}/web2c/texmf.cnf
+@unexec mv %D/${PKG_TEXMFPREFIX}/web2c/texmf.cnf-before-hugelatex %D/${PKG_TEXMFPREFIX}/web2c/texmf.cnf
@exec %D/bin/mktexlsr
@unexec %D/bin/mktexlsr