summaryrefslogtreecommitdiff
path: root/japanese/ptex-base
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1997-01-22 04:35:58 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1997-01-22 04:35:58 +0000
commit6667e92e1cd7284c507f4c8c67b09fa1fcb76e50 (patch)
tree757f6e4d4099af2eebc0c111cc7d42f804c32c58 /japanese/ptex-base
parentPathname was wrong. (diff)
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
Notes
Notes: svn path=/head/; revision=5406
Diffstat (limited to 'japanese/ptex-base')
-rw-r--r--japanese/ptex-base/Makefile13
1 files changed, 8 insertions, 5 deletions
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 <ohmon@sfc.keio.ac.jp>
#
-# $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: