blob: b30e7500cdaa30c8eef1eb4b8199572e751546c7 (
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
61
|
# $NetBSD: Makefile,v 1.7 1998/04/15 10:38:46 agc Exp $
# FreeBSD Id: Makefile,v 1.20 1997/08/05 06:56:41 tg Exp
#
DISTNAME= teTeX-src-0.4
PKGNAME= teTeX-0.4pl8
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= systems/unix/teTeX/distrib/sources
DISTFILES= ${TETEX_SRC} ${TETEX_LIB}
PATCH_DIST_STRIP= -p1
MAINTAINER= br@schiele-ct.de
BUILD_DEPENDS= ${PREFIX}/bin/install-info:${PORTSDIR}/devel/gtexinfo
RUN_DEPENDS= ${PREFIX}/bin/install-info:${PORTSDIR}/devel/gtexinfo
DIST_SUBDIR= teTeX
NO_CONFIGURE= yes
USE_GMAKE= yes
ALL_TARGET= config clean texhash all
INSTALL_TARGET= install ini
MAN1= afm2tfm.1 allcm.1 alldc.1 allneeded.1 amslatex.1 \
amstex.1 append_db.1 bibtex.1 dvilj.1 dvips.1 \
dvired.1 dvitype.1 etex.1 fontexport.1 fontimport.1 \
gftodvi.1 gftopk.1 gftype.1 gsftopk.1 initex.1 \
lamstex.1 latex.1 mag.1 makeindex.1 mf.1 mft.1 \
mp.1 patgen.1 pfb2pfa.1 pk2bm.1 pktogf.1 pktype.1 \
pltotf.1 pooltype.1 ps2frag.1 ps2pk.1 slitex.1 \
tangle.1 tex.1 texconfig.1 texhash.1 tftopl.1 \
vftovp.1 virtex.1 vptovf.1 weave.1 xdvi.1
MAN5= ls-R.5
TETEX_SRC= teTeX-src-0.4pl7.tar.gz
TETEX_LIB= teTeX-lib-0.4pl8.tar.gz
WRKLIB= ${WRKDIR}/teTeX
INSTALL_INFO= ${PREFIX}/bin/install-info
pre-install:
@${RM} -f ${PREFIX}/share/texmf/ls-R
@chown -R bin:bin ${WRKLIB}/info ${WRKLIB}/man
@${RM} -f ${WRKLIB}/info/dir ${WRKLIB}/info/localdir \
${WRKLIB}/info/*.orig ${WRKLIB}/info/README
@chmod 444 ${WRKLIB}/info/* ${WRKLIB}/man/man1/* ${WRKLIB}/man/man5/*
@find ${WRKLIB}/texmf/fonts -type d -perm 1755 -exec chmod 755 {} \;
@ (cd ${WRKLIB}; tar cf - info man/man1 man/man5) | (cd ${PREFIX}; tar --unlink -xpf -)
@ (cd ${WRKLIB}; tar cf - texmf) | (cd ${PREFIX}/share; tar --unlink -xpf -)
@${INSTALL_DATA} ${WRKLIB}/texmf.cnf ${PREFIX}/share/texmf/web2c
post-install:
${INSTALL_INFO} ${PREFIX}/info/latex ${PREFIX}/info/dir
${INSTALL_INFO} ${PREFIX}/info/kpathsea.info ${PREFIX}/info/dir
${INSTALL_INFO} ${PREFIX}/info/dvips.info ${PREFIX}/info/dir
${INSTALL_INFO} ${PREFIX}/info/fontname.info ${PREFIX}/info/dir
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/texmf
@find ${PREFIX}/share/texmf/fonts/pk ${PREFIX}/share/texmf/fonts/tfm \
-type d -print | xargs chmod 1777
@${SETENV} PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL
.include "../../mk/bsd.pkg.mk"
|