blob: 8a4aa504cd0357da7bd7e202d0913254930a095a (
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
53
54
55
56
57
58
59
60
|
# $NetBSD: Makefile,v 1.27 2009/01/11 09:16:30 minskim Exp $
#
DISTNAME= jadetex-3.13
PKGNAME= tex-${DISTNAME}
PKGREVISION= 6
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jadetex/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://jadetex.sourceforge.net/
COMMENT= Process tex files produced by the TeX backend of Jade
DEPENDS+= teTeX-bin-[0-9]*:../../print/teTeX3-bin
DEPENDS+= tex-hugelatex>=2.0nb6:../../print/tex-hugelatex
BUILD_TARGET= default
MAKE_ENV+= TEX=${TEX:Q}
EVAL_PREFIX+= TETEX_BIN_PREFIX=teTeX-bin
FILES_SUBST+= TEX=${TETEX_BIN_PREFIX:Q}/bin/etex
FILES_SUBST+= PDFTEX=${TETEX_BIN_PREFIX:Q}/bin/pdftex
TEX= ${LOCALBASE}/bin/etex
PDFTEX= ${LOCALBASE}/bin/pdftex
TEX_TEXMF_DIRS+= ${PREFIX}/share/texmf
TEX_TEXMF_DIRS+= ${PREFIX}/share/texmf-dist
TEX_CONFIG_NAMES= jadetex
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/jadetex \
share/texmf/web2c \
share/texmf-dist/tex/jadetex/base \
share/texmf-dist/tex/jadetex/config
.include "../../print/kpathsea/texmf.mk"
do-install:
${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}/${PKGMANDIR}/man1
${INSTALL_MAN} ${WRKSRC}/pdfjadetex.1 ${PREFIX}/${PKGMANDIR}/man1
for i in ${WRKSRC}/doc/* ; do \
${INSTALL_DATA} $$i ${PREFIX}/share/doc/jadetex; \
done
${INSTALL_DATA} ${FILESDIR}/texmf.jadetex.cnf \
${PREFIX}/share/texmf/web2c
.for f in dsssl.def jadetex.ltx uentities.sty ut1omlgc.fd
${INSTALL_DATA} ${WRKSRC}/${f} \
${PREFIX}/share/texmf-dist/tex/jadetex/base
.endfor
.for f in jadetex.ini pdfjadetex.ini mlnames.sty unicode.sty dummyels.sty \
ucharacters.sty
${INSTALL_DATA} ${WRKSRC}/${f} \
${PREFIX}/share/texmf-dist/tex/jadetex/config
.endfor
.include "../../mk/bsd.pkg.mk"
|