aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/ptex-base
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1997-01-22 12:35:58 +0800
committermax <max@FreeBSD.org>1997-01-22 12:35:58 +0800
commit9cf6bad07974919adae3b94c2e106ac5e7f4d8f8 (patch)
tree78ac3a7327a1f8555d533d5d26f7efa22c7c2aff /japanese/ptex-base
parent7157b08b5fe3ee6c5d8c02bba91ccfbe105e9dd5 (diff)
downloadfreebsd-ports-gnome-9cf6bad07974919adae3b94c2e106ac5e7f4d8f8.tar.gz
freebsd-ports-gnome-9cf6bad07974919adae3b94c2e106ac5e7f4d8f8.tar.zst
freebsd-ports-gnome-9cf6bad07974919adae3b94c2e106ac5e7f4d8f8.zip
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
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: