1997-09-24 06:43:50 +00:00
|
|
|
# New ports collection makefile for: ja-jlatex209
|
1996-11-11 08:42:48 +00:00
|
|
|
# Version required: a1.7-n1.52
|
|
|
|
# Date created: 4 Nov 1996
|
|
|
|
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
|
|
|
|
#
|
1997-11-22 01:38:55 +00:00
|
|
|
# $Id: Makefile,v 1.6 1997/11/10 11:22:24 asami Exp $
|
1996-11-11 08:42:48 +00:00
|
|
|
#
|
|
|
|
|
1997-09-24 06:43:50 +00:00
|
|
|
DISTNAME?= ja-jlatex209-a17-n152
|
1996-11-11 08:42:48 +00:00
|
|
|
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/ \
|
1997-08-22 11:36:26 +00:00
|
|
|
ftp://ftp.waseda.ac.jp/pub/tex/ascii-OLD/
|
1996-11-11 08:42:48 +00:00
|
|
|
DISTFILES= jtex-1.52.tar.gz tfm-files.tar.Z jtex1.7.tar.gz pTeX-JIS-patch
|
|
|
|
|
|
|
|
MAINTAINER= mita@jp.FreeBSD.org
|
|
|
|
|
1997-11-22 01:38:55 +00:00
|
|
|
MANUAL_PACKAGE_BUILD= incompatible with other versions of jtex-*
|
1996-11-11 08:42:48 +00:00
|
|
|
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} ; \
|
1996-12-03 13:08:20 +00:00
|
|
|
${MKDIR} jtex1.7 ; \
|
1996-11-11 08:42:48 +00:00
|
|
|
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} ; \
|
1997-07-13 18:49:31 +00:00
|
|
|
${SH} ${FILESDIR}/select.sh ${FILESDIR} ${DISTDIR} ${PKGDIR} ${BATCH_TEX}; \
|
1996-11-11 08:42:48 +00:00
|
|
|
)
|
|
|
|
.else
|
|
|
|
@(\
|
|
|
|
cd ${WRKSRC} ; \
|
1997-07-13 18:49:31 +00:00
|
|
|
${SH} ${FILESDIR}/select.sh ${FILESDIR} ${DISTDIR} ${PKGDIR} SELECT ; \
|
1996-11-11 08:42:48 +00:00
|
|
|
)
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(BATCH)
|
|
|
|
@(\
|
|
|
|
if [ -e /usr/local/share/tex/BOTH ] ; \
|
1997-07-13 18:49:31 +00:00
|
|
|
then ${SH} ${FILESDIR}/linkselect.sh ; \
|
1996-11-11 08:42:48 +00:00
|
|
|
fi \
|
|
|
|
)
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-reinstall:
|
|
|
|
@${RM} -f ${INSTALL_COOKIE}
|
|
|
|
@${RM} -f ${PACKAGE_COOKIE}
|
|
|
|
@(\
|
|
|
|
cd ${WRKSRC} ; \
|
|
|
|
${MAKE} reinstall DISTDIR=${DISTDIR} FILESDIR=${FILESDIR} \
|
|
|
|
)
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|