From 6667e92e1cd7284c507f4c8c67b09fa1fcb76e50 Mon Sep 17 00:00:00 2001 From: Masafumi Max NAKANE Date: Wed, 22 Jan 1997 04:35:58 +0000 Subject: Now, if FOR_CDROM is defined, do-fetch will fetch all the distfiles including characterset dependent ones. echo prompt; read var -> read -p prompt var --- japanese/ptex-base/Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'japanese/ptex-base') diff --git a/japanese/ptex-base/Makefile b/japanese/ptex-base/Makefile index 64d8d486ed81..84cfa91a5f4f 100644 --- a/japanese/ptex-base/Makefile +++ b/japanese/ptex-base/Makefile @@ -3,7 +3,7 @@ # Date created: 5 Nov 1995 # Whom: Hideaki Ohmon # -# $Id: Makefile,v 1.13 1996/11/11 08:11:46 max Exp $ +# $Id: Makefile,v 1.14 1996/11/13 12:41:09 asami Exp $ # DISTNAME= ptex3.1415.p2.1.4 @@ -44,9 +44,8 @@ pre-fetch: .if !defined(KANJI-CODE) @echo "You can set KANJI-CODE value to JIS, SJIS or EUC." @echo "Now JIS is used as default." -.if !defined(BATCH) - @echo -n "Is JIS OK? (y/n) ==> " - @(read ans; \ +.if !defined(BATCH) && !defined(FOR_CDROM) + @(read -p "Is JIS OK? (y/n) ==> " ans; \ case x"$$ans" in \ xy*|xY*) \ return 0; \ @@ -72,7 +71,11 @@ LIB_FILE= plib-euc.tar.gz @echo "Possible values are: JIS (default), SJIS, EUC." @false .endif +.if !defined(FOR_CDROM) DISTFILES+= ${LIB_FILE} +.else +DISTFILES+= plib-jis.tar.gz plib-sj.tar.gz plib-euc.tar.gz +.endif EXTRACT_ONLY+= ${LIB_FILE} post-extract: @@ -84,7 +87,7 @@ pre-patch: @${PATCH} -p -s -d ${WRKSRC} < ${DISTDIR}/web2c.kpathsea-2.6.help pre-configure: - (cd ${WRKDIR}/ptex-2.1.4 ; \ + @(cd ${WRKDIR}/ptex-2.1.4 ; \ ./pTeXsetup -`echo ${KANJI-CODE} | tr A-Z a-z`) post-configure: -- cgit v1.2.3