1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/japanese/jtex209-both/Makefile
Satoshi Taoka 960c5b4f7c This needs bison in compiling, so USE_BISON should be added.
PR:		16384
Submitted by:	MIHIRA Yoshiro <anpei@sanpei.org>
Approved by:	maintainer
2000-01-27 01:05:08 +00:00

69 lines
1.5 KiB
Makefile

# 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>
#
# $FreeBSD$
#
DISTNAME?= ja-jlatex209-a17-n152
CATEGORIES= japanese print
MASTER_SITES= 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
MANUAL_PACKAGE_BUILD= incompatible with other versions of jtex-*
USE_GMAKE= yes
NO_WRKSUBDIR= yes
EXTRACT_ONLY= jtex-1.52.tar.gz
USE_BISON= yes
# 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 ${PREFIX}/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>