blob: 064e22ef809088058378f1266bdf043426e951dc (
plain) (
blame)
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
62
63
64
65
66
67
|
# New ports collection makefile for: ja-jlatex209
# Version required: a1.7-n1.52
# Date created: 4 Nov 1996
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
#
# $Id: Makefile,v 1.4 1997/08/22 11:36:26 asami Exp $
#
DISTNAME?= ja-jlatex209-a17-n152
CATEGORIES= japanese print
MASTER_SITES= ftp://bash.cc.keio.ac.jp/pub/TeX/ASCII/ \
ftp://ftp.iis.u-tokyo.ac.jp/TeX/NTT-JTeX/:old/ \
ftp://ftp.iis.u-tokyo.ac.jp/TeX/fonts/pk/ \
ftp://ftp.waseda.ac.jp/pub/tex/ascii-OLD/
DISTFILES= jtex-1.52.tar.gz tfm-files.tar.Z jtex1.7.tar.gz pTeX-JIS-patch
MAINTAINER= mita@jp.FreeBSD.org
USE_GMAKE= yes
NO_WRKSUBDIR= yes
EXTRACT_ONLY= jtex-1.52.tar.gz
# Which latex to be made at BATCH mode. BOTH, ASCII, NTT are available.
BATCH_TEX?= BOTH
post-extract:
@(\
cd ${WRKSRC} ; \
${MKDIR} jtex1.7 ; \
cd jtex1.7 ; \
tar xzf ${DISTDIR}/jtex1.7.tar.gz ; \
cd ptex/ptex ; \
${CP} -R ../../jtex/web2cdir . ; \
${CP} -R ../../jtex/jtangle . \
)
pre-build:
.if defined(BATCH)
@(\
cd ${WRKSRC} ; \
${SH} ${FILESDIR}/select.sh ${FILESDIR} ${DISTDIR} ${PKGDIR} ${BATCH_TEX}; \
)
.else
@(\
cd ${WRKSRC} ; \
${SH} ${FILESDIR}/select.sh ${FILESDIR} ${DISTDIR} ${PKGDIR} SELECT ; \
)
.endif
post-install:
.if !defined(BATCH)
@(\
if [ -e /usr/local/share/tex/BOTH ] ; \
then ${SH} ${FILESDIR}/linkselect.sh ; \
fi \
)
.endif
pre-reinstall:
@${RM} -f ${INSTALL_COOKIE}
@${RM} -f ${PACKAGE_COOKIE}
@(\
cd ${WRKSRC} ; \
${MAKE} reinstall DISTDIR=${DISTDIR} FILESDIR=${FILESDIR} \
)
.include <bsd.port.mk>
|