1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Japanized tcl ver 7.6. Together with the tk import, closes PR

ports/2764.

Submitted by:	Taguchi Takeshi <taguchi@tohoku.iij.ad.jp>
This commit is contained in:
Satoshi Asami 1997-03-02 13:01:25 +00:00
parent 3b9d0193b0
commit 59baa782f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5788
10 changed files with 1815 additions and 0 deletions

48
japanese/tcl76/Makefile Normal file
View File

@ -0,0 +1,48 @@
# New ports collection makefile for: tcl7.6jp
# Version required: 7.6p2jp
# Date created:
# Whom: taguchi@tohoku.iij.ad.jp
#
# $Id$
#
DISTNAME= tcl7.6p2
PKGNAME= jp-tcl-7.6
CATEGORIES= japanese lang
MASTER_SITES= ftp://ftp.sunlabs.com/pub/tcl/
PATCH_SITES= ftp://ftp.sra.co.jp/pub/lang/tcl/jp/
PATCHFILES= tcl7.6jp-patch.gz
MAINTAINER= taguchi@tohoku.iij.ad.jp
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
CONFIGURE_ENV= PORTSDIR=${PORTSDIR}
.if defined(PATCH_DEBUG)
PATCH_DIST_ARGS= -d ${WRKDIR}/${DISTNAME} -E ${PATCH_DIST_STRIP}
.else
PATCH_DIST_ARGS= -d ${WRKDIR}/${DISTNAME} --forward --quiet -E ${PATCH_DIST_STRIP}
.endif
post-extract:
@${MV} ${WRKDIR}/tcl7.6 ${WRKDIR}/${DISTNAME}
post-configure:
@${ECHO} "We will NOT only make shared library, but also static one."
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}
pre-build:
cd ${WRKSRC} && ${MAKE} -f Makefile.lib PREFIX=${PREFIX} && rm *.o
pre-install:
${MKDIR} ${PREFIX}/lib/tcl7.6jp
cd ${WRKSRC} && ${MAKE} -f Makefile.lib install PREFIX=${PREFIX}
${LDCONFIG} -m ${PREFIX}/lib
test:
cd ${WRKSRC} && ${MAKE} test
.include <bsd.port.mk>

2
japanese/tcl76/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (tcl7.6p2.tar.gz) = 0a6ff0d4aa87345966479f40ea347e9d
MD5 (tcl7.6jp-patch.gz) = dc438f30084d879f0200136a5bd6edaf

View File

@ -0,0 +1,45 @@
NOPROFILE= yes
VERSION= 7.6jp
LIB= tcl${VERSION}
TCL_LIBRARY= ${PREFIX}/lib/tcl${VERSION}
CFLAGS+= -I. -I./../generic \
-DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 \
-DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 \
-DHAVE_TM_GMTOFF=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 \
-DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DKANJI \
-DTCL_LIBRARY=\"${TCL_LIBRARY}\" \
-DTCL_PACKAGE_PATH="\"/usr/local/lib\""
GENERIC_DIR= ../generic
UNIX_DIR= .
SRCS= \
$(GENERIC_DIR)/regexp.c $(GENERIC_DIR)/tclAsync.c \
$(GENERIC_DIR)/tclBasic.c $(GENERIC_DIR)/tclCkalloc.c \
$(GENERIC_DIR)/tclClock.c $(GENERIC_DIR)/tclCmdAH.c \
$(GENERIC_DIR)/tclCmdIL.c $(GENERIC_DIR)/tclCmdMZ.c \
$(GENERIC_DIR)/tclDate.c $(GENERIC_DIR)/tclEnv.c \
$(GENERIC_DIR)/tclEvent.c $(GENERIC_DIR)/tclExpr.c \
$(GENERIC_DIR)/tclFHandle.c $(GENERIC_DIR)/tclFileName.c \
$(GENERIC_DIR)/tclGet.c $(GENERIC_DIR)/tclHash.c \
$(GENERIC_DIR)/tclHistory.c $(GENERIC_DIR)/tclInterp.c \
$(GENERIC_DIR)/tclIO.c $(GENERIC_DIR)/tclIOCmd.c \
$(GENERIC_DIR)/tclIOSock.c $(GENERIC_DIR)/tclIOUtil.c \
$(GENERIC_DIR)/tclLink.c $(GENERIC_DIR)/tclLoad.c \
$(GENERIC_DIR)/tclMain.c $(GENERIC_DIR)/tclNotify.c \
$(GENERIC_DIR)/tclParse.c $(GENERIC_DIR)/tclPkg.c \
$(GENERIC_DIR)/tclPosixStr.c $(GENERIC_DIR)/tclPreserve.c \
$(GENERIC_DIR)/tclProc.c $(GENERIC_DIR)/tclTest.c \
$(GENERIC_DIR)/tclUtil.c $(GENERIC_DIR)/tclVar.c \
$(GENERIC_DIR)/tclKanjiUtil.c \
$(UNIX_DIR)/tclAppInit.c $(UNIX_DIR)/tclMtherr.c \
$(UNIX_DIR)/tclUnixChan.c $(UNIX_DIR)/tclUnixFile.c \
$(UNIX_DIR)/tclUnixNotfy.c $(UNIX_DIR)/tclUnixPipe.c \
$(UNIX_DIR)/tclUnixSock.c $(UNIX_DIR)/tclUnixTest.c \
$(UNIX_DIR)/tclUnixTime.c $(UNIX_DIR)/tclUnixInit.c \
$(UNIX_DIR)/tclLoadDl2.c $(UNIX_DIR)/tclUnixFCmd.c
install:
install -c libtcl${VERSION}.a ${PREFIX}/lib/libtcl76jp.a
.include <bsd.lib.mk>

View File

@ -0,0 +1,77 @@
--- Makefile.in.ORIG Mon Feb 10 17:45:33 1997
+++ Makefile.in Mon Feb 10 17:47:04 1997
@@ -55,7 +55,7 @@
BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin
# Directory in which to install the include file tcl.h:
-INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include
+INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/tcl$(VERSION)
# Top-level directory in which to install manual entries:
MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man
@@ -73,7 +73,7 @@
# To change the compiler switches, for example to change from -O
# to -g, change the following line:
-CFLAGS = -O
+CFLAGS = @CFLAGS@
# To disable ANSI-C procedure prototypes reverse the comment characters
# on the following lines:
@@ -389,7 +389,7 @@
@echo "Installing tclsh"
@$(INSTALL_PROGRAM) tclsh $(BIN_INSTALL_DIR)/tclsh$(VERSION)
@echo "Installing tclConfig.sh"
- @$(INSTALL_DATA) tclConfig.sh $(LIB_INSTALL_DIR)/tclConfig.sh
+ @$(INSTALL_DATA) tclConfig.sh $(SCRIPT_INSTALL_DIR)/tclConfig.sh
install-libraries:
@for i in $(INSTALL_ROOT)$(prefix)/lib $(INCLUDE_INSTALL_DIR) \
@@ -423,30 +423,38 @@
@cd $(TOP_DIR)/doc; for i in *.1; \
do \
echo "Installing doc/$$i"; \
- rm -f $(MAN1_INSTALL_DIR)/$$i; \
+ rm -f $(MAN1_INSTALL_DIR)/$$i.gz; \
sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
- $$i > $(MAN1_INSTALL_DIR)/$$i; \
- chmod 444 $(MAN1_INSTALL_DIR)/$$i; \
+ $$i |gzip -9 > $(MAN1_INSTALL_DIR)/$$i.gz; \
+ chmod 444 $(MAN1_INSTALL_DIR)/$$i.gz; \
done;
$(UNIX_DIR)/mkLinks $(MAN1_INSTALL_DIR)
@cd $(TOP_DIR)/doc; for i in *.3; \
do \
echo "Installing doc/$$i"; \
- rm -f $(MAN3_INSTALL_DIR)/$$i; \
+ rm -f $(MAN3_INSTALL_DIR)/$$i.gz; \
sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
- $$i > $(MAN3_INSTALL_DIR)/$$i; \
- chmod 444 $(MAN3_INSTALL_DIR)/$$i; \
+ $$i |gzip -9 > $(MAN3_INSTALL_DIR)/$$i.gz; \
+ chmod 444 $(MAN3_INSTALL_DIR)/$$i.gz; \
done;
$(UNIX_DIR)/mkLinks $(MAN3_INSTALL_DIR)
@cd $(TOP_DIR)/doc; for i in *.n; \
do \
echo "Installing doc/$$i"; \
- rm -f $(MANN_INSTALL_DIR)/$$i; \
+ rm -f $(MANN_INSTALL_DIR)/$$i.gz; \
sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
- $$i > $(MANN_INSTALL_DIR)/$$i; \
- chmod 444 $(MANN_INSTALL_DIR)/$$i; \
+ $$i | gzip -9 > $(MANN_INSTALL_DIR)/$$i.gz; \
+ chmod 444 $(MANN_INSTALL_DIR)/$$i.gz; \
done;
$(UNIX_DIR)/mkLinks $(MANN_INSTALL_DIR)
+ @echo "**********"
+ @echo "IMPORTANT:"
+ @echo "**********"
+ @echo "We've installed:"
+ @echo "tclConfig.sh in $(SCRIPT_INSTALL_DIR)/tclConfig.sh"
+ @echo "tcl.h in $(INCLUDE_INSTALL_DIR)/tcl.h"
+ @echo "These are NOT the default place, but good place to avoid"
+ @echo "conflicting with another version of Tcl/Tks."
Makefile: $(UNIX_DIR)/Makefile.in
$(SHELL) config.status

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,11 @@
--- tclConfig.sh.in.ORIG Mon Feb 10 13:22:37 1997
+++ tclConfig.sh.in Mon Feb 10 13:23:28 1997
@@ -20,7 +20,7 @@
TCL_CC='@CC@'
# -D flags for use with the C compiler.
-TCL_DEFS='@DEFS@'
+TCL_DEFS='@DEFS@ -DKANJI'
# The name of the Tcl library (may be either a .a file or a shared library):
TCL_LIB_FILE=@TCL_LIB_FILE@

View File

@ -0,0 +1,44 @@
--- Makefile.in.ORIG Mon Feb 17 13:27:32 1997
+++ Makefile.in Mon Feb 17 13:40:57 1997
@@ -56,6 +56,8 @@
# Directory in which to install the include file tcl.h:
INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/tcl$(VERSION)
+GENERIC_INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/tcl$(VERSION)/generic
+UNIX_INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/tcl$(VERSION)/unix
# Top-level directory in which to install manual entries:
MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man
@@ -393,7 +395,8 @@
install-libraries:
@for i in $(INSTALL_ROOT)$(prefix)/lib $(INCLUDE_INSTALL_DIR) \
- $(SCRIPT_INSTALL_DIR) ; \
+ $(SCRIPT_INSTALL_DIR) $(GENERIC_INCLUDE_INSTALL_DIR) \
+ $(UNIX_INCLUDE_INSTALL_DIR) ; \
do \
if [ ! -d $$i ] ; then \
echo "Making directory $$i"; \
@@ -402,13 +405,20 @@
else true; \
fi; \
done;
- @echo "Installing tcl.h"
- @$(INSTALL_DATA) $(GENERIC_DIR)/tcl.h $(INCLUDE_INSTALL_DIR)/tcl.h
+ @echo "Installing libraries, tcl.h and other headers"
@for i in $(TOP_DIR)/library/*.tcl $(TOP_DIR)/library/tclIndex $(UNIX_DIR)/tclAppInit.c; \
do \
echo "Installing $$i"; \
$(INSTALL_DATA) $$i $(SCRIPT_INSTALL_DIR); \
done;
+ @echo "Installing $(TOP_DIR)unix/tclUnixPort.h"
+ @$(INSTALL_DATA) $(TOP_DIR)/unix/tclUnixPort.h $(UNIX_INCLUDE_INSTALL_DIR)
+ @for i in $(GENERIC_DIR)/*.h ; \
+ do \
+ echo "Installing $$i"; \
+ $(INSTALL_DATA) $$i $(GENERIC_INCLUDE_INSTALL_DIR); \
+ done;
+ @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tcl.h $(INCLUDE_INSTALL_DIR)/tcl.h
install-man:
@for i in $(MAN_INSTALL_DIR) $(MAN1_INSTALL_DIR) $(MAN3_INSTALL_DIR) $(MANN_INSTALL_DIR) ; \

View File

@ -0,0 +1 @@
Japanized Tcl (Tool Command Language).

11
japanese/tcl76/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
This package contains the binary release of Japanized Tcl7.6,
an embeddable tool command language.
Many thanks to Mr. Nishinaka and tcl-jp team.
The best way to get started with Tcl is to read ``Tcl and the Tk
Toolkit'' by John K. Ousterhout, Addison-Wesley, ISBN 0-201-63337-X.
And Japanized version of this document is available.
`` Tcl and Tk Toolkit'', SOFTBANK, ISBN4-89052-819-9.
A full set of manual pages is also provided with this package.

154
japanese/tcl76/pkg-plist Normal file
View File

@ -0,0 +1,154 @@
lib/libtcl76jp.a
lib/libtcl76jp.so.1.0
@exec /sbin/ldconfig -m %B
bin/tclsh7.6jp
include/tcl7.6jp/tcl.h
include/tcl7.6jp/unix/tclUnixPort.h
include/tcl7.6jp/generic/tcl.h
include/tcl7.6jp/generic/tclPatch.h
include/tcl7.6jp/generic/tclRegexp.h
include/tcl7.6jp/generic/tclInt.h
include/tcl7.6jp/generic/tclPort.h
lib/tcl7.6jp/tclConfig.sh
lib/tcl7.6jp/init.tcl
lib/tcl7.6jp/ldAout.tcl
lib/tcl7.6jp/parray.tcl
lib/tcl7.6jp/tclIndex
lib/tcl7.6jp/tclAppInit.c
man/man1/tclsh.1.gz
man/man3/AddErrInfo.3.gz
man/man3/AllowExc.3.gz
man/man3/AppInit.3.gz
man/man3/AssocData.3.gz
man/man3/Async.3.gz
man/man3/BackgdErr.3.gz
man/man3/Backslash.3.gz
man/man3/CallDel.3.gz
man/man3/CmdCmplt.3.gz
man/man3/Concat.3.gz
man/man3/CrtChannel.3.gz
man/man3/CrtChnlHdlr.3.gz
man/man3/CrtCloseHdlr.3.gz
man/man3/CrtCommand.3.gz
man/man3/CrtFileHdlr.3.gz
man/man3/CrtInterp.3.gz
man/man3/CrtMathFnc.3.gz
man/man3/CrtModalTmt.3.gz
man/man3/CrtSlave.3.gz
man/man3/CrtTimerHdlr.3.gz
man/man3/CrtTrace.3.gz
man/man3/DString.3.gz
man/man3/DetachPids.3.gz
man/man3/DoOneEvent.3.gz
man/man3/DoWhenIdle.3.gz
man/man3/Eval.3.gz
man/man3/Exit.3.gz
man/man3/ExprLong.3.gz
man/man3/FindExec.3.gz
man/man3/GetFile.3.gz
man/man3/GetInt.3.gz
man/man3/GetOpnFl.3.gz
man/man3/GetStdChan.3.gz
man/man3/Hash.3.gz
man/man3/Interp.3.gz
man/man3/LinkVar.3.gz
man/man3/Notifier.3.gz
man/man3/OpenFileChnl.3.gz
man/man3/OpenTcp.3.gz
man/man3/PkgRequire.3.gz
man/man3/Preserve.3.gz
man/man3/PrintDbl.3.gz
man/man3/RecordEval.3.gz
man/man3/RegExp.3.gz
man/man3/SetErrno.3.gz
man/man3/SetRecLmt.3.gz
man/man3/SetResult.3.gz
man/man3/SetVar.3.gz
man/man3/Sleep.3.gz
man/man3/SplitList.3.gz
man/man3/StaticPkg.3.gz
man/man3/StrMatch.3.gz
man/man3/Tcl_Main.3.gz
man/man3/TraceVar.3.gz
man/man3/Translate.3.gz
man/man3/UpVar.3.gz
man/mann/Tcl.n.gz
man/mann/after.n.gz
man/mann/append.n.gz
man/mann/array.n.gz
man/mann/bgerror.n.gz
man/mann/break.n.gz
man/mann/case.n.gz
man/mann/catch.n.gz
man/mann/cd.n.gz
man/mann/clock.n.gz
man/mann/close.n.gz
man/mann/concat.n.gz
man/mann/continue.n.gz
man/mann/eof.n.gz
man/mann/error.n.gz
man/mann/eval.n.gz
man/mann/exec.n.gz
man/mann/exit.n.gz
man/mann/expr.n.gz
man/mann/fblocked.n.gz
man/mann/fconfigure.n.gz
man/mann/file.n.gz
man/mann/fileevent.n.gz
man/mann/filename.n.gz
man/mann/flush.n.gz
man/mann/for.n.gz
man/mann/foreach.n.gz
man/mann/format.n.gz
man/mann/gets.n.gz
man/mann/glob.n.gz
man/mann/global.n.gz
man/mann/history.n.gz
man/mann/if.n.gz
man/mann/incr.n.gz
man/mann/info.n.gz
man/mann/interp.n.gz
man/mann/join.n.gz
man/mann/lappend.n.gz
man/mann/library.n.gz
man/mann/lindex.n.gz
man/mann/linsert.n.gz
man/mann/list.n.gz
man/mann/llength.n.gz
man/mann/load.n.gz
man/mann/lrange.n.gz
man/mann/lreplace.n.gz
man/mann/lsearch.n.gz
man/mann/lsort.n.gz
man/mann/open.n.gz
man/mann/package.n.gz
man/mann/pid.n.gz
man/mann/pkgMkIndex.n.gz
man/mann/proc.n.gz
man/mann/puts.n.gz
man/mann/pwd.n.gz
man/mann/read.n.gz
man/mann/regexp.n.gz
man/mann/regsub.n.gz
man/mann/rename.n.gz
man/mann/return.n.gz
man/mann/scan.n.gz
man/mann/seek.n.gz
man/mann/set.n.gz
man/mann/socket.n.gz
man/mann/source.n.gz
man/mann/split.n.gz
man/mann/string.n.gz
man/mann/subst.n.gz
man/mann/switch.n.gz
man/mann/tclvars.n.gz
man/mann/tell.n.gz
man/mann/time.n.gz
man/mann/trace.n.gz
man/mann/unknown.n.gz
man/mann/unset.n.gz
man/mann/update.n.gz
man/mann/uplevel.n.gz
man/mann/upvar.n.gz
man/mann/vwait.n.gz
man/mann/while.n.gz