1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

TclX seems abandoned by its original authors, but the maintainers

of TclPro made TclX-8.3 available last year. There is not a whole
lot of changes, and most of them deal with the Windows parts of the
thing, but here is the upgrade 8.3 anyway. Please, test...

I think, it is time to repocopy tclX82 into tclX and get rid of
tclX75, tclX80, and tclX82...
This commit is contained in:
Mikhail Teterin 2001-10-24 03:18:59 +00:00
parent b29b1387a2
commit 4826c77d47
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=49154
12 changed files with 38 additions and 54 deletions

View File

@ -6,11 +6,10 @@
#
PORTNAME= tclX
PORTVERSION= 8.2.0
PORTREVISION= 2
PORTVERSION= 8.3
CATEGORIES= lang tcl${TCL_DVER} tk${TCL_DVER}
MASTER_SITES= http://www.neosoft.com/tcl/ftparchive/TclX/
DISTNAME= tclX8.2.0
MASTER_SITES= ftp://tcl.activestate.com/pub/tcl/tclx/
DISTNAME= tclx${PORTVERSION}
MAINTAINER= mi@aldan.algebra.com
@ -28,9 +27,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared \
--with-help=Help \
--with-tcl="${LOCALBASE}/lib/tcl${TCL_VER}" \
--with-tk="${LOCALBASE}/lib/tk${TCL_VER}"
PLIST_SUB= TCLX_LONG_VER=8.2 TCLX_SHORT_VER=82
PLIST_SUB= TCLX_LONG_VER=8.3 TCLX_SHORT_VER=83
.ifdef WITHOUT_X11
CONFIGURE_ARGS+=--enable-tk=NO
@ -53,11 +53,11 @@ MAN3= CmdWrite.3 Handles.3 Keylist.3 ObjCmdWrite.3 TclXInit.3 \
MANN= Memory.n TclX.n Tcl_DisplayMemory.n Tcl_InitMemory.n \
Tcl_ValidateAllMemory.n ckalloc.n ckfree.n memory.n
post-build:
cd ${WRKSRC}/../tcl/unix && ${MAKE} buildhelp
.ifndef WITHOUT_X11
cd ${WRKSRC}/../tk/unix && ${MAKE} buildhelp
.endif
#post-build:
# cd ${WRKSRC}/../tcl/unix && ${MAKE} buildhelp
#.ifndef WITHOUT_X11
# cd ${WRKSRC}/../tk/unix && ${MAKE} buildhelp
#.endif
.include <bsd.port.pre.mk>

View File

@ -1 +1 @@
MD5 (tclX8.2.0.tar.gz) = dc2b6dbafebc765154570b143c585670
MD5 (tclx8.3.tar.gz) = deb98c29eb8fc1b43cc60198105ce24b

View File

@ -37,11 +37,6 @@
${HELP_DIR} Tcl.brf
${RUNTCL} -c "buildhelp ${HELP_DIR} TclX.brf ${TCLX_DOC_DIR}/TclX.n"
@@ -322,3 +323,3 @@
-install-misc: buildhelp
+install-misc:
${INSTCOPY} ${TCLX_GENERIC_DIR}/tclExtend.h \
@@ -338,9 +339,11 @@
${INSTCOPY} ${TCLX_STLIB_NAME} ${INSTALL_ROOT}${TCLX_INST_LIB}; \
${RANLIB} ${INSTALL_ROOT}${TCLX_INST_LIB}/${TCLX_STLIB_NAME}; \

View File

@ -25,9 +25,6 @@
${HELP_DIR} Tk.brf
#------------------------------------------------------------------------------
@@ -215 +215 @@
-install-misc: buildhelp
+install-misc:
@@ -227,9 +228,11 @@
${INSTCOPY} ${TKX_STLIB_NAME} ${INSTALL_ROOT}${TKX_INST_LIB}; \
${RANLIB} ${INSTALL_ROOT}${TKX_INST_LIB}/${TKX_STLIB_NAME}; \

View File

@ -5,8 +5,8 @@
# Programs and options used by build
#
-CC = @CC@
-CFLAGS = @CFLAGS@ @TCL_EXTRA_CFLAGS@
+CFLAGS += @TCL_EXTRA_CFLAGS@
-CFLAGS = @CFLAGS@ @TCL_CFLAGS_WARNING@ @TCL_EXTRA_CFLAGS@
+CFLAGS += @TCL_CFLAGS_WARNING@ @TCL_EXTRA_CFLAGS@
SYSCFLAGS = @SYSCFLAGS@
RANLIB = @RANLIB@
AR = ar

View File

@ -1,13 +1,13 @@
--- configure.orig Sun Feb 6 18:54:02 2000
+++ configure Thu Jul 13 14:29:54 2000
@@ -2009,8 +2009,11 @@
@@ -2088,8 +2088,11 @@
;;
FreeBSD-*)
# FreeBSD 3.* and greater have ELF.
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
+ TCL_LIB_VERSIONS_OK=nodots
- SHLIB_CFLAGS="-fpic"
- SHLIB_CFLAGS="-fPIC"
+ SHLIB_CFLAGS="-fPIC -DPIC"
SHLIB_LD="ld -Bshareable -x"
SHLIB_LD_LIBS=""
@ -20,16 +20,16 @@
-eval "TCLX_STLIB_NAME=libtclx${UNSHARED_LIB_SUFFIX}"
-eval "TCLX_SHLIB_NAME=libtclx${SHARED_LIB_SUFFIX}"
-eval "TCLX_SHLIB_NAME=${TCLX_SHLIB_NAME}"
+TCLX_STLIB_NAME=libtclx82.a
+TCLX_SHLIB_NAME=libtclx82.so.1
+TCLX_STLIB_NAME=libtclx83.a
+TCLX_SHLIB_NAME=libtclx83.so.1
DBGX=${TKX_DBGX}
VERSION=$TKX_VERSION
-eval "TKX_STLIB_NAME=libtkx${UNSHARED_LIB_SUFFIX}"
-eval "TKX_SHLIB_NAME=libtkx${SHARED_LIB_SUFFIX}"
-eval "TKX_SHLIB_NAME=${TKX_SHLIB_NAME}"
+TKX_STLIB_NAME=libtkx82.a
+TKX_SHLIB_NAME=libtkx82.so.1
+TKX_STLIB_NAME=libtkx83.a
+TKX_SHLIB_NAME=libtkx83.so.1
#
# Determine suffix to use for the object files for the shared library.

View File

@ -6,11 +6,10 @@
#
PORTNAME= tclX
PORTVERSION= 8.2.0
PORTREVISION= 2
PORTVERSION= 8.3
CATEGORIES= lang tcl${TCL_DVER} tk${TCL_DVER}
MASTER_SITES= http://www.neosoft.com/tcl/ftparchive/TclX/
DISTNAME= tclX8.2.0
MASTER_SITES= ftp://tcl.activestate.com/pub/tcl/tclx/
DISTNAME= tclx${PORTVERSION}
MAINTAINER= mi@aldan.algebra.com
@ -28,9 +27,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared \
--with-help=Help \
--with-tcl="${LOCALBASE}/lib/tcl${TCL_VER}" \
--with-tk="${LOCALBASE}/lib/tk${TCL_VER}"
PLIST_SUB= TCLX_LONG_VER=8.2 TCLX_SHORT_VER=82
PLIST_SUB= TCLX_LONG_VER=8.3 TCLX_SHORT_VER=83
.ifdef WITHOUT_X11
CONFIGURE_ARGS+=--enable-tk=NO
@ -53,11 +53,11 @@ MAN3= CmdWrite.3 Handles.3 Keylist.3 ObjCmdWrite.3 TclXInit.3 \
MANN= Memory.n TclX.n Tcl_DisplayMemory.n Tcl_InitMemory.n \
Tcl_ValidateAllMemory.n ckalloc.n ckfree.n memory.n
post-build:
cd ${WRKSRC}/../tcl/unix && ${MAKE} buildhelp
.ifndef WITHOUT_X11
cd ${WRKSRC}/../tk/unix && ${MAKE} buildhelp
.endif
#post-build:
# cd ${WRKSRC}/../tcl/unix && ${MAKE} buildhelp
#.ifndef WITHOUT_X11
# cd ${WRKSRC}/../tk/unix && ${MAKE} buildhelp
#.endif
.include <bsd.port.pre.mk>

View File

@ -1 +1 @@
MD5 (tclX8.2.0.tar.gz) = dc2b6dbafebc765154570b143c585670
MD5 (tclx8.3.tar.gz) = deb98c29eb8fc1b43cc60198105ce24b

View File

@ -37,11 +37,6 @@
${HELP_DIR} Tcl.brf
${RUNTCL} -c "buildhelp ${HELP_DIR} TclX.brf ${TCLX_DOC_DIR}/TclX.n"
@@ -322,3 +323,3 @@
-install-misc: buildhelp
+install-misc:
${INSTCOPY} ${TCLX_GENERIC_DIR}/tclExtend.h \
@@ -338,9 +339,11 @@
${INSTCOPY} ${TCLX_STLIB_NAME} ${INSTALL_ROOT}${TCLX_INST_LIB}; \
${RANLIB} ${INSTALL_ROOT}${TCLX_INST_LIB}/${TCLX_STLIB_NAME}; \

View File

@ -25,9 +25,6 @@
${HELP_DIR} Tk.brf
#------------------------------------------------------------------------------
@@ -215 +215 @@
-install-misc: buildhelp
+install-misc:
@@ -227,9 +228,11 @@
${INSTCOPY} ${TKX_STLIB_NAME} ${INSTALL_ROOT}${TKX_INST_LIB}; \
${RANLIB} ${INSTALL_ROOT}${TKX_INST_LIB}/${TKX_STLIB_NAME}; \

View File

@ -5,8 +5,8 @@
# Programs and options used by build
#
-CC = @CC@
-CFLAGS = @CFLAGS@ @TCL_EXTRA_CFLAGS@
+CFLAGS += @TCL_EXTRA_CFLAGS@
-CFLAGS = @CFLAGS@ @TCL_CFLAGS_WARNING@ @TCL_EXTRA_CFLAGS@
+CFLAGS += @TCL_CFLAGS_WARNING@ @TCL_EXTRA_CFLAGS@
SYSCFLAGS = @SYSCFLAGS@
RANLIB = @RANLIB@
AR = ar

View File

@ -1,13 +1,13 @@
--- configure.orig Sun Feb 6 18:54:02 2000
+++ configure Thu Jul 13 14:29:54 2000
@@ -2009,8 +2009,11 @@
@@ -2088,8 +2088,11 @@
;;
FreeBSD-*)
# FreeBSD 3.* and greater have ELF.
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
+ TCL_LIB_VERSIONS_OK=nodots
- SHLIB_CFLAGS="-fpic"
- SHLIB_CFLAGS="-fPIC"
+ SHLIB_CFLAGS="-fPIC -DPIC"
SHLIB_LD="ld -Bshareable -x"
SHLIB_LD_LIBS=""
@ -20,16 +20,16 @@
-eval "TCLX_STLIB_NAME=libtclx${UNSHARED_LIB_SUFFIX}"
-eval "TCLX_SHLIB_NAME=libtclx${SHARED_LIB_SUFFIX}"
-eval "TCLX_SHLIB_NAME=${TCLX_SHLIB_NAME}"
+TCLX_STLIB_NAME=libtclx82.a
+TCLX_SHLIB_NAME=libtclx82.so.1
+TCLX_STLIB_NAME=libtclx83.a
+TCLX_SHLIB_NAME=libtclx83.so.1
DBGX=${TKX_DBGX}
VERSION=$TKX_VERSION
-eval "TKX_STLIB_NAME=libtkx${UNSHARED_LIB_SUFFIX}"
-eval "TKX_SHLIB_NAME=libtkx${SHARED_LIB_SUFFIX}"
-eval "TKX_SHLIB_NAME=${TKX_SHLIB_NAME}"
+TKX_STLIB_NAME=libtkx82.a
+TKX_SHLIB_NAME=libtkx82.so.1
+TKX_STLIB_NAME=libtkx83.a
+TKX_SHLIB_NAME=libtkx83.so.1
#
# Determine suffix to use for the object files for the shared library.