diff options
Diffstat (limited to 'japanese/jtex209-both/Makefile')
-rw-r--r-- | japanese/jtex209-both/Makefile | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/japanese/jtex209-both/Makefile b/japanese/jtex209-both/Makefile index 69e455d..fea656a 100644 --- a/japanese/jtex209-both/Makefile +++ b/japanese/jtex209-both/Makefile @@ -1,35 +1,53 @@ # 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 +PORTNAME= jlatex209 +PORTVERSION= ${_PORTVERSION} +PKGNAMESUFFIX= ${_PKGNAMESUFFIX} 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 +DISTFILES= jtex-${NTT_VERSION}.tar.gz \ + tfm-files.tar.Z \ + jtex${ASCII_VERSION}.tar.gz \ + pTeX-JIS-patch MAINTAINER= mita@jp.FreeBSD.org +ASCII_VERSION= 1.7 +NTT_VERSION= 1.52 + MANUAL_PACKAGE_BUILD= incompatible with other versions of jtex-* USE_GMAKE= yes NO_WRKSUBDIR= yes -EXTRACT_ONLY= jtex-1.52.tar.gz +EXTRACT_ONLY= jtex-${NTT_VERSION}.tar.gz USE_BISON= yes # Which latex to be made at BATCH mode. BOTH, ASCII, NTT are available. BATCH_TEX?= BOTH +.if ${BATCH_TEX} == BOTH +_PORTVERSION= ${ASCII_VERSION}+${NTT_VERSION} +_PKGNAMESUFFIX= -ascii+ntt +.elseif ${BATCH_TEX} == ASCII +_PORTVERSION= ${ASCII_VERSION} +_PKGNAMESUFFIX= -ascii +.elseif ${BATCH_TEX} == NTT +_PORTVERSION= ${NTT_VERSION} +_PKGNAMESUFFIX= -ntt +.endif + post-extract: @(\ cd ${WRKSRC} ; \ - ${MKDIR} jtex1.7 ; \ + ${MKDIR} jtex${ASCII_VERSION} ; \ cd jtex1.7 ; \ - tar xzf ${DISTDIR}/jtex1.7.tar.gz ; \ + tar xzf ${DISTDIR}/jtex${ASCII_VERSION}.tar.gz ; \ cd ptex/ptex ; \ ${CP} -R ../../jtex/web2cdir . ; \ ${CP} -R ../../jtex/jtangle . \ |