Chineselized Tcl ver. 8.3.0. This version is i18n improvement.
This changes the behavior of Tk on X where X Input Methods (XIM) were recognized and used without question. With 8.3, they will be recognized and initialized, but not used unless XIM is turned on (tk useinputmethods 1). This should only affect users users with special input methods, and the new default behavior should be more beneficial to the average user. BTW, please repo copy, thanks.
This commit is contained in:
parent
4b62c770fd
commit
06762bfda1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38578
14 changed files with 3254 additions and 0 deletions
|
@ -54,6 +54,7 @@
|
|||
SUBDIR += rxvt-big5
|
||||
SUBDIR += rxvt-gb
|
||||
SUBDIR += stardict
|
||||
SUBDIR += tcl83
|
||||
SUBDIR += ted
|
||||
SUBDIR += telnet
|
||||
SUBDIR += tin
|
||||
|
|
423
chinese/tcl83/Makefile
Normal file
423
chinese/tcl83/Makefile
Normal file
|
@ -0,0 +1,423 @@
|
|||
# New ports collection makefile for: tcl8.3
|
||||
# Date created: 21 February 2001
|
||||
# Whom: Kevin Lo <kevlo@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= tcl
|
||||
PORTVERSION= 8.3.0
|
||||
CATEGORIES= chinese lang tcl83
|
||||
MASTER_SITES= ${MASTER_SITE_TCLTK}
|
||||
MASTER_SITE_SUBDIR= tcl8_3
|
||||
DISTNAME= ${PORTNAME}${PORTVERSION}
|
||||
|
||||
MAINTAINER= kevlo@FreeBSD.org
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= PORTSDIR=${PORTSDIR}
|
||||
CONFIGURE_ARGS= --enable-shared --enable-i18nImprove
|
||||
INSTALLS_SHLIB= yes
|
||||
MAKE_ENV= SHORT_TCL_VER=83
|
||||
PKGINSTALL= ${PKGDIR}/INSTALL.tclsh
|
||||
|
||||
PLIST_SUB= TCL_VER=8.3 SHORT_TCL_VER=83
|
||||
|
||||
MAN1= tclsh.1
|
||||
|
||||
MAN3= Access.3 AddErrInfo.3 Alloc.3 AllowExc.3 AppInit.3 AssocData.3 \
|
||||
Async.3 BackgdErr.3 Backslash.3 BoolObj.3 ByteArrObj.3 CallDel.3 \
|
||||
ChnlStack.3 CmdCmplt.3 Concat.3 CrtChannel.3 CrtChnlHdlr.3 \
|
||||
CrtCloseHdlr.3 CrtCommand.3 CrtFileHdlr.3 CrtInterp.3 CrtMathFnc.3 \
|
||||
CrtObjCmd.3 CrtSlave.3 CrtTimerHdlr.3 CrtTrace.3 DString.3 \
|
||||
DetachPids.3 DoOneEvent.3 DoWhenIdle.3 DoubleObj.3 Encoding.3 Eval.3 \
|
||||
Exit.3 ExprLong.3 ExprLongObj.3 FindExec.3 GetCwd.3 GetHostName.3 \
|
||||
GetIndex.3 GetInt.3 GetOpnFl.3 GetStdChan.3 GetVersion.3 Hash.3 \
|
||||
InitStubs.3 IntObj.3 Interp.3 LinkVar.3 ListObj.3 Notifier.3 Object.3 \
|
||||
ObjectType.3 OpenFileChnl.3 OpenTcp.3 ParseCmd.3 PkgRequire.3 \
|
||||
Preserve.3 PrintDbl.3 RecEvalObj.3 RecordEval.3 RegExp.3 SaveResult.3 \
|
||||
SetErrno.3 SetRecLmt.3 SetResult.3 SetVar.3 Sleep.3 SplitList.3 \
|
||||
SplitPath.3 StaticPkg.3 StrMatch.3 StringObj.3 Tcl_Main.3 Thread.3 \
|
||||
ToUpper.3 TraceVar.3 Translate.3 UpVar.3 Utf.3 WrongNumArgs.3
|
||||
|
||||
MANN= Tcl.n after.n append.n array.n bgerror.n binary.n break.n case.n \
|
||||
catch.n cd.n clock.n close.n concat.n continue.n dde.n encoding.n \
|
||||
eof.n error.n eval.n exec.n exit.n expr.n fblocked.n fconfigure.n \
|
||||
fcopy.n file.n fileevent.n filename.n flush.n for.n foreach.n \
|
||||
format.n gets.n glob.n global.n history.n http.n if.n incr.n info.n \
|
||||
interp.n join.n lappend.n library.n lindex.n linsert.n list.n \
|
||||
llength.n load.n lrange.n lreplace.n lsearch.n lsort.n msgcat.n \
|
||||
namespace.n open.n package.n packagens.n pid.n pkgMkIndex.n proc.n \
|
||||
puts.n pwd.n re_syntax.n read.n regexp.n registry.n regsub.n rename.n \
|
||||
resource.n return.n safe.n scan.n seek.n set.n socket.n source.n \
|
||||
split.n string.n subst.n switch.n tcltest.n tclvars.n tell.n time.n \
|
||||
trace.n unknown.n unset.n update.n uplevel.n upvar.n variable.n \
|
||||
vwait.n while.n
|
||||
|
||||
# MLINKS generated via awk '/ln/ {print "\t" $2,$3,"\\"}' unix/mkLinks
|
||||
MLINKS= Access.3 Tcl_Access.3 \
|
||||
Access.3 Tcl_Stat.3 \
|
||||
AddErrInfo.3 Tcl_AddObjErrorInfo.3 \
|
||||
AddErrInfo.3 Tcl_AddErrorInfo.3 \
|
||||
AddErrInfo.3 Tcl_SetErrorCode.3 \
|
||||
AddErrInfo.3 Tcl_SetErrorCodeVA.3 \
|
||||
AddErrInfo.3 Tcl_PosixError.3 \
|
||||
Alloc.3 Tcl_Alloc.3 \
|
||||
Alloc.3 Tcl_Free.3 \
|
||||
Alloc.3 Tcl_Realloc.3 \
|
||||
AllowExc.3 Tcl_AllowExceptions.3 \
|
||||
AppInit.3 Tcl_AppInit.3 \
|
||||
AssocData.3 Tcl_GetAssocData.3 \
|
||||
AssocData.3 Tcl_SetAssocData.3 \
|
||||
AssocData.3 Tcl_DeleteAssocData.3 \
|
||||
Async.3 Tcl_AsyncCreate.3 \
|
||||
Async.3 Tcl_AsyncMark.3 \
|
||||
Async.3 Tcl_AsyncInvoke.3 \
|
||||
Async.3 Tcl_AsyncDelete.3 \
|
||||
Async.3 Tcl_AsyncReady.3 \
|
||||
BackgdErr.3 Tcl_BackgroundError.3 \
|
||||
Backslash.3 Tcl_Backslash.3 \
|
||||
BoolObj.3 Tcl_NewBooleanObj.3 \
|
||||
BoolObj.3 Tcl_SetBooleanObj.3 \
|
||||
BoolObj.3 Tcl_GetBooleanFromObj.3 \
|
||||
ByteArrObj.3 Tcl_NewByteArrayObj.3 \
|
||||
ByteArrObj.3 Tcl_SetByteArrayObj.3 \
|
||||
ByteArrObj.3 Tcl_GetByteArrayFromObj.3 \
|
||||
ByteArrObj.3 Tcl_SetByteArrayLength.3 \
|
||||
CallDel.3 Tcl_CallWhenDeleted.3 \
|
||||
CallDel.3 Tcl_DontCallWhenDeleted.3 \
|
||||
ChnlStack.3 Tcl_StackChannel.3 \
|
||||
ChnlStack.3 Tcl_UnstackChannel.3 \
|
||||
CmdCmplt.3 Tcl_CommandComplete.3 \
|
||||
Concat.3 Tcl_Concat.3 \
|
||||
CrtChannel.3 Tcl_CreateChannel.3 \
|
||||
CrtChannel.3 Tcl_GetChannelInstanceData.3 \
|
||||
CrtChannel.3 Tcl_GetChannelType.3 \
|
||||
CrtChannel.3 Tcl_GetChannelName.3 \
|
||||
CrtChannel.3 Tcl_GetChannelHandle.3 \
|
||||
CrtChannel.3 Tcl_GetChannelMode.3 \
|
||||
CrtChannel.3 Tcl_GetChannelBufferSize.3 \
|
||||
CrtChannel.3 Tcl_SetChannelBufferSize.3 \
|
||||
CrtChannel.3 Tcl_NotifyChannel.3 \
|
||||
CrtChannel.3 Tcl_BadChannelOption.3 \
|
||||
CrtChnlHdlr.3 Tcl_CreateChannelHandler.3 \
|
||||
CrtChnlHdlr.3 Tcl_DeleteChannelHandler.3 \
|
||||
CrtCloseHdlr.3 Tcl_CreateCloseHandler.3 \
|
||||
CrtCloseHdlr.3 Tcl_DeleteCloseHandler.3 \
|
||||
CrtCommand.3 Tcl_CreateCommand.3 \
|
||||
CrtFileHdlr.3 Tcl_CreateFileHandler.3 \
|
||||
CrtFileHdlr.3 Tcl_DeleteFileHandler.3 \
|
||||
CrtInterp.3 Tcl_CreateInterp.3 \
|
||||
CrtInterp.3 Tcl_DeleteInterp.3 \
|
||||
CrtInterp.3 Tcl_InterpDeleted.3 \
|
||||
CrtMathFnc.3 Tcl_CreateMathFunc.3 \
|
||||
CrtObjCmd.3 Tcl_CreateObjCommand.3 \
|
||||
CrtObjCmd.3 Tcl_DeleteCommand.3 \
|
||||
CrtObjCmd.3 Tcl_DeleteCommandFromToken.3 \
|
||||
CrtObjCmd.3 Tcl_GetCommandInfo.3 \
|
||||
CrtObjCmd.3 Tcl_SetCommandInfo.3 \
|
||||
CrtObjCmd.3 Tcl_GetCommandName.3 \
|
||||
CrtSlave.3 Tcl_IsSafe.3 \
|
||||
CrtSlave.3 Tcl_MakeSafe.3 \
|
||||
CrtSlave.3 Tcl_CreateSlave.3 \
|
||||
CrtSlave.3 Tcl_GetSlave.3 \
|
||||
CrtSlave.3 Tcl_GetMaster.3 \
|
||||
CrtSlave.3 Tcl_GetInterpPath.3 \
|
||||
CrtSlave.3 Tcl_CreateAlias.3 \
|
||||
CrtSlave.3 Tcl_CreateAliasObj.3 \
|
||||
CrtSlave.3 Tcl_GetAlias.3 \
|
||||
CrtSlave.3 Tcl_GetAliasObj.3 \
|
||||
CrtSlave.3 Tcl_ExposeCommand.3 \
|
||||
CrtSlave.3 Tcl_HideCommand.3 \
|
||||
CrtTimerHdlr.3 Tcl_CreateTimerHandler.3 \
|
||||
CrtTimerHdlr.3 Tcl_DeleteTimerHandler.3 \
|
||||
CrtTrace.3 Tcl_CreateTrace.3 \
|
||||
CrtTrace.3 Tcl_DeleteTrace.3 \
|
||||
DString.3 Tcl_DStringInit.3 \
|
||||
DString.3 Tcl_DStringAppend.3 \
|
||||
DString.3 Tcl_DStringAppendElement.3 \
|
||||
DString.3 Tcl_DStringStartSublist.3 \
|
||||
DString.3 Tcl_DStringEndSublist.3 \
|
||||
DString.3 Tcl_DStringLength.3 \
|
||||
DString.3 Tcl_DStringValue.3 \
|
||||
DString.3 Tcl_DStringSetLength.3 \
|
||||
DString.3 Tcl_DStringFree.3 \
|
||||
DString.3 Tcl_DStringResult.3 \
|
||||
DString.3 Tcl_DStringGetResult.3 \
|
||||
DetachPids.3 Tcl_DetachPids.3 \
|
||||
DetachPids.3 Tcl_ReapDetachedProcs.3 \
|
||||
DoOneEvent.3 Tcl_DoOneEvent.3 \
|
||||
DoWhenIdle.3 Tcl_DoWhenIdle.3 \
|
||||
DoWhenIdle.3 Tcl_CancelIdleCall.3 \
|
||||
DoubleObj.3 Tcl_NewDoubleObj.3 \
|
||||
DoubleObj.3 Tcl_SetDoubleObj.3 \
|
||||
DoubleObj.3 Tcl_GetDoubleFromObj.3 \
|
||||
Encoding.3 Tcl_GetEncoding.3 \
|
||||
Encoding.3 Tcl_FreeEncoding.3 \
|
||||
Encoding.3 Tcl_ExternalToUtfDString.3 \
|
||||
Encoding.3 Tcl_ExternalToUtf.3 \
|
||||
Encoding.3 Tcl_UtfToExternalDString.3 \
|
||||
Encoding.3 Tcl_UtfToExternal.3 \
|
||||
Encoding.3 Tcl_WinTCharToUtf.3 \
|
||||
Encoding.3 Tcl_WinUtfToTChar.3 \
|
||||
Encoding.3 Tcl_GetEncodingName.3 \
|
||||
Encoding.3 Tcl_SetSystemEncoding.3 \
|
||||
Encoding.3 Tcl_GetEncodingNames.3 \
|
||||
Encoding.3 Tcl_CreateEncoding.3 \
|
||||
Encoding.3 Tcl_GetDefaultEncodingDir.3 \
|
||||
Encoding.3 Tcl_SetDefaultEncodingDir.3 \
|
||||
Eval.3 Tcl_EvalObjEx.3 \
|
||||
Eval.3 Tcl_EvalFile.3 \
|
||||
Eval.3 Tcl_EvalObjv.3 \
|
||||
Eval.3 Tcl_Eval.3 \
|
||||
Eval.3 Tcl_EvalEx.3 \
|
||||
Eval.3 Tcl_GlobalEval.3 \
|
||||
Eval.3 Tcl_GlobalEvalObj.3 \
|
||||
Eval.3 Tcl_VarEval.3 \
|
||||
Eval.3 Tcl_VarEvalVA.3 \
|
||||
Exit.3 Tcl_Exit.3 \
|
||||
Exit.3 Tcl_Finalize.3 \
|
||||
Exit.3 Tcl_FinalizeThread.3 \
|
||||
Exit.3 Tcl_CreateExitHandler.3 \
|
||||
Exit.3 Tcl_DeleteExitHandler.3 \
|
||||
Exit.3 Tcl_CreateThreadExitHandler.3 \
|
||||
Exit.3 Tcl_DeleteThreadExitHandler.3 \
|
||||
ExprLong.3 Tcl_ExprLong.3 \
|
||||
ExprLong.3 Tcl_ExprDouble.3 \
|
||||
ExprLong.3 Tcl_ExprBoolean.3 \
|
||||
ExprLong.3 Tcl_ExprString.3 \
|
||||
ExprLongObj.3 Tcl_ExprLongObj.3 \
|
||||
ExprLongObj.3 Tcl_ExprDoubleObj.3 \
|
||||
ExprLongObj.3 Tcl_ExprBooleanObj.3 \
|
||||
ExprLongObj.3 Tcl_ExprObj.3 \
|
||||
FindExec.3 Tcl_FindExecutable.3 \
|
||||
FindExec.3 Tcl_GetNameOfExecutable.3 \
|
||||
GetCwd.3 Tcl_GetCwd.3 \
|
||||
GetCwd.3 Tcl_Chdir.3 \
|
||||
GetHostName.3 Tcl_GetHostName.3 \
|
||||
GetIndex.3 Tcl_GetIndexFromObj.3 \
|
||||
GetInt.3 Tcl_GetInt.3 \
|
||||
GetInt.3 Tcl_GetDouble.3 \
|
||||
GetInt.3 Tcl_GetBoolean.3 \
|
||||
GetOpnFl.3 Tcl_GetOpenFile.3 \
|
||||
GetStdChan.3 Tcl_GetStdChannel.3 \
|
||||
GetStdChan.3 Tcl_SetStdChannel.3 \
|
||||
GetVersion.3 Tcl_GetVersion.3 \
|
||||
Hash.3 Tcl_InitHashTable.3 \
|
||||
Hash.3 Tcl_DeleteHashTable.3 \
|
||||
Hash.3 Tcl_CreateHashEntry.3 \
|
||||
Hash.3 Tcl_DeleteHashEntry.3 \
|
||||
Hash.3 Tcl_FindHashEntry.3 \
|
||||
Hash.3 Tcl_GetHashValue.3 \
|
||||
Hash.3 Tcl_SetHashValue.3 \
|
||||
Hash.3 Tcl_GetHashKey.3 \
|
||||
Hash.3 Tcl_FirstHashEntry.3 \
|
||||
Hash.3 Tcl_NextHashEntry.3 \
|
||||
Hash.3 Tcl_HashStats.3 \
|
||||
InitStubs.3 Tcl_InitStubs.3 \
|
||||
IntObj.3 Tcl_NewIntObj.3 \
|
||||
IntObj.3 Tcl_NewLongObj.3 \
|
||||
IntObj.3 Tcl_SetIntObj.3 \
|
||||
IntObj.3 Tcl_SetLongObj.3 \
|
||||
IntObj.3 Tcl_GetIntFromObj.3 \
|
||||
IntObj.3 Tcl_GetLongFromObj.3 \
|
||||
Interp.3 Tcl_Interp.3 \
|
||||
LinkVar.3 Tcl_LinkVar.3 \
|
||||
LinkVar.3 Tcl_UnlinkVar.3 \
|
||||
LinkVar.3 Tcl_UpdateLinkedVar.3 \
|
||||
ListObj.3 Tcl_ListObjAppendList.3 \
|
||||
ListObj.3 Tcl_ListObjAppendElement.3 \
|
||||
ListObj.3 Tcl_NewListObj.3 \
|
||||
ListObj.3 Tcl_SetListObj.3 \
|
||||
ListObj.3 Tcl_ListObjGetElements.3 \
|
||||
ListObj.3 Tcl_ListObjLength.3 \
|
||||
ListObj.3 Tcl_ListObjIndex.3 \
|
||||
ListObj.3 Tcl_ListObjReplace.3 \
|
||||
Notifier.3 Tcl_CreateEventSource.3 \
|
||||
Notifier.3 Tcl_DeleteEventSource.3 \
|
||||
Notifier.3 Tcl_SetMaxBlockTime.3 \
|
||||
Notifier.3 Tcl_QueueEvent.3 \
|
||||
Notifier.3 Tcl_ThreadQueueEvent.3 \
|
||||
Notifier.3 Tcl_ThreadAlert.3 \
|
||||
Notifier.3 Tcl_GetCurrentThread.3 \
|
||||
Notifier.3 Tcl_DeleteEvents.3 \
|
||||
Notifier.3 Tcl_InitNotifier.3 \
|
||||
Notifier.3 Tcl_FinalizeNotifier.3 \
|
||||
Notifier.3 Tcl_WaitForEvent.3 \
|
||||
Notifier.3 Tcl_AlertNotifier.3 \
|
||||
Notifier.3 Tcl_SetTimer.3 \
|
||||
Notifier.3 Tcl_ServiceAll.3 \
|
||||
Notifier.3 Tcl_ServiceEvent.3 \
|
||||
Notifier.3 Tcl_GetServiceMode.3 \
|
||||
Notifier.3 Tcl_SetServiceMode.3 \
|
||||
Object.3 Tcl_NewObj.3 \
|
||||
Object.3 Tcl_DuplicateObj.3 \
|
||||
Object.3 Tcl_IncrRefCount.3 \
|
||||
Object.3 Tcl_DecrRefCount.3 \
|
||||
Object.3 Tcl_IsShared.3 \
|
||||
ObjectType.3 Tcl_RegisterObjType.3 \
|
||||
ObjectType.3 Tcl_GetObjType.3 \
|
||||
ObjectType.3 Tcl_AppendAllObjTypes.3 \
|
||||
ObjectType.3 Tcl_ConvertToType.3 \
|
||||
OpenFileChnl.3 Tcl_OpenFileChannel.3 \
|
||||
OpenFileChnl.3 Tcl_OpenCommandChannel.3 \
|
||||
OpenFileChnl.3 Tcl_MakeFileChannel.3 \
|
||||
OpenFileChnl.3 Tcl_GetChannel.3 \
|
||||
OpenFileChnl.3 Tcl_GetChannelNames.3 \
|
||||
OpenFileChnl.3 Tcl_GetChannelNamesEx.3 \
|
||||
OpenFileChnl.3 Tcl_RegisterChannel.3 \
|
||||
OpenFileChnl.3 Tcl_UnregisterChannel.3 \
|
||||
OpenFileChnl.3 Tcl_Close.3 \
|
||||
OpenFileChnl.3 Tcl_ReadChars.3 \
|
||||
OpenFileChnl.3 Tcl_Read.3 \
|
||||
OpenFileChnl.3 Tcl_GetsObj.3 \
|
||||
OpenFileChnl.3 Tcl_Gets.3 \
|
||||
OpenFileChnl.3 Tcl_WriteObj.3 \
|
||||
OpenFileChnl.3 Tcl_WriteChars.3 \
|
||||
OpenFileChnl.3 Tcl_Write.3 \
|
||||
OpenFileChnl.3 Tcl_Flush.3 \
|
||||
OpenFileChnl.3 Tcl_Seek.3 \
|
||||
OpenFileChnl.3 Tcl_Tell.3 \
|
||||
OpenFileChnl.3 Tcl_GetChannelOption.3 \
|
||||
OpenFileChnl.3 Tcl_SetChannelOption.3 \
|
||||
OpenFileChnl.3 Tcl_Eof.3 \
|
||||
OpenFileChnl.3 Tcl_InputBlocked.3 \
|
||||
OpenFileChnl.3 Tcl_InputBuffered.3 \
|
||||
OpenTcp.3 Tcl_OpenTcpClient.3 \
|
||||
OpenTcp.3 Tcl_MakeTcpClientChannel.3 \
|
||||
OpenTcp.3 Tcl_OpenTcpServer.3 \
|
||||
ParseCmd.3 Tcl_ParseCommand.3 \
|
||||
ParseCmd.3 Tcl_ParseExpr.3 \
|
||||
ParseCmd.3 Tcl_ParseBraces.3 \
|
||||
ParseCmd.3 Tcl_ParseQuotedString.3 \
|
||||
ParseCmd.3 Tcl_ParseVarName.3 \
|
||||
ParseCmd.3 Tcl_FreeParse.3 \
|
||||
ParseCmd.3 Tcl_EvalTokens.3 \
|
||||
PkgRequire.3 Tcl_PkgRequire.3 \
|
||||
PkgRequire.3 Tcl_PkgRequireEx.3 \
|
||||
PkgRequire.3 Tcl_PkgPresent.3 \
|
||||
PkgRequire.3 Tcl_PkgPresentEx.3 \
|
||||
PkgRequire.3 Tcl_PkgProvide.3 \
|
||||
PkgRequire.3 Tcl_PkgProvideEx.3 \
|
||||
Preserve.3 Tcl_Preserve.3 \
|
||||
Preserve.3 Tcl_Release.3 \
|
||||
Preserve.3 Tcl_EventuallyFree.3 \
|
||||
PrintDbl.3 Tcl_PrintDouble.3 \
|
||||
RecEvalObj.3 Tcl_RecordAndEvalObj.3 \
|
||||
RecordEval.3 Tcl_RecordAndEval.3 \
|
||||
RegExp.3 Tcl_RegExpMatch.3 \
|
||||
RegExp.3 Tcl_RegExpCompile.3 \
|
||||
RegExp.3 Tcl_RegExpExec.3 \
|
||||
RegExp.3 Tcl_RegExpRange.3 \
|
||||
RegExp.3 Tcl_GetRegExpFromObj.3 \
|
||||
RegExp.3 Tcl_RegExpMatchObj.3 \
|
||||
RegExp.3 Tcl_GetRegExpInfo.3 \
|
||||
SaveResult.3 Tcl_SaveResult.3 \
|
||||
SaveResult.3 Tcl_RestoreResult.3 \
|
||||
SaveResult.3 Tcl_DiscardResult.3 \
|
||||
SetErrno.3 Tcl_SetErrno.3 \
|
||||
SetErrno.3 Tcl_GetErrno.3 \
|
||||
SetErrno.3 Tcl_ErrnoId.3 \
|
||||
SetErrno.3 Tcl_ErrnoMsg.3 \
|
||||
SetRecLmt.3 Tcl_SetRecursionLimit.3 \
|
||||
SetResult.3 Tcl_SetObjResult.3 \
|
||||
SetResult.3 Tcl_GetObjResult.3 \
|
||||
SetResult.3 Tcl_SetResult.3 \
|
||||
SetResult.3 Tcl_GetStringResult.3 \
|
||||
SetResult.3 Tcl_AppendResult.3 \
|
||||
SetResult.3 Tcl_AppendResultVA.3 \
|
||||
SetResult.3 Tcl_AppendElement.3 \
|
||||
SetResult.3 Tcl_ResetResult.3 \
|
||||
SetVar.3 Tcl_SetVar2Ex.3 \
|
||||
SetVar.3 Tcl_SetVar.3 \
|
||||
SetVar.3 Tcl_SetVar2.3 \
|
||||
SetVar.3 Tcl_ObjSetVar2.3 \
|
||||
SetVar.3 Tcl_GetVar2Ex.3 \
|
||||
SetVar.3 Tcl_GetVar.3 \
|
||||
SetVar.3 Tcl_GetVar2.3 \
|
||||
SetVar.3 Tcl_ObjGetVar2.3 \
|
||||
SetVar.3 Tcl_UnsetVar.3 \
|
||||
SetVar.3 Tcl_UnsetVar2.3 \
|
||||
Sleep.3 Tcl_Sleep.3 \
|
||||
SplitList.3 Tcl_SplitList.3 \
|
||||
SplitList.3 Tcl_Merge.3 \
|
||||
SplitList.3 Tcl_ScanElement.3 \
|
||||
SplitList.3 Tcl_ConvertElement.3 \
|
||||
SplitPath.3 Tcl_SplitPath.3 \
|
||||
SplitPath.3 Tcl_JoinPath.3 \
|
||||
SplitPath.3 Tcl_GetPathType.3 \
|
||||
StaticPkg.3 Tcl_StaticPackage.3 \
|
||||
StrMatch.3 Tcl_StringMatch.3 \
|
||||
StrMatch.3 Tcl_StringCaseMatch.3 \
|
||||
StringObj.3 Tcl_NewStringObj.3 \
|
||||
StringObj.3 Tcl_NewUnicodeObj.3 \
|
||||
StringObj.3 Tcl_SetStringObj.3 \
|
||||
StringObj.3 Tcl_SetUnicodeObj.3 \
|
||||
StringObj.3 Tcl_GetStringFromObj.3 \
|
||||
StringObj.3 Tcl_GetString.3 \
|
||||
StringObj.3 Tcl_GetUnicode.3 \
|
||||
StringObj.3 Tcl_GetUniChar.3 \
|
||||
StringObj.3 Tcl_GetCharLength.3 \
|
||||
StringObj.3 Tcl_GetRange.3 \
|
||||
StringObj.3 Tcl_AppendToObj.3 \
|
||||
StringObj.3 Tcl_AppendUnicodeToObj.3 \
|
||||
StringObj.3 Tcl_AppendStringsToObj.3 \
|
||||
StringObj.3 Tcl_AppendStringsToObjVA.3 \
|
||||
StringObj.3 Tcl_AppendObjToObj.3 \
|
||||
StringObj.3 Tcl_SetObjLength.3 \
|
||||
StringObj.3 Tcl_ConcatObj.3 \
|
||||
Thread.3 Tcl_ConditionNotify.3 \
|
||||
Thread.3 Tcl_ConditionWait.3 \
|
||||
Thread.3 Tcl_GetThreadData.3 \
|
||||
Thread.3 Tcl_MutexLock.3 \
|
||||
Thread.3 Tcl_MutexUnlock.3 \
|
||||
ToUpper.3 Tcl_UniCharToUpper.3 \
|
||||
ToUpper.3 Tcl_UniCharToLower.3 \
|
||||
ToUpper.3 Tcl_UniCharToTitle.3 \
|
||||
ToUpper.3 Tcl_UtfToUpper.3 \
|
||||
ToUpper.3 Tcl_UtfToLower.3 \
|
||||
ToUpper.3 Tcl_UtfToTitle.3 \
|
||||
TraceVar.3 Tcl_TraceVar.3 \
|
||||
TraceVar.3 Tcl_TraceVar2.3 \
|
||||
TraceVar.3 Tcl_UntraceVar.3 \
|
||||
TraceVar.3 Tcl_UntraceVar2.3 \
|
||||
TraceVar.3 Tcl_VarTraceInfo.3 \
|
||||
TraceVar.3 Tcl_VarTraceInfo2.3 \
|
||||
Translate.3 Tcl_TranslateFileName.3 \
|
||||
UpVar.3 Tcl_UpVar.3 \
|
||||
UpVar.3 Tcl_UpVar2.3 \
|
||||
Utf.3 Tcl_UniChar.3 \
|
||||
Utf.3 Tcl_UniCharToUtf.3 \
|
||||
Utf.3 Tcl_UtfToUniChar.3 \
|
||||
Utf.3 Tcl_UniCharToUtfDString.3 \
|
||||
Utf.3 Tcl_UtfToUniCharDString.3 \
|
||||
Utf.3 Tcl_UniCharLen.3 \
|
||||
Utf.3 Tcl_UniCharNcmp.3 \
|
||||
Utf.3 Tcl_UtfCharComplete.3 \
|
||||
Utf.3 Tcl_NumUtfChars.3 \
|
||||
Utf.3 Tcl_UtfFindFirst.3 \
|
||||
Utf.3 Tcl_UtfFindLast.3 \
|
||||
Utf.3 Tcl_UtfNext.3 \
|
||||
Utf.3 Tcl_UtfPrev.3 \
|
||||
Utf.3 Tcl_UniCharAtIndex.3 \
|
||||
Utf.3 Tcl_UtfAtIndex.3 \
|
||||
Utf.3 Tcl_UtfBackslash.3 \
|
||||
WrongNumArgs.3 Tcl_WrongNumArgs.3 \
|
||||
http.n Http.n \
|
||||
packagens.n pkg::create.n \
|
||||
pkgMkIndex.n pkg_mkIndex.n \
|
||||
safe.n Safe\Base.n \
|
||||
tcltest.n Tcltest.n
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-install:
|
||||
.if exists(${PKGINSTALL})
|
||||
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL}
|
||||
.endif
|
||||
|
||||
test:
|
||||
cd ${WRKSRC} && ${MAKE} test
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
chinese/tcl83/distinfo
Normal file
1
chinese/tcl83/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (tcl8.3.0.tar.gz) = 0fc2ee5c79692fe13316d85939fda62b
|
157
chinese/tcl83/files/patch-aa
Normal file
157
chinese/tcl83/files/patch-aa
Normal file
|
@ -0,0 +1,157 @@
|
|||
--- Makefile.in.orig Thu Feb 10 11:09:57 2000
|
||||
+++ Makefile.in Wed Feb 21 21:08:13 2001
|
||||
@@ -48,7 +48,9 @@
|
||||
SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TCL_LIBRARY)
|
||||
|
||||
# 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)
|
||||
+GENERIC_INCLUDE_INSTALL_DIR = $(INCLUDE_INSTALL_DIR)/generic
|
||||
+UNIX_INCLUDE_INSTALL_DIR = $(INCLUDE_INSTALL_DIR)/unix
|
||||
|
||||
# Top-level directory in which to install manual entries:
|
||||
MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man
|
||||
@@ -77,12 +79,15 @@
|
||||
CFLAGS_DEBUG = @CFLAGS_DEBUG@
|
||||
CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@
|
||||
|
||||
+# I18n improvement flags
|
||||
+I18N_FLAGS = @I18N_FLAGS@
|
||||
+
|
||||
# To change the compiler switches, for example to change from optimization to
|
||||
# debugging symbols, change the following line:
|
||||
#CFLAGS = $(CFLAGS_DEBUG)
|
||||
#CFLAGS = $(CFLAGS_OPTIMIZE)
|
||||
#CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE)
|
||||
-CFLAGS = @CFLAGS@
|
||||
+CFLAGS? = @CFLAGS@
|
||||
|
||||
# To disable ANSI-C procedure prototypes reverse the comment characters
|
||||
# on the following lines:
|
||||
@@ -156,7 +161,7 @@
|
||||
# "install" around; better to use the install-sh script that comes
|
||||
# with the distribution, which is slower but guaranteed to work.
|
||||
|
||||
-INSTALL = @srcdir@/install-sh -c
|
||||
+INSTALL = install -c
|
||||
INSTALL_PROGRAM = ${INSTALL}
|
||||
INSTALL_DATA = ${INSTALL} -m 644
|
||||
|
||||
@@ -200,7 +205,7 @@
|
||||
|
||||
COMPAT_OBJS = @LIBOBJS@
|
||||
|
||||
-AC_FLAGS = @EXTRA_CFLAGS@ @DEFS@
|
||||
+AC_FLAGS = @EXTRA_CFLAGS@ @DEFS@ @CPPFLAGS@ @I18N_FLAGS@
|
||||
RANLIB = @RANLIB@
|
||||
SRC_DIR = @srcdir@
|
||||
TOP_DIR = @srcdir@/..
|
||||
@@ -383,7 +388,7 @@
|
||||
|
||||
all: binaries libraries doc
|
||||
|
||||
-binaries: ${TCL_LIB_FILE} $(TCL_STUB_LIB_FILE) $(TCL_BUILD_EXP_FILE) tclsh
|
||||
+binaries: ${TCL_LIB_FILE} $(TCL_STUB_LIB_FILE) $(TCL_BUILD_EXP_FILE) libtcl${SHORT_TCL_VER}.a tclsh
|
||||
|
||||
libraries:
|
||||
|
||||
@@ -396,6 +401,11 @@
|
||||
@MAKE_LIB@
|
||||
$(RANLIB) ${TCL_LIB_FILE}
|
||||
|
||||
+libtcl${SHORT_TCL_VER}.a: ${OBJS}
|
||||
+ rm -f libtcl${SHORT_TCL_VER}.a
|
||||
+ ar cr libtcl${SHORT_TCL_VER}.a ${OBJS}
|
||||
+ $(RANLIB) libtcl${SHORT_TCL_VER}.a
|
||||
+
|
||||
${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
|
||||
rm -f ${STUB_LIB_FILE}
|
||||
@MAKE_STUB_LIB@
|
||||
@@ -506,8 +516,13 @@
|
||||
fi
|
||||
@echo "Installing $(TCL_LIB_FILE) to $(LIB_INSTALL_DIR)/"
|
||||
@$(INSTALL_DATA) $(TCL_LIB_FILE) $(LIB_INSTALL_DIR)/$(TCL_LIB_FILE)
|
||||
+ @ln -sf $(TCL_LIB_FILE) $(LIB_INSTALL_DIR)/libtcl${SHORT_TCL_VER}.so
|
||||
@(cd $(LIB_INSTALL_DIR); $(RANLIB) $(TCL_LIB_FILE))
|
||||
@chmod 555 $(LIB_INSTALL_DIR)/$(TCL_LIB_FILE)
|
||||
+ @echo "Installing libtcl${SHORT_TCL_VER}.a"
|
||||
+ @$(INSTALL_DATA) libtcl${SHORT_TCL_VER}.a $(LIB_INSTALL_DIR)/libtcl${SHORT_TCL_VER}.a
|
||||
+ @(cd $(LIB_INSTALL_DIR); $(RANLIB) libtcl${SHORT_TCL_VER}.a)
|
||||
+ @chmod 555 $(LIB_INSTALL_DIR)/libtcl${SHORT_TCL_VER}.a
|
||||
@if test "$(TCL_BUILD_EXP_FILE)" != ""; then \
|
||||
echo "Installing $(TCL_EXP_FILE) to $(LIB_INSTALL_DIR)/"; \
|
||||
$(INSTALL_DATA) $(TCL_BUILD_EXP_FILE) \
|
||||
@@ -515,8 +530,9 @@
|
||||
fi
|
||||
@echo "Installing tclsh as $(BIN_INSTALL_DIR)/tclsh$(VERSION)"
|
||||
@$(INSTALL_PROGRAM) tclsh $(BIN_INSTALL_DIR)/tclsh$(VERSION)
|
||||
- @echo "Installing tclConfig.sh to $(LIB_INSTALL_DIR)/"
|
||||
- @$(INSTALL_DATA) tclConfig.sh $(LIB_INSTALL_DIR)/tclConfig.sh
|
||||
+ @echo "Installing tclConfig.sh to $(SCRIPT_INSTALL_DIR)/"
|
||||
+ @mkdir -p $(SCRIPT_INSTALL_DIR)
|
||||
+ @$(INSTALL_DATA) tclConfig.sh $(SCRIPT_INSTALL_DIR)/tclConfig.sh
|
||||
@if test "$(TCL_STUB_LIB_FILE)" != "" ; then \
|
||||
echo "Installing $(TCL_STUB_LIB_FILE) to $(LIB_INSTALL_DIR)/"; \
|
||||
$(INSTALL_DATA) $(STUB_LIB_FILE) \
|
||||
@@ -524,8 +540,8 @@
|
||||
fi
|
||||
|
||||
install-libraries: libraries
|
||||
- @for i in $(INSTALL_ROOT)$(prefix)/lib $(INCLUDE_INSTALL_DIR) \
|
||||
- $(SCRIPT_INSTALL_DIR); \
|
||||
+ @for i in $(INSTALL_ROOT)$(prefix)/lib $(GENERIC_INCLUDE_INSTALL_DIR) \
|
||||
+ $(UNIX_INCLUDE_INSTALL_DIR) $(SCRIPT_INSTALL_DIR); \
|
||||
do \
|
||||
if [ ! -d $$i ] ; then \
|
||||
echo "Making directory $$i"; \
|
||||
@@ -547,10 +563,16 @@
|
||||
chmod +x $(SRC_DIR)/install-sh; \
|
||||
fi
|
||||
@echo "Installing header files";
|
||||
- @for i in $(GENERIC_DIR)/tcl.h $(GENERIC_DIR)/tclDecls.h ; \
|
||||
+ @for i in $(GENERIC_DIR)/*.h ; \
|
||||
+ do \
|
||||
+ $(INSTALL_DATA) $$i $(GENERIC_INCLUDE_INSTALL_DIR); \
|
||||
+ done;
|
||||
+ @for i in $(UNIX_DIR)/*.h ; \
|
||||
do \
|
||||
- $(INSTALL_DATA) $$i $(INCLUDE_INSTALL_DIR); \
|
||||
+ $(INSTALL_DATA) $$i $(UNIX_INCLUDE_INSTALL_DIR); \
|
||||
done;
|
||||
+ @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tcl.h $(INCLUDE_INSTALL_DIR)/tcl.h
|
||||
+ @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tclDecls.h $(INCLUDE_INSTALL_DIR)/tclDecls.h
|
||||
@echo "Installing library files to $(SCRIPT_INSTALL_DIR)";
|
||||
@for i in $(TOP_DIR)/library/*.tcl $(TOP_DIR)/library/tclIndex $(UNIX_DIR)/tclAppInit.c $(UNIX_DIR)/ldAix; \
|
||||
do \
|
||||
@@ -591,7 +613,6 @@
|
||||
chmod 444 $(MAN1_INSTALL_DIR)/$$i; \
|
||||
done;
|
||||
@echo "Cross-linking top-level (.1) docs";
|
||||
- @$(UNIX_DIR)/mkLinks $(MAN1_INSTALL_DIR)
|
||||
@echo "Installing C API (.3) docs";
|
||||
@cd $(TOP_DIR)/doc; for i in *.3; \
|
||||
do \
|
||||
@@ -601,7 +622,6 @@
|
||||
chmod 444 $(MAN3_INSTALL_DIR)/$$i; \
|
||||
done;
|
||||
@echo "Cross-linking C API (.3) docs";
|
||||
- @$(UNIX_DIR)/mkLinks $(MAN3_INSTALL_DIR)
|
||||
@echo "Installing command (.n) docs";
|
||||
@cd $(TOP_DIR)/doc; for i in *.n; \
|
||||
do \
|
||||
@@ -611,7 +631,14 @@
|
||||
chmod 444 $(MANN_INSTALL_DIR)/$$i; \
|
||||
done;
|
||||
@echo "Cross-linking command (.n) docs";
|
||||
- @$(UNIX_DIR)/mkLinks $(MANN_INSTALL_DIR)
|
||||
+ @echo "**********"
|
||||
+ @echo "IMPORTANT:"
|
||||
+ @echo "**********"
|
||||
+ @echo "tclConfig.sh in $(SCRIPT_INSTALL_DIR)/tclConfig.sh"
|
||||
+ @echo "tcl.h in $(INCLUDE_INSTALL_DIR)/tcl.h"
|
||||
+ @echo "tclDecls.h in $(INCLUDE_INSTALL_DIR)/tclDecls.h"
|
||||
+ @echo "There are NOT default place, but good place to avoid"
|
||||
+ @echo "conflicting with another version of Tcl/Tks."
|
||||
|
||||
Makefile: $(UNIX_DIR)/Makefile.in
|
||||
$(SHELL) config.status
|
2329
chinese/tcl83/files/patch-ab
Normal file
2329
chinese/tcl83/files/patch-ab
Normal file
File diff suppressed because it is too large
Load diff
15
chinese/tcl83/files/patch-ac
Normal file
15
chinese/tcl83/files/patch-ac
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- configure.in.orig Thu Feb 10 11:09:57 2000
|
||||
+++ configure.in Wed Feb 21 20:48:23 2001
|
||||
@@ -37,6 +37,12 @@
|
||||
|
||||
SC_ENABLE_THREADS
|
||||
|
||||
+#------------------------------------------------------------------------
|
||||
+# i18n improvement
|
||||
+#------------------------------------------------------------------------
|
||||
+
|
||||
+SC_ENABLE_I18N_IMPROVE
|
||||
+
|
||||
#------------------------------------------------------------------------------
|
||||
# If we're using GCC, see if the compiler understands -pipe. If so, use it.
|
||||
# It makes compiling go faster. (This is only a performance feature.)
|
47
chinese/tcl83/files/patch-ad
Normal file
47
chinese/tcl83/files/patch-ad
Normal file
|
@ -0,0 +1,47 @@
|
|||
--- tcl.m4.orig Thu Feb 10 11:09:57 2000
|
||||
+++ tcl.m4 Wed Feb 21 20:48:23 2001
|
||||
@@ -1717,3 +1717,44 @@
|
||||
AC_SUBST(TCL_LIBS)
|
||||
AC_SUBST(MATH_LIBS)
|
||||
])
|
||||
+
|
||||
+#------------------------------------------------------------------------
|
||||
+# SC_ENABLE_I18N_IMPROVE
|
||||
+#
|
||||
+# Decide use i18n improved features or not.
|
||||
+#
|
||||
+# Arguments:
|
||||
+# none
|
||||
+#
|
||||
+# Results:
|
||||
+#
|
||||
+# Adds the following arguments to configure:
|
||||
+# --enable-i18nImprove=yes|no
|
||||
+#
|
||||
+# Defines the following vars:
|
||||
+# I18N_FLAGS value of '-DI18N_IMPROVE' or ''
|
||||
+#------------------------------------------------------------------------
|
||||
+
|
||||
+AC_DEFUN(SC_ENABLE_I18N_IMPROVE, [
|
||||
+ AC_MSG_CHECKING([if i18n improvement features are enabled])
|
||||
+ AC_ARG_ENABLE(i18nImprove,
|
||||
+ [ --enable-i18nImprove enable i18n improvement features [--enable-i18nImprove]],
|
||||
+ [tcl_ok=$enableval], [tcl_ok=yes])
|
||||
+
|
||||
+ if test "${enable_i18nImprove+set}" = set; then
|
||||
+ enableval="$enable_i18nImprove"
|
||||
+ tcl_ok=$enableval
|
||||
+ else
|
||||
+ tcl_ok=yes
|
||||
+ fi
|
||||
+
|
||||
+ if test "$tcl_ok" = "yes" ; then
|
||||
+ AC_MSG_RESULT([enabled])
|
||||
+ I18N_FLAGS='-DI18N_IMPROVE'
|
||||
+ else
|
||||
+ AC_MSG_RESULT([disabled])
|
||||
+ I18N_FLAGS=''
|
||||
+ fi
|
||||
+
|
||||
+ AC_SUBST(I18N_FLAGS)
|
||||
+])
|
21
chinese/tcl83/files/patch-ae
Normal file
21
chinese/tcl83/files/patch-ae
Normal file
|
@ -0,0 +1,21 @@
|
|||
--- tclConfig.sh.in.orig Thu Feb 10 11:09:57 2000
|
||||
+++ tclConfig.sh.in Wed Feb 21 20:48:23 2001
|
||||
@@ -21,7 +21,7 @@
|
||||
TCL_CC='@CC@'
|
||||
|
||||
# -D flags for use with the C compiler.
|
||||
-TCL_DEFS='@DEFS@'
|
||||
+TCL_DEFS='@DEFS@ @I18N_FLAGS@'
|
||||
|
||||
# If TCL was built with debugging symbols, generated libraries contain
|
||||
# this string at the end of the library name (before the extension).
|
||||
@@ -30,6 +30,9 @@
|
||||
# Default flags used in an optimized and debuggable build, respectively.
|
||||
TCL_CFLAGS_DEBUG='@CFLAGS_DEBUG@'
|
||||
TCL_CFLAGS_OPTIMIZE='@CFLAGS_OPTIMIZE@'
|
||||
+
|
||||
+# I18n improvement flags
|
||||
+TCL_I18N_IMPROVE_FLAGS='@I18N_FLAGS@'
|
||||
|
||||
# Default linker flags used in an optimized and debuggable build, respectively.
|
||||
TCL_LDFLAGS_DEBUG='@LDFLAGS_DEBUG@'
|
69
chinese/tcl83/files/patch-af
Normal file
69
chinese/tcl83/files/patch-af
Normal file
|
@ -0,0 +1,69 @@
|
|||
--- tclUnixInit.c.orig Wed Oct 13 00:32:49 1999
|
||||
+++ tclUnixInit.c Wed Feb 21 21:14:45 2001
|
||||
@@ -369,7 +369,9 @@
|
||||
int i;
|
||||
Tcl_Obj *pathPtr;
|
||||
char *langEnv;
|
||||
+#ifndef I18N_IMPROVE
|
||||
Tcl_DString ds;
|
||||
+#endif /* !I18N_IMPROVE */
|
||||
|
||||
/*
|
||||
* Determine the current encoding from the LC_* or LANG environment
|
||||
@@ -432,6 +434,7 @@
|
||||
|
||||
Tcl_SetSystemEncoding(NULL, encoding);
|
||||
|
||||
+#ifndef I18N_IMPROVE
|
||||
/*
|
||||
* Initialize the C library's locale subsystem. This is required
|
||||
* for input methods to work properly on X11. Note that we need to
|
||||
@@ -445,6 +448,48 @@
|
||||
setlocale(LC_ALL, "");
|
||||
setlocale(LC_ALL, Tcl_DStringValue(&ds));
|
||||
Tcl_DStringFree(&ds);
|
||||
+#else
|
||||
+ /*
|
||||
+ *
|
||||
+ * If setlocale(LC_ALL, "") are once called, NOT reset to "C"
|
||||
+ * BECAUSE OF X11 uses locale sensitive libc routines such as:
|
||||
+ *
|
||||
+ * mblen()
|
||||
+ * mbstowcs()
|
||||
+ * wcstombs()
|
||||
+ *
|
||||
+ * Calling setlocale() with proper locale is of course needed,
|
||||
+ * futhermore, keeping the proper locale setting is ALSO needed
|
||||
+ * for proper XIM operation. If not, in the worst case, Tk dumps
|
||||
+ * core.
|
||||
+ *
|
||||
+ * And here's another story:
|
||||
+ *
|
||||
+ * X11[56]'s internationalization depends on "locale model"
|
||||
+ * supported by C language (runtime). But unfortunately, on some
|
||||
+ * (many) systems, setlocale(3) supports only "C" locale. For such
|
||||
+ * a system, X11 library has _Xsetlocale() (and some locale
|
||||
+ * sensitive C runtime function like the mblen(), even If these
|
||||
+ * function are not well-implemented, sigh). If on such a system,
|
||||
+ * we should't call:
|
||||
+ *
|
||||
+ * setlocale(LC_ALL)
|
||||
+ * or
|
||||
+ * setlocale(LC_CTYPE)
|
||||
+ *
|
||||
+ * at here because Tcl won't be linked with X11 libraries and
|
||||
+ * nobody want to use the Tcl library that needs X11 libraries at
|
||||
+ * execution/linkage time. Instead, call setlocale() (expanded to
|
||||
+ * _Xsetlocale() with C preprocessor macro in <X11/Xlocale.h> if
|
||||
+ * X_LOCLAE C preprocessor macro is defined, normaly done in Imake
|
||||
+ * environment) at the initializing of Tk. So, at here, I just
|
||||
+ * call only setlocale(LC_NUMERIC) since X11's internationalize
|
||||
+ * implementation only depends on LC_CTYPE categoly (of cource
|
||||
+ * LC_ALL includes this), This must be harmless and might let the
|
||||
+ * Tcl and the Tk with XIM be both happy :)
|
||||
+ *
|
||||
+ */
|
||||
+#endif /* !I18N_IMPROVE */
|
||||
|
||||
/*
|
||||
* In case the initial locale is not "C", ensure that the numeric
|
1
chinese/tcl83/pkg-comment
Normal file
1
chinese/tcl83/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
Tool Command Language
|
22
chinese/tcl83/pkg-deinstall.tclsh
Normal file
22
chinese/tcl83/pkg-deinstall.tclsh
Normal file
|
@ -0,0 +1,22 @@
|
|||
#! /bin/sh
|
||||
#
|
||||
# Remove the ${PREFIX}/bin/tclsh script that gets installed by INSTALL.tclsh
|
||||
# if we are the last tclsh installation to be pkg_delete'd.
|
||||
#
|
||||
# $FreeBSD: /tmp/pcvs/ports/chinese/tcl83/Attic/pkg-deinstall.tclsh,v 1.1 2001-02-22 03:53:30 kevlo Exp $
|
||||
#
|
||||
|
||||
#
|
||||
# Explicitly listing /usr/X11R6/bin here is debatable.
|
||||
#
|
||||
BINDIR="${PKG_PREFIX}/bin /usr/X11R6/bin"
|
||||
TCLSH=${PKG_PREFIX}/bin/tclsh
|
||||
|
||||
tclshs=$(/bin/ls ${BINDIR} 2> /dev/null | \
|
||||
egrep '^(i?tclsh[0-9]+\.[0-9]+(\_r)?([a-z][a-z])?)|otclsh$')
|
||||
|
||||
if [ "$tclshs" = "" -a -f ${TCLSH} ] && \
|
||||
(head -3 ${TCLSH} | grep awieYJFnsuILOnfsYEW) > /dev/null 2>&1
|
||||
then
|
||||
rm -f ${PKG_PREFIX}/bin/tclsh
|
||||
fi
|
8
chinese/tcl83/pkg-descr
Normal file
8
chinese/tcl83/pkg-descr
Normal file
|
@ -0,0 +1,8 @@
|
|||
This is Tcl8.3, an embeddable tool command language.
|
||||
|
||||
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.
|
||||
|
||||
A full set of manual pages is also provided with this package.
|
||||
|
||||
WWW: http://www.scriptics.com
|
35
chinese/tcl83/pkg-install.tclsh
Normal file
35
chinese/tcl83/pkg-install.tclsh
Normal file
|
@ -0,0 +1,35 @@
|
|||
#!/bin/sh
|
||||
|
||||
# The user may have a tclsh they want to preserve
|
||||
ver=`grep -a awieYJFnsuILOnfsYEW ${PKG_PREFIX}/bin/tclsh 2> /dev/null \
|
||||
| sed -e 's/.*\*\*//'`
|
||||
if [ ! -e ${PKG_PREFIX}/bin/tclsh ] || [ "$ver" != "" -a "$ver" -lt 002 ]
|
||||
then
|
||||
[ -f ${PKG_PREFIX}/bin/tclsh ] && chmod u+w ${PKG_PREFIX}/bin/tclsh
|
||||
|
||||
mkdir -p ${PKG_PREFIX}/bin
|
||||
cat > ${PKG_PREFIX}/bin/tclsh <<'EOF'
|
||||
#!/bin/sh
|
||||
# Installed by ports system. id: awieYJFnsuILOnfsYEW**002
|
||||
#
|
||||
# $FreeBSD: /tmp/pcvs/ports/chinese/tcl83/Attic/pkg-install.tclsh,v 1.1 2001-02-22 03:53:30 kevlo Exp $
|
||||
#
|
||||
|
||||
(
|
||||
echo "In FreeBSD, tclsh is named with a version number. This is because"
|
||||
echo "different versions of tclsh are not compatible with each other and"
|
||||
echo "they can not all be called \"tclsh\"! You may need multiple versions"
|
||||
echo "installed because a given port may depend on a specific version."
|
||||
echo
|
||||
echo "On your system, tclsh is installed under at least the following names:"
|
||||
echo
|
||||
for name in $(/bin/ls $(echo $PATH | sed 's/:/ /g') 2> /dev/null | egrep '^(i?tclsh[0-9]+\.[0-9]+(\_r)?([a-z][a-z])?)|otclsh$')
|
||||
do
|
||||
echo $name
|
||||
done
|
||||
[ "$name" = "" ] && echo "No tclsh installations found, sorry."
|
||||
) 1>&2
|
||||
exit 1
|
||||
EOF
|
||||
chmod 555 ${PKG_PREFIX}/bin/tclsh
|
||||
fi
|
125
chinese/tcl83/pkg-plist
Normal file
125
chinese/tcl83/pkg-plist
Normal file
|
@ -0,0 +1,125 @@
|
|||
bin/tclsh%%TCL_VER%%
|
||||
include/tcl%%TCL_VER%%/generic/regcustom.h
|
||||
include/tcl%%TCL_VER%%/generic/regerrs.h
|
||||
include/tcl%%TCL_VER%%/generic/regex.h
|
||||
include/tcl%%TCL_VER%%/generic/regguts.h
|
||||
include/tcl%%TCL_VER%%/generic/tcl.h
|
||||
include/tcl%%TCL_VER%%/generic/tclCompile.h
|
||||
include/tcl%%TCL_VER%%/generic/tclDecls.h
|
||||
include/tcl%%TCL_VER%%/generic/tclInitScript.h
|
||||
include/tcl%%TCL_VER%%/generic/tclInt.h
|
||||
include/tcl%%TCL_VER%%/generic/tclIntDecls.h
|
||||
include/tcl%%TCL_VER%%/generic/tclIntPlatDecls.h
|
||||
include/tcl%%TCL_VER%%/generic/tclMath.h
|
||||
include/tcl%%TCL_VER%%/generic/tclPlatDecls.h
|
||||
include/tcl%%TCL_VER%%/generic/tclPort.h
|
||||
include/tcl%%TCL_VER%%/generic/tclRegexp.h
|
||||
include/tcl%%TCL_VER%%/tcl.h
|
||||
include/tcl%%TCL_VER%%/tclDecls.h
|
||||
include/tcl%%TCL_VER%%/unix/tclUnixPort.h
|
||||
include/tcl%%TCL_VER%%/unix/tclUnixThrd.h
|
||||
lib/libtcl%%SHORT_TCL_VER%%.a
|
||||
lib/libtcl%%SHORT_TCL_VER%%.so
|
||||
lib/libtcl%%SHORT_TCL_VER%%.so.1
|
||||
lib/libtclstub%%SHORT_TCL_VER%%.a
|
||||
lib/tcl%%TCL_VER%%/auto.tcl
|
||||
lib/tcl%%TCL_VER%%/encoding/ascii.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/big5.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp1250.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp1251.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp1252.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp1253.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp1254.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp1255.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp1256.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp1257.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp1258.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp437.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp737.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp775.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp850.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp852.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp855.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp857.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp860.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp861.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp862.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp863.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp864.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp865.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp866.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp869.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp874.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp932.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp936.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp949.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/cp950.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/dingbats.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/euc-cn.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/euc-jp.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/euc-kr.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/gb12345.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/gb1988.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/gb2312.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/iso2022-jp.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/iso2022-kr.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/iso2022.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/iso8859-1.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/iso8859-2.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/iso8859-3.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/iso8859-4.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/iso8859-5.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/iso8859-6.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/iso8859-7.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/iso8859-8.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/iso8859-9.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/jis0201.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/jis0208.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/jis0212.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/koi8-r.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/ksc5601.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/macCentEuro.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/macCroatian.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/macCyrillic.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/macDingbats.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/macGreek.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/macIceland.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/macJapan.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/macRoman.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/macRomania.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/macThai.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/macTurkish.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/macUkraine.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/shiftjis.enc
|
||||
lib/tcl%%TCL_VER%%/encoding/symbol.enc
|
||||
lib/tcl%%TCL_VER%%/history.tcl
|
||||
lib/tcl%%TCL_VER%%/http1.0/http.tcl
|
||||
lib/tcl%%TCL_VER%%/http1.0/pkgIndex.tcl
|
||||
lib/tcl%%TCL_VER%%/http2.1/http.tcl
|
||||
lib/tcl%%TCL_VER%%/http2.1/pkgIndex.tcl
|
||||
lib/tcl%%TCL_VER%%/init.tcl
|
||||
lib/tcl%%TCL_VER%%/ldAix
|
||||
lib/tcl%%TCL_VER%%/ldAout.tcl
|
||||
lib/tcl%%TCL_VER%%/msgcat1.0/msgcat.tcl
|
||||
lib/tcl%%TCL_VER%%/msgcat1.0/pkgIndex.tcl
|
||||
lib/tcl%%TCL_VER%%/opt0.4/optparse.tcl
|
||||
lib/tcl%%TCL_VER%%/opt0.4/pkgIndex.tcl
|
||||
lib/tcl%%TCL_VER%%/package.tcl
|
||||
lib/tcl%%TCL_VER%%/parray.tcl
|
||||
lib/tcl%%TCL_VER%%/safe.tcl
|
||||
lib/tcl%%TCL_VER%%/tclAppInit.c
|
||||
lib/tcl%%TCL_VER%%/tclConfig.sh
|
||||
lib/tcl%%TCL_VER%%/tclIndex
|
||||
lib/tcl%%TCL_VER%%/tcltest1.0/pkgIndex.tcl
|
||||
lib/tcl%%TCL_VER%%/tcltest1.0/tcltest.tcl
|
||||
lib/tcl%%TCL_VER%%/word.tcl
|
||||
@dirrm lib/tcl%%TCL_VER%%/tcltest1.0
|
||||
@dirrm lib/tcl%%TCL_VER%%/opt0.4
|
||||
@dirrm lib/tcl%%TCL_VER%%/msgcat1.0
|
||||
@dirrm lib/tcl%%TCL_VER%%/http2.1
|
||||
@dirrm lib/tcl%%TCL_VER%%/http1.0
|
||||
@dirrm lib/tcl%%TCL_VER%%/encoding
|
||||
@dirrm lib/tcl%%TCL_VER%%
|
||||
@dirrm include/tcl%%TCL_VER%%/unix
|
||||
@dirrm include/tcl%%TCL_VER%%/generic
|
||||
@dirrm include/tcl%%TCL_VER%%
|
Loading…
Reference in a new issue