diff options
author | tonio <tonio> | 2005-11-08 21:57:53 +0000 |
---|---|---|
committer | tonio <tonio> | 2005-11-08 21:57:53 +0000 |
commit | 3f2f14fc1d59e64a959f61eb0432ec9b34d41f1c (patch) | |
tree | b4e7e35348cfa4cbc9e6e86580240a21396d4929 /print/tex-hugelatex | |
parent | af6893ee903af4e1c383f6aebbb615d99fcb2a65 (diff) | |
download | pkgsrc-3f2f14fc1d59e64a959f61eb0432ec9b34d41f1c.tar.gz |
convert to tex.buildlink3.mk.
Use PKG_TEXMFPREFIX to find TEXMF-CNF
Diffstat (limited to 'print/tex-hugelatex')
-rw-r--r-- | print/tex-hugelatex/Makefile | 9 | ||||
-rw-r--r-- | print/tex-hugelatex/PLIST | 12 |
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 |