blob: 62a79eb42af85a2e9beeae2d0df5ebd5ed3ae867 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# $NetBSD: Makefile,v 1.5 2003/03/29 12:42:18 jmmv Exp $
#
DISTNAME= jadetex-2.20
PKGNAME= tex-${DISTNAME}
PKGREVISION= 2
WRKSRC= ${WRKDIR}
CATEGORIES= print
MASTER_SITES= http://www.tug.org/applications/jadetex/
EXTRACT_SUFX= .zip
MAINTAINER= hubertf@netbsd.org
COMMENT= Process tex files produced by the TeX backend of Jade
DEPENDS+= tex-hugelatex-1.0nb1:../tex-hugelatex
NO_BUILD= yes
TEXMF_CNF= ${LOCALBASE}/share/texmf/web2c/texmf.cnf
do-install:
${CP} -p ${TEXMF_CNF} ${TEXMF_CNF}-before-jadetex
${CAT} ${FILESDIR}/texmf.cnf-add >>${TEXMF_CNF}
cd ${WRKSRC}; ${SETENV} TEXFORMATS=${LOCALBASE}/share/texmf/web2c \
${MAKE} ${MAKEFLAGS};
cd ${WRKSRC}; ${SETENV} TEXFORMATS=${LOCALBASE}/share/texmf/web2c \
${MAKE} ${MAKEFLAGS} install
${RM} -f ${PREFIX}/bin/jadetex
${LN} -s tex ${PREFIX}/bin/jadetex
${RM} -f ${PREFIX}/bin/pdfjadetex
${LN} -s pdftex ${PREFIX}/bin/pdfjadetex
${PREFIX}/bin/mktexlsr
${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
${INSTALL_MAN_DIR} ${PREFIX}/share/examples/jadetex
for i in ${WRKSRC}/test/* ; do \
${INSTALL_MAN} $$i ${PREFIX}/share/examples/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
.include "../../mk/bsd.pkg.mk"
|