2005-11-09 22:40:20 +01:00
|
|
|
# $NetBSD: Makefile,v 1.14 2005/11/09 21:40:20 tonio Exp $
|
2001-10-04 20:47:06 +02:00
|
|
|
#
|
|
|
|
|
2004-09-29 15:10:22 +02:00
|
|
|
DISTNAME= jadetex-3.13
|
2001-11-29 02:12:24 +01:00
|
|
|
PKGNAME= tex-${DISTNAME}
|
2005-11-09 22:40:20 +01:00
|
|
|
PKGREVISION= 1
|
2001-10-04 20:47:06 +02:00
|
|
|
CATEGORIES= print
|
2004-09-29 15:10:22 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jadetex/}
|
2001-10-04 20:47:06 +02:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= hubertf@NetBSD.org
|
2001-10-04 20:47:06 +02:00
|
|
|
COMMENT= Process tex files produced by the TeX backend of Jade
|
|
|
|
|
2005-07-19 12:11:48 +02:00
|
|
|
DEPENDS+= tex-hugelatex>=1.0nb1:../../print/tex-hugelatex
|
2001-10-04 20:47:06 +02:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
2005-11-09 22:40:20 +01:00
|
|
|
TEXMF_CNF= ${PKG_TEXMFPREFIX}/web2c/texmf.cnf
|
2001-10-04 20:47:06 +02:00
|
|
|
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2001-10-04 20:47:06 +02:00
|
|
|
do-install:
|
|
|
|
${CP} -p ${TEXMF_CNF} ${TEXMF_CNF}-before-jadetex
|
|
|
|
${CAT} ${FILESDIR}/texmf.cnf-add >>${TEXMF_CNF}
|
2005-11-09 22:40:20 +01:00
|
|
|
cd ${WRKSRC}; ${SETENV} TEXFORMATS=${LOCALBASE}/share/texmf-var/web2c \
|
2004-09-29 15:10:22 +02:00
|
|
|
${MAKE} ${MAKEFLAGS};
|
2005-11-09 22:40:20 +01:00
|
|
|
cd ${WRKSRC}; ${SETENV} TEXFORMATS=${LOCALBASE}/share/texmf-var/web2c \
|
2004-09-29 15:10:22 +02:00
|
|
|
${MAKE} ${MAKEFLAGS} install
|
|
|
|
:
|
2001-10-04 20:47:06 +02:00
|
|
|
${RM} -f ${PREFIX}/bin/jadetex
|
|
|
|
${LN} -s tex ${PREFIX}/bin/jadetex
|
|
|
|
${RM} -f ${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
|
|
|
|
for i in ${WRKSRC}/doc/* ; do \
|
|
|
|
${INSTALL_MAN} $$i ${PREFIX}/share/doc/jadetex; \
|
|
|
|
done
|
|
|
|
:
|
|
|
|
: Complete the set that the textproc/jade pkg started. We
|
|
|
|
: use our files here as that is what the jadetex.fmt file is
|
|
|
|
: really made from:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/sgml/jade
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/jadetex.dtx ${PREFIX}/share/sgml/jade
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/jadetex.ini ${PREFIX}/share/sgml/jade
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/jadetex.ins ${PREFIX}/share/sgml/jade
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pdfjadetex.ini ${PREFIX}/share/sgml/jade
|
2004-09-29 15:10:22 +02:00
|
|
|
${PREFIX}/bin/mktexlsr
|
2001-10-04 20:47:06 +02:00
|
|
|
|
2005-11-09 22:40:20 +01:00
|
|
|
.include "../../mk/tex.buildlink3.mk"
|
2001-10-04 20:47:06 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|