diff options
author | tonio <tonio@pkgsrc.org> | 2005-11-14 20:41:38 +0000 |
---|---|---|
committer | tonio <tonio@pkgsrc.org> | 2005-11-14 20:41:38 +0000 |
commit | 2eebfe72bb0afa5b7a04adfcfacbfed7b002f32e (patch) | |
tree | b5f578a5f7c2fd859c44300c2bb43094faf6d005 | |
parent | 5d23bbe9e104f6acbf6e9ca49fe751d873c7c12f (diff) | |
download | pkgsrc-2eebfe72bb0afa5b7a04adfcfacbfed7b002f32e.tar.gz |
fixing for TEX_DEFAULT=teTeX2.
Now uses tex and pdftex for teTeX2, and etex/pdfetex for teTeX3
-rw-r--r-- | print/tex-jadetex/Makefile | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/print/tex-jadetex/Makefile b/print/tex-jadetex/Makefile index 6a127f56251..a245a6fe679 100644 --- a/print/tex-jadetex/Makefile +++ b/print/tex-jadetex/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2005/11/13 05:30:11 minskim Exp $ +# $NetBSD: Makefile,v 1.17 2005/11/14 20:41:38 tonio Exp $ # DISTNAME= jadetex-3.13 @@ -19,18 +19,28 @@ INSTALLATION_DIRS= bin .include "../../print/teTeX/module.mk" +.if (${TEX_TYPE} == "teTeX3") +TEX=etex +PDFTEX=pdfetex +.else +TEX=tex +PDFTEX=pdftex +.endif + do-install: ${CP} -p ${TEXMF_CNF} ${TEXMF_CNF}-before-jadetex ${CAT} ${FILESDIR}/texmf.cnf-add >>${TEXMF_CNF} - cd ${WRKSRC}; ${SETENV} TEXFORMATS=${LOCALBASE}/share/texmf-var/web2c \ + cd ${WRKSRC}; ${SETENV} TEX=${TEX} PDFTEX=${PDFTEX} \ + TEXFORMATS=${LOCALBASE}/share/texmf-var/web2c \ ${MAKE} ${MAKEFLAGS}; - cd ${WRKSRC}; ${SETENV} TEXFORMATS=${LOCALBASE}/share/texmf-var/web2c \ + cd ${WRKSRC}; ${SETENV} TEX=${TEX} PDFTEX=${PDFTEX} \ + TEXFORMATS=${LOCALBASE}/share/texmf-var/web2c \ ${MAKE} ${MAKEFLAGS} install : ${RM} -f ${PREFIX}/bin/jadetex - ${LN} -s etex ${PREFIX}/bin/jadetex + ${LN} -s ${TEX} ${PREFIX}/bin/jadetex ${RM} -f ${PREFIX}/bin/pdfjadetex - ${LN} -s pdfetex ${PREFIX}/bin/pdfjadetex + ${LN} -s ${PDFTEX} ${PREFIX}/bin/pdfjadetex ${INSTALL_MAN} ${WRKSRC}/jadetex.1 ${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/pdfjadetex.1 ${PREFIX}/man/man1 ${INSTALL_MAN_DIR} ${PREFIX}/share/doc/jadetex |