aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/tk82/Makefile23
-rw-r--r--x11-toolkits/tk82/distinfo2
-rw-r--r--x11-toolkits/tk82/files/patch-aa79
-rw-r--r--x11-toolkits/tk82/files/patch-ab106
-rw-r--r--x11-toolkits/tk82/pkg-plist276
-rw-r--r--x11-toolkits/tk83/Makefile23
-rw-r--r--x11-toolkits/tk83/distinfo2
-rw-r--r--x11-toolkits/tk83/files/patch-aa79
-rw-r--r--x11-toolkits/tk83/files/patch-ab106
-rw-r--r--x11-toolkits/tk83/pkg-plist276
-rw-r--r--x11-toolkits/tk84/Makefile23
-rw-r--r--x11-toolkits/tk84/distinfo2
-rw-r--r--x11-toolkits/tk84/files/patch-aa79
-rw-r--r--x11-toolkits/tk84/files/patch-ab106
-rw-r--r--x11-toolkits/tk84/pkg-plist276
16 files changed, 688 insertions, 771 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index 948e2427a609..a8651667f7cf 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -37,6 +37,7 @@
SUBDIR += tk42
SUBDIR += tk80
SUBDIR += tk81
+ SUBDIR += tk82
SUBDIR += tkstep80
SUBDIR += v
SUBDIR += wxgtk
diff --git a/x11-toolkits/tk82/Makefile b/x11-toolkits/tk82/Makefile
index c5c1428f839f..97b5bd60cf80 100644
--- a/x11-toolkits/tk82/Makefile
+++ b/x11-toolkits/tk82/Makefile
@@ -1,28 +1,32 @@
-# New ports collection makefile for: tk8.1.1
-# Version required: 8.1.1
+# New ports collection makefile for: tk
+# Version required: 8.2.0
# Date created: 19 August 1997
# Whom: jkh
#
# $FreeBSD$
#
-DISTNAME= tk8.1.1
-PKGNAME= tk-8.1.1
-CATEGORIES= x11-toolkits tk81
-MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/tcl8_1/
+DISTNAME= tk8.2.0
+PKGNAME= tk-8.2.0
+CATEGORIES= x11-toolkits tk82
+MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/tcl8_2/
MAINTAINER= jseger@FreeBSD.org
-LIB_DEPENDS= tcl81.1:${PORTSDIR}/lang/tcl81
+LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82
FILE_DEPENDS= ${PORTSDIR}/x11-toolkits/tk80
USE_XLIB= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-shared
-CONFIGURE_ENV= PORTSDIR=${PORTSDIR} TK_LIB_FILE=libtk81.so.1
+CONFIGURE_ARGS= --enable-shared --with-tcl=${PREFIX}/lib/tcl8.2
+CONFIGURE_ENV= PORTSDIR=${PORTSDIR} TK_LIB_FILE=libtk82.so.1
PKGINSTALL= ${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish
+PLIST_SUB= TK_VER=8.2 SHORT_TK_VER=82
+
+MANCOMPRESSED= no
+
MAN1= wish.1
MAN3= 3DBorder.3 BindTable.3 CanvPsY.3 CanvTkwin.3 CanvTxtInfo.3 \
Clipboard.3 ClrSelect.3 ConfigWidg.3 ConfigWind.3 CoordToWin.3 \
@@ -288,7 +292,6 @@ MLINKS= 3DBorder.3 Tk_Alloc3DBorderFromObj.3 \
palette.n tk_setPalette.n \
palette.n tk_bisque.n \
popup.n tk_popup.n
-MANCOMPRESSED= yes
.include <bsd.port.pre.mk>
diff --git a/x11-toolkits/tk82/distinfo b/x11-toolkits/tk82/distinfo
index 8189d7a403f7..bf1630df20e2 100644
--- a/x11-toolkits/tk82/distinfo
+++ b/x11-toolkits/tk82/distinfo
@@ -1 +1 @@
-MD5 (tk8.1.1.tar.gz) = 0677449e344e7720cfa37660d070de8c
+MD5 (tk8.2.0.tar.gz) = 574e112ddca4330eea01b0e26d3ed6eb
diff --git a/x11-toolkits/tk82/files/patch-aa b/x11-toolkits/tk82/files/patch-aa
index 9938b28f6787..1f33895446d2 100644
--- a/x11-toolkits/tk82/files/patch-aa
+++ b/x11-toolkits/tk82/files/patch-aa
@@ -1,48 +1,41 @@
---- configure.orig Fri Apr 30 08:27:45 1999
-+++ configure Mon May 10 00:20:26 1999
-@@ -956,14 +956,14 @@
- withval="$with_tcl"
- TCL_BIN_DIR=$withval
+--- configure.orig Fri Aug 13 18:06:14 1999
++++ configure Sat Sep 4 15:22:21 1999
+@@ -1756,7 +1756,7 @@
+ LDFLAGS="-Wl,-Bexport"
+ LD_SEARCH_FLAGS=""
+ ;;
+- NetBSD-*|FreeBSD-[12].*|OpenBSD-*)
++ NetBSD-*|FreeBSD-*|OpenBSD-*)
+ # Not available on all versions: check for include file.
+ ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
+@@ -1788,14 +1788,19 @@
+ echo "$ac_t""yes" 1>&6
+
+ SHLIB_CFLAGS="-fpic"
+- SHLIB_LD="ld -Bshareable -x"
+ SHLIB_LD_LIBS=""
+ SHLIB_SUFFIX=".so"
+ DL_OBJS="tclLoadDl.o"
+ DL_LIBS=""
+ LDFLAGS=""
+ LD_SEARCH_FLAGS=""
+- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
++ if eval "test \"`echo ${PORTOBJFORMAT}`\" = elf" ; then
++ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1'
++ SHLIB_LD="ld -shared -x -soname \$@"
++ else
++ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0'
++ SHLIB_LD="ld -Bshareable -x"
++ fi
+
else
-- TCL_BIN_DIR=`cd $TCL_BIN_DEFAULT; pwd`
-+ TCL_BIN_DIR=${prefix}/lib/tcl8.1
- fi
-
- if test ! -d $TCL_BIN_DIR; then
- { echo "configure: error: Tcl directory $TCL_BIN_DIR doesn't exist" 1>&2; exit 1; }
- fi
--if test ! -f $TCL_BIN_DIR/Makefile; then
-- { echo "configure: error: There's no Makefile in $TCL_BIN_DIR; perhaps you didn't specify the Tcl *build* directory (not the toplevel Tcl directory) or you forgot to configure Tcl?" 1>&2; exit 1; }
-+if test ! -f $TCL_BIN_DIR/tclConfig.sh; then
-+ { echo "configure: error: There's no tclConfig.sh in $TCL_BIN_DIR; perhaps you didn't specify the Tcl *build* directory (not the toplevel Tcl directory) or you forgot to configure Tcl?" 1>&2; exit 1; }
- fi
-
- #--------------------------------------------------------------------
-@@ -1004,6 +1004,8 @@
- CFLAGS_OPTIMIZE=$TCL_CFLAGS_OPTIMIZE
- EXTRA_CFLAGS=$TCL_EXTRA_CFLAGS
+ echo "$ac_t""no" 1>&6
+@@ -2266,6 +2271,7 @@
+ echo "$ac_t""no" 1>&6
+ fi
+TCL_SRC_DIR=${prefix}/include/tcl${TCL_VERSION}
-+
- LIB_RUNTIME_DIR='${LIB_RUNTIME_DIR}'
- # If Tcl and Tk are installed in different places, adjust the library
-@@ -2450,8 +2452,8 @@
- if test "$ok" = "yes" -a "${SHLIB_SUFFIX}" != ""; then
- TK_SHARED_BUILD=1
- TK_SHLIB_CFLAGS="${SHLIB_CFLAGS}"
-- TK_LIB_FILE=libtk${TCL_SHARED_LIB_SUFFIX}
-- MAKE_LIB="\${SHLIB_LD} -o \${TK_LIB_FILE} \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${TCL_BUILD_STUB_LIB_SPEC} \${LIBS}"
-+ TK_LIB_FILE=${TK_LIB_FILE}
-+ MAKE_LIB="\${SHLIB_LD} -o \${TK_LIB_FILE} \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${TCL_STUB_LIB_SPEC} \${LIBS}"
- RANLIB=":"
+ LIB_RUNTIME_DIR='${LIB_RUNTIME_DIR}'
- TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
-@@ -2729,6 +2731,7 @@
- s%@TCL_BIN_DIR@%$TCL_BIN_DIR%g
- s%@TCL_BUILD_STUB_LIB_SPEC@%$TCL_BUILD_STUB_LIB_SPEC%g
- s%@TCL_BUILD_LIB_SPEC@%$TCL_BUILD_LIB_SPEC%g
-+s%@TCL_LIB_SPEC@%$TCL_LIB_SPEC%g
- s%@TCL_DBGX@%$TCL_DBGX%g
- s%@TCL_LIB_FLAG@%$TCL_LIB_FLAG%g
- s%@TCL_SRC_DIR@%$TCL_SRC_DIR%g
diff --git a/x11-toolkits/tk82/files/patch-ab b/x11-toolkits/tk82/files/patch-ab
index d907e5809b46..3c9fb1cf6c6c 100644
--- a/x11-toolkits/tk82/files/patch-ab
+++ b/x11-toolkits/tk82/files/patch-ab
@@ -1,5 +1,5 @@
---- Makefile.in.orig Fri Apr 30 08:27:45 1999
-+++ Makefile.in Mon May 10 01:18:32 1999
+--- Makefile.in.orig Fri Aug 13 18:06:14 1999
++++ Makefile.in Sat Sep 4 19:47:43 1999
@@ -56,7 +56,9 @@
BIN_DIR = $(exec_prefix)/bin
@@ -11,16 +11,7 @@
# Top-level directory for manual entries:
MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man
-@@ -98,7 +100,7 @@
- #CFLAGS = $(CFLAGS_DEBUG)
- #CFLAGS = $(CFLAGS_OPTIMIZE)
- #CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE)
--CFLAGS = $(@CFLAGS_DEFAULT@)
-+CFLAGS = @CFLAGS@
-
- # A "-I" switch that can be used when compiling to make all of the
- # X11 include files accessible (the configure script will try to
-@@ -152,7 +154,7 @@
+@@ -153,7 +155,7 @@
# "install" around; better to use the install-sh script that comes
# with the distribution, which is slower but guaranteed to work.
@@ -29,51 +20,50 @@
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
-@@ -188,7 +190,7 @@
+@@ -190,7 +192,7 @@
# Libraries to use when linking. This definition is determined by the
# configure script.
LIBS = @LIBS@ $(X11_LIB_SWITCHES) @DL_LIBS@ @MATH_LIBS@ -lc
-WISH_LIBS = $(TCL_LIB_SPEC) @LIBS@ $(X11_LIB_SWITCHES) @DL_LIBS@ @MATH_LIBS@ -lc
-+WISH_LIBS = -L${PREFIX}/lib -ltcl81 @LIBS@ $(X11_LIB_SWITCHES) @DL_LIBS@ @MATH_LIBS@ -lc
++WISH_LIBS = -L${PREFIX}/lib -ltcl82 @LIBS@ $(X11_LIB_SWITCHES) @DL_LIBS@ @MATH_LIBS@ -lc
# The symbol below provides support for dynamic loading and shared
# libraries. See configure.in for a description of what it means.
-@@ -348,8 +350,14 @@
+@@ -356,8 +358,14 @@
${TK_LIB_FILE}: ${OBJS}
rm -f ${TK_LIB_FILE}
@MAKE_LIB@
-+ ln -sf @TK_LIB_FILE@ libtk81.so
++ ln -sf @TK_LIB_FILE@ libtk82.so
$(RANLIB) ${TK_LIB_FILE}
-+libtk81.a: ${OBJS}
-+ rm -f libtk81.a
-+ ar cr libtk81.a ${OBJS}
-+ $(RANLIB) libtk81.a
++libtk82.a: ${OBJS}
++ rm -f libtk82.a
++ ar cr libtk82.a ${OBJS}
++ $(RANLIB) libtk82.a
+
${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
rm -f ${STUB_LIB_FILE}
@MAKE_STUB_LIB@
-@@ -410,7 +418,8 @@
+@@ -418,7 +426,7 @@
# some ranlibs write to current directory, and this might not always be
# possible (e.g. if installing as root).
-install-binaries: $(TK_LIB_FILE) $(TK_STUB_LIB_FILE) $(TK_BUILD_EXP_FILE) wish
-+install-binaries: $(TK_LIB_FILE) $(TK_STUB_LIB_FILE) $(TK_BUILD_EXP_FILE) \
-+ libtk81.a wish
++install-binaries: $(TK_LIB_FILE) $(TK_STUB_LIB_FILE) $(TK_BUILD_EXP_FILE) libtk82.a wish
@for i in $(LIB_INSTALL_DIR) $(BIN_INSTALL_DIR) ; \
do \
if [ ! -d $$i ] ; then \
-@@ -422,12 +431,18 @@
- done;
- @echo "Installing $(TK_LIB_FILE)"
+@@ -432,12 +440,18 @@
+ chmod +x $(UNIX_DIR)/install-sh
+ chmod +x $(UNIX_DIR)/mkLinks
@$(INSTALL_DATA) $(TK_LIB_FILE) $(LIB_INSTALL_DIR)/$(TK_LIB_FILE)
-+ @ln -sf $(TK_LIB_FILE) $(LIB_INSTALL_DIR)/libtk81.so
++ @ln -sf $(LIB_INSTALL_DIR)/$(TK_LIB_FILE) $(LIB_INSTALL_DIR)/libtk82.so
@(cd $(LIB_INSTALL_DIR); $(RANLIB) $(TK_LIB_FILE))
@chmod 555 $(LIB_INSTALL_DIR)/$(TK_LIB_FILE)
-+ @echo "Installing libtk81.a"
-+ @$(INSTALL_DATA) libtk81.a $(LIB_INSTALL_DIR)/libtk81.a
-+ @(cd $(LIB_INSTALL_DIR); $(RANLIB) libtk81.a)
-+ @chmod 555 $(LIB_INSTALL_DIR)/libtk81.a
++ @echo "Installing libtk82.a"
++ @$(INSTALL_DATA) libtk82.a $(LIB_INSTALL_DIR)/libtk82.a
++ @(cd $(LIB_INSTALL_DIR); $(RANLIB) libtk82.a)
++ @chmod 555 $(LIB_INSTALL_DIR)/libtk82.a
@echo "Installing wish"
@$(INSTALL_PROGRAM) wish $(BIN_INSTALL_DIR)/wish$(VERSION)
@echo "Installing tkConfig.sh"
@@ -83,7 +73,7 @@
@if test "$(TK_BUILD_EXP_FILE)" != ""; then \
echo "Installing $(TK_EXP_FILE)"; \
$(INSTALL_DATA) $(TK_BUILD_EXP_FILE) \
-@@ -441,6 +456,7 @@
+@@ -451,6 +465,7 @@
install-libraries:
@for i in $(INSTALL_ROOT)$(prefix)/lib $(INCLUDE_INSTALL_DIR) \
@@ -91,63 +81,49 @@
$(SCRIPT_INSTALL_DIR) $(SCRIPT_INSTALL_DIR)/images; \
do \
if [ ! -d $$i ] ; then \
-@@ -450,11 +466,19 @@
- else true; \
+@@ -461,11 +476,19 @@
fi; \
done;
+ chmod +x $(UNIX_DIR)/install-sh
- @for i in $(GENERIC_DIR)/tk.h $(GENERIC_DIR)/tkDecls.h ; \
+ @echo "Installing headers"
+ @for i in $(GENERIC_DIR)/*.h ; \
-+ do \
-+ echo "Installing $$i"; \
-+ $(INSTALL_DATA) $$i $(GENERIC_INCLUDE_INSTALL_DIR); \
-+ done;
-+ @for i in $(UNIX_DIR)/*.h ; \
do \
echo "Installing $$i"; \
- $(INSTALL_DATA) $$i $(INCLUDE_INSTALL_DIR); \
-+ $(INSTALL_DATA) $$i $(UNIX_INCLUDE_INSTALL_DIR); \
++ $(INSTALL_DATA) $$i $(GENERIC_INCLUDE_INSTALL_DIR); \
done;
++ @for i in $(UNIX_DIR)/*.h ; \
++ do \
++ echo "Installing $$i"; \
++ $(INSTALL_DATA) $$i $(UNIX_INCLUDE_INSTALL_DIR); \
++ done ;
+ @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tk.h $(INCLUDE_INSTALL_DIR)/tk.h
+ @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tkDecls.h $(INCLUDE_INSTALL_DIR)/tkDecls.h
- for i in $(SRC_DIR)/library/*.tcl $(SRC_DIR)/library/tclIndex $(UNIX_DIR)/tkAppInit.c; \
+ for i in $(SRC_DIR)/library/*.tcl $(GENERIC_DIR)/prolog.ps \
+ $(SRC_DIR)/library/tclIndex $(UNIX_DIR)/tkAppInit.c; \
do \
- echo "Installing $$i"; \
-@@ -513,30 +537,27 @@
- @cd $(SRC_DIR)/doc; for i in *.1; \
- do \
- echo "Installing doc/$$i"; \
-- rm -f $(MAN1_INSTALL_DIR)/$$i; \
-+ rm -f $(MAN1_INSTALL_DIR)/$$i $(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 -c > $(MAN1_INSTALL_DIR)/$$i.gz; \
-+ chmod 444 $(MAN1_INSTALL_DIR)/$$i.gz; \
+@@ -530,16 +553,14 @@
+ $$i > $(MAN1_INSTALL_DIR)/$$i; \
+ chmod 444 $(MAN1_INSTALL_DIR)/$$i; \
done;
- $(UNIX_DIR)/mkLinks $(MAN1_INSTALL_DIR)
@cd $(SRC_DIR)/doc; for i in *.3; \
do \
echo "Installing doc/$$i"; \
- rm -f $(MAN3_INSTALL_DIR)/$$i; \
-+ rm -f $(MAN3_INSTALL_DIR)/$$i $(MAN3_INSTALL_DIR)/$$i.gz; \
++ rm -f $(MAN3_INSTALL_DIR)/$$i ; \
sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
-- $$i > $(MAN3_INSTALL_DIR)/$$i; \
-- chmod 444 $(MAN3_INSTALL_DIR)/$$i; \
-+ $$i | gzip -c > $(MAN3_INSTALL_DIR)/$$i.gz; \
-+ chmod 444 $(MAN3_INSTALL_DIR)/$$i.gz; \
+ $$i > $(MAN3_INSTALL_DIR)/$$i; \
+ chmod 444 $(MAN3_INSTALL_DIR)/$$i; \
done;
- $(UNIX_DIR)/mkLinks $(MAN3_INSTALL_DIR)
@cd $(SRC_DIR)/doc; for i in *.n; \
do \
echo "Installing doc/$$i"; \
-- rm -f $(MANN_INSTALL_DIR)/$$i; \
-+ rm -f $(MANN_INSTALL_DIR)/$$i $(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 -c > $(MANN_INSTALL_DIR)/$$i.gz; \
-+ chmod 444 $(MANN_INSTALL_DIR)/$$i.gz; \
+@@ -548,7 +569,6 @@
+ $$i > $(MANN_INSTALL_DIR)/$$i; \
+ chmod 444 $(MANN_INSTALL_DIR)/$$i; \
done;
- $(UNIX_DIR)/mkLinks $(MANN_INSTALL_DIR)
diff --git a/x11-toolkits/tk82/pkg-plist b/x11-toolkits/tk82/pkg-plist
index b87d4c576803..b5afedf961fd 100644
--- a/x11-toolkits/tk82/pkg-plist
+++ b/x11-toolkits/tk82/pkg-plist
@@ -1,140 +1,140 @@
-bin/wish8.1
-include/tk8.1/generic/default.h
-include/tk8.1/generic/ks_names.h
-include/tk8.1/generic/tk.h
-include/tk8.1/generic/tk3d.h
-include/tk8.1/generic/tkButton.h
-include/tk8.1/generic/tkCanvas.h
-include/tk8.1/generic/tkColor.h
-include/tk8.1/generic/tkDecls.h
-include/tk8.1/generic/tkFileFilter.h
-include/tk8.1/generic/tkFont.h
-include/tk8.1/generic/tkInitScript.h
-include/tk8.1/generic/tkInt.h
-include/tk8.1/generic/tkIntDecls.h
-include/tk8.1/generic/tkIntPlatDecls.h
-include/tk8.1/generic/tkIntXlibDecls.h
-include/tk8.1/generic/tkMenu.h
-include/tk8.1/generic/tkMenubutton.h
-include/tk8.1/generic/tkPlatDecls.h
-include/tk8.1/generic/tkPort.h
-include/tk8.1/generic/tkScale.h
-include/tk8.1/generic/tkScrollbar.h
-include/tk8.1/generic/tkSelect.h
-include/tk8.1/generic/tkText.h
-include/tk8.1/tk.h
-include/tk8.1/tkDecls.h
-include/tk8.1/unix/tkUnixDefault.h
-include/tk8.1/unix/tkUnixInt.h
-include/tk8.1/unix/tkUnixPort.h
-lib/libtk81.a
-lib/libtk81.so
-lib/libtk81.so.1
-lib/libtkstub81.a
+bin/wish%%TK_VER%%
+include/tk%%TK_VER%%/generic/default.h
+include/tk%%TK_VER%%/generic/ks_names.h
+include/tk%%TK_VER%%/generic/tk.h
+include/tk%%TK_VER%%/generic/tk3d.h
+include/tk%%TK_VER%%/generic/tkButton.h
+include/tk%%TK_VER%%/generic/tkCanvas.h
+include/tk%%TK_VER%%/generic/tkColor.h
+include/tk%%TK_VER%%/generic/tkDecls.h
+include/tk%%TK_VER%%/generic/tkFileFilter.h
+include/tk%%TK_VER%%/generic/tkFont.h
+include/tk%%TK_VER%%/generic/tkInitScript.h
+include/tk%%TK_VER%%/generic/tkInt.h
+include/tk%%TK_VER%%/generic/tkIntDecls.h
+include/tk%%TK_VER%%/generic/tkIntPlatDecls.h
+include/tk%%TK_VER%%/generic/tkIntXlibDecls.h
+include/tk%%TK_VER%%/generic/tkMenu.h
+include/tk%%TK_VER%%/generic/tkMenubutton.h
+include/tk%%TK_VER%%/generic/tkPlatDecls.h
+include/tk%%TK_VER%%/generic/tkPort.h
+include/tk%%TK_VER%%/generic/tkScale.h
+include/tk%%TK_VER%%/generic/tkScrollbar.h
+include/tk%%TK_VER%%/generic/tkSelect.h
+include/tk%%TK_VER%%/generic/tkText.h
+include/tk%%TK_VER%%/tk.h
+include/tk%%TK_VER%%/tkDecls.h
+include/tk%%TK_VER%%/unix/tkUnixDefault.h
+include/tk%%TK_VER%%/unix/tkUnixInt.h
+include/tk%%TK_VER%%/unix/tkUnixPort.h
+lib/libtk%%SHORT_TK_VER%%.a
+lib/libtk%%SHORT_TK_VER%%.so
+lib/libtk%%SHORT_TK_VER%%.so.1
+lib/libtkstub%%SHORT_TK_VER%%.a
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
-lib/tk8.1/bgerror.tcl
-lib/tk8.1/button.tcl
-lib/tk8.1/clrpick.tcl
-lib/tk8.1/comdlg.tcl
-lib/tk8.1/console.tcl
-lib/tk8.1/demos/README
-lib/tk8.1/demos/arrow.tcl
-lib/tk8.1/demos/bind.tcl
-lib/tk8.1/demos/bitmap.tcl
-lib/tk8.1/demos/browse
-lib/tk8.1/demos/button.tcl
-lib/tk8.1/demos/check.tcl
-lib/tk8.1/demos/clrpick.tcl
-lib/tk8.1/demos/colors.tcl
-lib/tk8.1/demos/cscroll.tcl
-lib/tk8.1/demos/ctext.tcl
-lib/tk8.1/demos/dialog1.tcl
-lib/tk8.1/demos/dialog2.tcl
-lib/tk8.1/demos/entry1.tcl
-lib/tk8.1/demos/entry2.tcl
-lib/tk8.1/demos/filebox.tcl
-lib/tk8.1/demos/floor.tcl
-lib/tk8.1/demos/form.tcl
-lib/tk8.1/demos/hello
-lib/tk8.1/demos/hscale.tcl
-lib/tk8.1/demos/icon.tcl
-lib/tk8.1/demos/image1.tcl
-lib/tk8.1/demos/image2.tcl
-lib/tk8.1/demos/images/earth.gif
-lib/tk8.1/demos/images/earthris.gif
-lib/tk8.1/demos/images/face.bmp
-lib/tk8.1/demos/images/flagdown.bmp
-lib/tk8.1/demos/images/flagup.bmp
-lib/tk8.1/demos/images/gray25.bmp
-lib/tk8.1/demos/images/letters.bmp
-lib/tk8.1/demos/images/noletter.bmp
-lib/tk8.1/demos/images/pattern.bmp
-lib/tk8.1/demos/images/tcllogo.gif
-lib/tk8.1/demos/images/teapot.ppm
-lib/tk8.1/demos/items.tcl
-lib/tk8.1/demos/ixset
-lib/tk8.1/demos/label.tcl
-lib/tk8.1/demos/license.terms
-lib/tk8.1/demos/menu.tcl
-lib/tk8.1/demos/menubu.tcl
-lib/tk8.1/demos/msgbox.tcl
-lib/tk8.1/demos/plot.tcl
-lib/tk8.1/demos/puzzle.tcl
-lib/tk8.1/demos/radio.tcl
-lib/tk8.1/demos/rmt
-lib/tk8.1/demos/rolodex
-lib/tk8.1/demos/ruler.tcl
-lib/tk8.1/demos/sayings.tcl
-lib/tk8.1/demos/search.tcl
-lib/tk8.1/demos/square
-lib/tk8.1/demos/states.tcl
-lib/tk8.1/demos/style.tcl
-lib/tk8.1/demos/tclIndex
-lib/tk8.1/demos/tcolor
-lib/tk8.1/demos/text.tcl
-lib/tk8.1/demos/timer
-lib/tk8.1/demos/twind.tcl
-lib/tk8.1/demos/vscale.tcl
-lib/tk8.1/demos/widget
-lib/tk8.1/dialog.tcl
-lib/tk8.1/entry.tcl
-lib/tk8.1/focus.tcl
-lib/tk8.1/images/README
-lib/tk8.1/images/logo.eps
-lib/tk8.1/images/logo100.gif
-lib/tk8.1/images/logo64.gif
-lib/tk8.1/images/logoLarge.gif
-lib/tk8.1/images/logoMed.gif
-lib/tk8.1/images/pspbrwse.jbf
-lib/tk8.1/images/pwrdLogo.eps
-lib/tk8.1/images/pwrdLogo100.gif
-lib/tk8.1/images/pwrdLogo150.gif
-lib/tk8.1/images/pwrdLogo175.gif
-lib/tk8.1/images/pwrdLogo200.gif
-lib/tk8.1/images/pwrdLogo75.gif
-lib/tk8.1/images/tai-ku.gif
-lib/tk8.1/listbox.tcl
-lib/tk8.1/menu.tcl
-lib/tk8.1/msgbox.tcl
-lib/tk8.1/obsolete.tcl
-lib/tk8.1/optMenu.tcl
-lib/tk8.1/palette.tcl
-lib/tk8.1/safetk.tcl
-lib/tk8.1/scale.tcl
-lib/tk8.1/scrlbar.tcl
-lib/tk8.1/tclIndex
-lib/tk8.1/tearoff.tcl
-lib/tk8.1/text.tcl
-lib/tk8.1/tk.tcl
-lib/tk8.1/tkAppInit.c
-lib/tk8.1/tkConfig.sh
-lib/tk8.1/tkfbox.tcl
-lib/tk8.1/xmfbox.tcl
-@dirrm lib/tk8.1/demos/images
-@dirrm lib/tk8.1/demos
-@dirrm lib/tk8.1/images
-@dirrm lib/tk8.1
-@dirrm include/tk8.1/unix
-@dirrm include/tk8.1/generic
-@dirrm include/tk8.1
+lib/tk%%TK_VER%%/bgerror.tcl
+lib/tk%%TK_VER%%/button.tcl
+lib/tk%%TK_VER%%/clrpick.tcl
+lib/tk%%TK_VER%%/comdlg.tcl
+lib/tk%%TK_VER%%/console.tcl
+lib/tk%%TK_VER%%/demos/README
+lib/tk%%TK_VER%%/demos/arrow.tcl
+lib/tk%%TK_VER%%/demos/bind.tcl
+lib/tk%%TK_VER%%/demos/bitmap.tcl
+lib/tk%%TK_VER%%/demos/browse
+lib/tk%%TK_VER%%/demos/button.tcl
+lib/tk%%TK_VER%%/demos/check.tcl
+lib/tk%%TK_VER%%/demos/clrpick.tcl
+lib/tk%%TK_VER%%/demos/colors.tcl
+lib/tk%%TK_VER%%/demos/cscroll.tcl
+lib/tk%%TK_VER%%/demos/ctext.tcl
+lib/tk%%TK_VER%%/demos/dialog1.tcl
+lib/tk%%TK_VER%%/demos/dialog2.tcl
+lib/tk%%TK_VER%%/demos/entry1.tcl
+lib/tk%%TK_VER%%/demos/entry2.tcl
+lib/tk%%TK_VER%%/demos/filebox.tcl
+lib/tk%%TK_VER%%/demos/floor.tcl
+lib/tk%%TK_VER%%/demos/form.tcl
+lib/tk%%TK_VER%%/demos/hello
+lib/tk%%TK_VER%%/demos/hscale.tcl
+lib/tk%%TK_VER%%/demos/icon.tcl
+lib/tk%%TK_VER%%/demos/image1.tcl
+lib/tk%%TK_VER%%/demos/image2.tcl
+lib/tk%%TK_VER%%/demos/images/earth.gif
+lib/tk%%TK_VER%%/demos/images/earthris.gif
+lib/tk%%TK_VER%%/demos/images/face.bmp
+lib/tk%%TK_VER%%/demos/images/flagdown.bmp
+lib/tk%%TK_VER%%/demos/images/flagup.bmp
+lib/tk%%TK_VER%%/demos/images/gray25.bmp
+lib/tk%%TK_VER%%/demos/images/letters.bmp
+lib/tk%%TK_VER%%/demos/images/noletter.bmp
+lib/tk%%TK_VER%%/demos/images/pattern.bmp
+lib/tk%%TK_VER%%/demos/images/tcllogo.gif
+lib/tk%%TK_VER%%/demos/images/teapot.ppm
+lib/tk%%TK_VER%%/demos/items.tcl
+lib/tk%%TK_VER%%/demos/ixset
+lib/tk%%TK_VER%%/demos/label.tcl
+lib/tk%%TK_VER%%/demos/license.terms
+lib/tk%%TK_VER%%/demos/menu.tcl
+lib/tk%%TK_VER%%/demos/menubu.tcl
+lib/tk%%TK_VER%%/demos/msgbox.tcl
+lib/tk%%TK_VER%%/demos/plot.tcl
+lib/tk%%TK_VER%%/demos/puzzle.tcl
+lib/tk%%TK_VER%%/demos/radio.tcl
+lib/tk%%TK_VER%%/demos/rmt
+lib/tk%%TK_VER%%/demos/rolodex
+lib/tk%%TK_VER%%/demos/ruler.tcl
+lib/tk%%TK_VER%%/demos/sayings.tcl
+lib/tk%%TK_VER%%/demos/search.tcl
+lib/tk%%TK_VER%%/demos/square
+lib/tk%%TK_VER%%/demos/states.tcl
+lib/tk%%TK_VER%%/demos/style.tcl
+lib/tk%%TK_VER%%/demos/tclIndex
+lib/tk%%TK_VER%%/demos/tcolor
+lib/tk%%TK_VER%%/demos/text.tcl
+lib/tk%%TK_VER%%/demos/timer
+lib/tk%%TK_VER%%/demos/twind.tcl
+lib/tk%%TK_VER%%/demos/vscale.tcl
+lib/tk%%TK_VER%%/demos/widget
+lib/tk%%TK_VER%%/dialog.tcl
+lib/tk%%TK_VER%%/entry.tcl
+lib/tk%%TK_VER%%/focus.tcl
+lib/tk%%TK_VER%%/images/README
+lib/tk%%TK_VER%%/images/logo.eps
+lib/tk%%TK_VER%%/images/logo100.gif
+lib/tk%%TK_VER%%/images/logo64.gif
+lib/tk%%TK_VER%%/images/logoLarge.gif
+lib/tk%%TK_VER%%/images/logoMed.gif
+lib/tk%%TK_VER%%/images/pwrdLogo.eps
+lib/tk%%TK_VER%%/images/pwrdLogo100.gif
+lib/tk%%TK_VER%%/images/pwrdLogo150.gif
+lib/tk%%TK_VER%%/images/pwrdLogo175.gif
+lib/tk%%TK_VER%%/images/pwrdLogo200.gif
+lib/tk%%TK_VER%%/images/pwrdLogo75.gif
+lib/tk%%TK_VER%%/images/tai-ku.gif
+lib/tk%%TK_VER%%/listbox.tcl
+lib/tk%%TK_VER%%/menu.tcl
+lib/tk%%TK_VER%%/msgbox.tcl
+lib/tk%%TK_VER%%/obsolete.tcl
+lib/tk%%TK_VER%%/optMenu.tcl
+lib/tk%%TK_VER%%/palette.tcl
+lib/tk%%TK_VER%%/prolog.ps
+lib/tk%%TK_VER%%/safetk.tcl
+lib/tk%%TK_VER%%/scale.tcl
+lib/tk%%TK_VER%%/scrlbar.tcl
+lib/tk%%TK_VER%%/tclIndex
+lib/tk%%TK_VER%%/tearoff.tcl
+lib/tk%%TK_VER%%/text.tcl
+lib/tk%%TK_VER%%/tk.tcl
+lib/tk%%TK_VER%%/tkAppInit.c
+lib/tk%%TK_VER%%/tkConfig.sh
+lib/tk%%TK_VER%%/tkfbox.tcl
+lib/tk%%TK_VER%%/xmfbox.tcl
+@dirrm lib/tk%%TK_VER%%/demos/images
+@dirrm lib/tk%%TK_VER%%/demos
+@dirrm lib/tk%%TK_VER%%/images
+@dirrm lib/tk%%TK_VER%%
+@dirrm include/tk%%TK_VER%%/unix
+@dirrm include/tk%%TK_VER%%/generic
+@dirrm include/tk%%TK_VER%%
diff --git a/x11-toolkits/tk83/Makefile b/x11-toolkits/tk83/Makefile
index c5c1428f839f..97b5bd60cf80 100644
--- a/x11-toolkits/tk83/Makefile
+++ b/x11-toolkits/tk83/Makefile
@@ -1,28 +1,32 @@
-# New ports collection makefile for: tk8.1.1
-# Version required: 8.1.1
+# New ports collection makefile for: tk
+# Version required: 8.2.0
# Date created: 19 August 1997
# Whom: jkh
#
# $FreeBSD$
#
-DISTNAME= tk8.1.1
-PKGNAME= tk-8.1.1
-CATEGORIES= x11-toolkits tk81
-MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/tcl8_1/
+DISTNAME= tk8.2.0
+PKGNAME= tk-8.2.0
+CATEGORIES= x11-toolkits tk82
+MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/tcl8_2/
MAINTAINER= jseger@FreeBSD.org
-LIB_DEPENDS= tcl81.1:${PORTSDIR}/lang/tcl81
+LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82
FILE_DEPENDS= ${PORTSDIR}/x11-toolkits/tk80
USE_XLIB= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-shared
-CONFIGURE_ENV= PORTSDIR=${PORTSDIR} TK_LIB_FILE=libtk81.so.1
+CONFIGURE_ARGS= --enable-shared --with-tcl=${PREFIX}/lib/tcl8.2
+CONFIGURE_ENV= PORTSDIR=${PORTSDIR} TK_LIB_FILE=libtk82.so.1
PKGINSTALL= ${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish
+PLIST_SUB= TK_VER=8.2 SHORT_TK_VER=82
+
+MANCOMPRESSED= no
+
MAN1= wish.1
MAN3= 3DBorder.3 BindTable.3 CanvPsY.3 CanvTkwin.3 CanvTxtInfo.3 \
Clipboard.3 ClrSelect.3 ConfigWidg.3 ConfigWind.3 CoordToWin.3 \
@@ -288,7 +292,6 @@ MLINKS= 3DBorder.3 Tk_Alloc3DBorderFromObj.3 \
palette.n tk_setPalette.n \
palette.n tk_bisque.n \
popup.n tk_popup.n
-MANCOMPRESSED= yes
.include <bsd.port.pre.mk>
diff --git a/x11-toolkits/tk83/distinfo b/x11-toolkits/tk83/distinfo
index 8189d7a403f7..bf1630df20e2 100644
--- a/x11-toolkits/tk83/distinfo
+++ b/x11-toolkits/tk83/distinfo
@@ -1 +1 @@
-MD5 (tk8.1.1.tar.gz) = 0677449e344e7720cfa37660d070de8c
+MD5 (tk8.2.0.tar.gz) = 574e112ddca4330eea01b0e26d3ed6eb
diff --git a/x11-toolkits/tk83/files/patch-aa b/x11-toolkits/tk83/files/patch-aa
index 9938b28f6787..1f33895446d2 100644
--- a/x11-toolkits/tk83/files/patch-aa
+++ b/x11-toolkits/tk83/files/patch-aa
@@ -1,48 +1,41 @@
---- configure.orig Fri Apr 30 08:27:45 1999
-+++ configure Mon May 10 00:20:26 1999
-@@ -956,14 +956,14 @@
- withval="$with_tcl"
- TCL_BIN_DIR=$withval
+--- configure.orig Fri Aug 13 18:06:14 1999
++++ configure Sat Sep 4 15:22:21 1999
+@@ -1756,7 +1756,7 @@
+ LDFLAGS="-Wl,-Bexport"
+ LD_SEARCH_FLAGS=""
+ ;;
+- NetBSD-*|FreeBSD-[12].*|OpenBSD-*)
++ NetBSD-*|FreeBSD-*|OpenBSD-*)
+ # Not available on all versions: check for include file.
+ ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
+@@ -1788,14 +1788,19 @@
+ echo "$ac_t""yes" 1>&6
+
+ SHLIB_CFLAGS="-fpic"
+- SHLIB_LD="ld -Bshareable -x"
+ SHLIB_LD_LIBS=""
+ SHLIB_SUFFIX=".so"
+ DL_OBJS="tclLoadDl.o"
+ DL_LIBS=""
+ LDFLAGS=""
+ LD_SEARCH_FLAGS=""
+- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
++ if eval "test \"`echo ${PORTOBJFORMAT}`\" = elf" ; then
++ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1'
++ SHLIB_LD="ld -shared -x -soname \$@"
++ else
++ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0'
++ SHLIB_LD="ld -Bshareable -x"
++ fi
+
else
-- TCL_BIN_DIR=`cd $TCL_BIN_DEFAULT; pwd`
-+ TCL_BIN_DIR=${prefix}/lib/tcl8.1
- fi
-
- if test ! -d $TCL_BIN_DIR; then
- { echo "configure: error: Tcl directory $TCL_BIN_DIR doesn't exist" 1>&2; exit 1; }
- fi
--if test ! -f $TCL_BIN_DIR/Makefile; then
-- { echo "configure: error: There's no Makefile in $TCL_BIN_DIR; perhaps you didn't specify the Tcl *build* directory (not the toplevel Tcl directory) or you forgot to configure Tcl?" 1>&2; exit 1; }
-+if test ! -f $TCL_BIN_DIR/tclConfig.sh; then
-+ { echo "configure: error: There's no tclConfig.sh in $TCL_BIN_DIR; perhaps you didn't specify the Tcl *build* directory (not the toplevel Tcl directory) or you forgot to configure Tcl?" 1>&2; exit 1; }
- fi
-
- #--------------------------------------------------------------------
-@@ -1004,6 +1004,8 @@
- CFLAGS_OPTIMIZE=$TCL_CFLAGS_OPTIMIZE
- EXTRA_CFLAGS=$TCL_EXTRA_CFLAGS
+ echo "$ac_t""no" 1>&6
+@@ -2266,6 +2271,7 @@
+ echo "$ac_t""no" 1>&6
+ fi
+TCL_SRC_DIR=${prefix}/include/tcl${TCL_VERSION}
-+
- LIB_RUNTIME_DIR='${LIB_RUNTIME_DIR}'
- # If Tcl and Tk are installed in different places, adjust the library
-@@ -2450,8 +2452,8 @@
- if test "$ok" = "yes" -a "${SHLIB_SUFFIX}" != ""; then
- TK_SHARED_BUILD=1
- TK_SHLIB_CFLAGS="${SHLIB_CFLAGS}"
-- TK_LIB_FILE=libtk${TCL_SHARED_LIB_SUFFIX}
-- MAKE_LIB="\${SHLIB_LD} -o \${TK_LIB_FILE} \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${TCL_BUILD_STUB_LIB_SPEC} \${LIBS}"
-+ TK_LIB_FILE=${TK_LIB_FILE}
-+ MAKE_LIB="\${SHLIB_LD} -o \${TK_LIB_FILE} \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${TCL_STUB_LIB_SPEC} \${LIBS}"
- RANLIB=":"
+ LIB_RUNTIME_DIR='${LIB_RUNTIME_DIR}'
- TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
-@@ -2729,6 +2731,7 @@
- s%@TCL_BIN_DIR@%$TCL_BIN_DIR%g
- s%@TCL_BUILD_STUB_LIB_SPEC@%$TCL_BUILD_STUB_LIB_SPEC%g
- s%@TCL_BUILD_LIB_SPEC@%$TCL_BUILD_LIB_SPEC%g
-+s%@TCL_LIB_SPEC@%$TCL_LIB_SPEC%g
- s%@TCL_DBGX@%$TCL_DBGX%g
- s%@TCL_LIB_FLAG@%$TCL_LIB_FLAG%g
- s%@TCL_SRC_DIR@%$TCL_SRC_DIR%g
diff --git a/x11-toolkits/tk83/files/patch-ab b/x11-toolkits/tk83/files/patch-ab
index d907e5809b46..3c9fb1cf6c6c 100644
--- a/x11-toolkits/tk83/files/patch-ab
+++ b/x11-toolkits/tk83/files/patch-ab
@@ -1,5 +1,5 @@
---- Makefile.in.orig Fri Apr 30 08:27:45 1999
-+++ Makefile.in Mon May 10 01:18:32 1999
+--- Makefile.in.orig Fri Aug 13 18:06:14 1999
++++ Makefile.in Sat Sep 4 19:47:43 1999
@@ -56,7 +56,9 @@
BIN_DIR = $(exec_prefix)/bin
@@ -11,16 +11,7 @@
# Top-level directory for manual entries:
MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man
-@@ -98,7 +100,7 @@
- #CFLAGS = $(CFLAGS_DEBUG)
- #CFLAGS = $(CFLAGS_OPTIMIZE)
- #CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE)
--CFLAGS = $(@CFLAGS_DEFAULT@)
-+CFLAGS = @CFLAGS@
-
- # A "-I" switch that can be used when compiling to make all of the
- # X11 include files accessible (the configure script will try to
-@@ -152,7 +154,7 @@
+@@ -153,7 +155,7 @@
# "install" around; better to use the install-sh script that comes
# with the distribution, which is slower but guaranteed to work.
@@ -29,51 +20,50 @@
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
-@@ -188,7 +190,7 @@
+@@ -190,7 +192,7 @@
# Libraries to use when linking. This definition is determined by the
# configure script.
LIBS = @LIBS@ $(X11_LIB_SWITCHES) @DL_LIBS@ @MATH_LIBS@ -lc
-WISH_LIBS = $(TCL_LIB_SPEC) @LIBS@ $(X11_LIB_SWITCHES) @DL_LIBS@ @MATH_LIBS@ -lc
-+WISH_LIBS = -L${PREFIX}/lib -ltcl81 @LIBS@ $(X11_LIB_SWITCHES) @DL_LIBS@ @MATH_LIBS@ -lc
++WISH_LIBS = -L${PREFIX}/lib -ltcl82 @LIBS@ $(X11_LIB_SWITCHES) @DL_LIBS@ @MATH_LIBS@ -lc
# The symbol below provides support for dynamic loading and shared
# libraries. See configure.in for a description of what it means.
-@@ -348,8 +350,14 @@
+@@ -356,8 +358,14 @@
${TK_LIB_FILE}: ${OBJS}
rm -f ${TK_LIB_FILE}
@MAKE_LIB@
-+ ln -sf @TK_LIB_FILE@ libtk81.so
++ ln -sf @TK_LIB_FILE@ libtk82.so
$(RANLIB) ${TK_LIB_FILE}
-+libtk81.a: ${OBJS}
-+ rm -f libtk81.a
-+ ar cr libtk81.a ${OBJS}
-+ $(RANLIB) libtk81.a
++libtk82.a: ${OBJS}
++ rm -f libtk82.a
++ ar cr libtk82.a ${OBJS}
++ $(RANLIB) libtk82.a
+
${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
rm -f ${STUB_LIB_FILE}
@MAKE_STUB_LIB@
-@@ -410,7 +418,8 @@
+@@ -418,7 +426,7 @@
# some ranlibs write to current directory, and this might not always be
# possible (e.g. if installing as root).
-install-binaries: $(TK_LIB_FILE) $(TK_STUB_LIB_FILE) $(TK_BUILD_EXP_FILE) wish
-+install-binaries: $(TK_LIB_FILE) $(TK_STUB_LIB_FILE) $(TK_BUILD_EXP_FILE) \
-+ libtk81.a wish
++install-binaries: $(TK_LIB_FILE) $(TK_STUB_LIB_FILE) $(TK_BUILD_EXP_FILE) libtk82.a wish
@for i in $(LIB_INSTALL_DIR) $(BIN_INSTALL_DIR) ; \
do \
if [ ! -d $$i ] ; then \
-@@ -422,12 +431,18 @@
- done;
- @echo "Installing $(TK_LIB_FILE)"
+@@ -432,12 +440,18 @@
+ chmod +x $(UNIX_DIR)/install-sh
+ chmod +x $(UNIX_DIR)/mkLinks
@$(INSTALL_DATA) $(TK_LIB_FILE) $(LIB_INSTALL_DIR)/$(TK_LIB_FILE)
-+ @ln -sf $(TK_LIB_FILE) $(LIB_INSTALL_DIR)/libtk81.so
++ @ln -sf $(LIB_INSTALL_DIR)/$(TK_LIB_FILE) $(LIB_INSTALL_DIR)/libtk82.so
@(cd $(LIB_INSTALL_DIR); $(RANLIB) $(TK_LIB_FILE))
@chmod 555 $(LIB_INSTALL_DIR)/$(TK_LIB_FILE)
-+ @echo "Installing libtk81.a"
-+ @$(INSTALL_DATA) libtk81.a $(LIB_INSTALL_DIR)/libtk81.a
-+ @(cd $(LIB_INSTALL_DIR); $(RANLIB) libtk81.a)
-+ @chmod 555 $(LIB_INSTALL_DIR)/libtk81.a
++ @echo "Installing libtk82.a"
++ @$(INSTALL_DATA) libtk82.a $(LIB_INSTALL_DIR)/libtk82.a
++ @(cd $(LIB_INSTALL_DIR); $(RANLIB) libtk82.a)
++ @chmod 555 $(LIB_INSTALL_DIR)/libtk82.a
@echo "Installing wish"
@$(INSTALL_PROGRAM) wish $(BIN_INSTALL_DIR)/wish$(VERSION)
@echo "Installing tkConfig.sh"
@@ -83,7 +73,7 @@
@if test "$(TK_BUILD_EXP_FILE)" != ""; then \
echo "Installing $(TK_EXP_FILE)"; \
$(INSTALL_DATA) $(TK_BUILD_EXP_FILE) \
-@@ -441,6 +456,7 @@
+@@ -451,6 +465,7 @@
install-libraries:
@for i in $(INSTALL_ROOT)$(prefix)/lib $(INCLUDE_INSTALL_DIR) \
@@ -91,63 +81,49 @@
$(SCRIPT_INSTALL_DIR) $(SCRIPT_INSTALL_DIR)/images; \
do \
if [ ! -d $$i ] ; then \
-@@ -450,11 +466,19 @@
- else true; \
+@@ -461,11 +476,19 @@
fi; \
done;
+ chmod +x $(UNIX_DIR)/install-sh
- @for i in $(GENERIC_DIR)/tk.h $(GENERIC_DIR)/tkDecls.h ; \
+ @echo "Installing headers"
+ @for i in $(GENERIC_DIR)/*.h ; \
-+ do \
-+ echo "Installing $$i"; \
-+ $(INSTALL_DATA) $$i $(GENERIC_INCLUDE_INSTALL_DIR); \
-+ done;
-+ @for i in $(UNIX_DIR)/*.h ; \
do \
echo "Installing $$i"; \
- $(INSTALL_DATA) $$i $(INCLUDE_INSTALL_DIR); \
-+ $(INSTALL_DATA) $$i $(UNIX_INCLUDE_INSTALL_DIR); \
++ $(INSTALL_DATA) $$i $(GENERIC_INCLUDE_INSTALL_DIR); \
done;
++ @for i in $(UNIX_DIR)/*.h ; \
++ do \
++ echo "Installing $$i"; \
++ $(INSTALL_DATA) $$i $(UNIX_INCLUDE_INSTALL_DIR); \
++ done ;
+ @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tk.h $(INCLUDE_INSTALL_DIR)/tk.h
+ @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tkDecls.h $(INCLUDE_INSTALL_DIR)/tkDecls.h
- for i in $(SRC_DIR)/library/*.tcl $(SRC_DIR)/library/tclIndex $(UNIX_DIR)/tkAppInit.c; \
+ for i in $(SRC_DIR)/library/*.tcl $(GENERIC_DIR)/prolog.ps \
+ $(SRC_DIR)/library/tclIndex $(UNIX_DIR)/tkAppInit.c; \
do \
- echo "Installing $$i"; \
-@@ -513,30 +537,27 @@
- @cd $(SRC_DIR)/doc; for i in *.1; \
- do \
- echo "Installing doc/$$i"; \
-- rm -f $(MAN1_INSTALL_DIR)/$$i; \
-+ rm -f $(MAN1_INSTALL_DIR)/$$i $(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 -c > $(MAN1_INSTALL_DIR)/$$i.gz; \
-+ chmod 444 $(MAN1_INSTALL_DIR)/$$i.gz; \
+@@ -530,16 +553,14 @@
+ $$i > $(MAN1_INSTALL_DIR)/$$i; \
+ chmod 444 $(MAN1_INSTALL_DIR)/$$i; \
done;
- $(UNIX_DIR)/mkLinks $(MAN1_INSTALL_DIR)
@cd $(SRC_DIR)/doc; for i in *.3; \
do \
echo "Installing doc/$$i"; \
- rm -f $(MAN3_INSTALL_DIR)/$$i; \
-+ rm -f $(MAN3_INSTALL_DIR)/$$i $(MAN3_INSTALL_DIR)/$$i.gz; \
++ rm -f $(MAN3_INSTALL_DIR)/$$i ; \
sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
-- $$i > $(MAN3_INSTALL_DIR)/$$i; \
-- chmod 444 $(MAN3_INSTALL_DIR)/$$i; \
-+ $$i | gzip -c > $(MAN3_INSTALL_DIR)/$$i.gz; \
-+ chmod 444 $(MAN3_INSTALL_DIR)/$$i.gz; \
+ $$i > $(MAN3_INSTALL_DIR)/$$i; \
+ chmod 444 $(MAN3_INSTALL_DIR)/$$i; \
done;
- $(UNIX_DIR)/mkLinks $(MAN3_INSTALL_DIR)
@cd $(SRC_DIR)/doc; for i in *.n; \
do \
echo "Installing doc/$$i"; \
-- rm -f $(MANN_INSTALL_DIR)/$$i; \
-+ rm -f $(MANN_INSTALL_DIR)/$$i $(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 -c > $(MANN_INSTALL_DIR)/$$i.gz; \
-+ chmod 444 $(MANN_INSTALL_DIR)/$$i.gz; \
+@@ -548,7 +569,6 @@
+ $$i > $(MANN_INSTALL_DIR)/$$i; \
+ chmod 444 $(MANN_INSTALL_DIR)/$$i; \
done;
- $(UNIX_DIR)/mkLinks $(MANN_INSTALL_DIR)
diff --git a/x11-toolkits/tk83/pkg-plist b/x11-toolkits/tk83/pkg-plist
index b87d4c576803..b5afedf961fd 100644
--- a/x11-toolkits/tk83/pkg-plist
+++ b/x11-toolkits/tk83/pkg-plist
@@ -1,140 +1,140 @@
-bin/wish8.1
-include/tk8.1/generic/default.h
-include/tk8.1/generic/ks_names.h
-include/tk8.1/generic/tk.h
-include/tk8.1/generic/tk3d.h
-include/tk8.1/generic/tkButton.h
-include/tk8.1/generic/tkCanvas.h
-include/tk8.1/generic/tkColor.h
-include/tk8.1/generic/tkDecls.h
-include/tk8.1/generic/tkFileFilter.h
-include/tk8.1/generic/tkFont.h
-include/tk8.1/generic/tkInitScript.h
-include/tk8.1/generic/tkInt.h
-include/tk8.1/generic/tkIntDecls.h
-include/tk8.1/generic/tkIntPlatDecls.h
-include/tk8.1/generic/tkIntXlibDecls.h
-include/tk8.1/generic/tkMenu.h
-include/tk8.1/generic/tkMenubutton.h
-include/tk8.1/generic/tkPlatDecls.h
-include/tk8.1/generic/tkPort.h
-include/tk8.1/generic/tkScale.h
-include/tk8.1/generic/tkScrollbar.h
-include/tk8.1/generic/tkSelect.h
-include/tk8.1/generic/tkText.h
-include/tk8.1/tk.h
-include/tk8.1/tkDecls.h
-include/tk8.1/unix/tkUnixDefault.h
-include/tk8.1/unix/tkUnixInt.h
-include/tk8.1/unix/tkUnixPort.h
-lib/libtk81.a
-lib/libtk81.so
-lib/libtk81.so.1
-lib/libtkstub81.a
+bin/wish%%TK_VER%%
+include/tk%%TK_VER%%/generic/default.h
+include/tk%%TK_VER%%/generic/ks_names.h
+include/tk%%TK_VER%%/generic/tk.h
+include/tk%%TK_VER%%/generic/tk3d.h
+include/tk%%TK_VER%%/generic/tkButton.h
+include/tk%%TK_VER%%/generic/tkCanvas.h
+include/tk%%TK_VER%%/generic/tkColor.h
+include/tk%%TK_VER%%/generic/tkDecls.h
+include/tk%%TK_VER%%/generic/tkFileFilter.h
+include/tk%%TK_VER%%/generic/tkFont.h
+include/tk%%TK_VER%%/generic/tkInitScript.h
+include/tk%%TK_VER%%/generic/tkInt.h
+include/tk%%TK_VER%%/generic/tkIntDecls.h
+include/tk%%TK_VER%%/generic/tkIntPlatDecls.h
+include/tk%%TK_VER%%/generic/tkIntXlibDecls.h
+include/tk%%TK_VER%%/generic/tkMenu.h
+include/tk%%TK_VER%%/generic/tkMenubutton.h
+include/tk%%TK_VER%%/generic/tkPlatDecls.h
+include/tk%%TK_VER%%/generic/tkPort.h
+include/tk%%TK_VER%%/generic/tkScale.h
+include/tk%%TK_VER%%/generic/tkScrollbar.h
+include/tk%%TK_VER%%/generic/tkSelect.h
+include/tk%%TK_VER%%/generic/tkText.h
+include/tk%%TK_VER%%/tk.h
+include/tk%%TK_VER%%/tkDecls.h
+include/tk%%TK_VER%%/unix/tkUnixDefault.h
+include/tk%%TK_VER%%/unix/tkUnixInt.h
+include/tk%%TK_VER%%/unix/tkUnixPort.h
+lib/libtk%%SHORT_TK_VER%%.a
+lib/libtk%%SHORT_TK_VER%%.so
+lib/libtk%%SHORT_TK_VER%%.so.1
+lib/libtkstub%%SHORT_TK_VER%%.a
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
-lib/tk8.1/bgerror.tcl
-lib/tk8.1/button.tcl
-lib/tk8.1/clrpick.tcl
-lib/tk8.1/comdlg.tcl
-lib/tk8.1/console.tcl
-lib/tk8.1/demos/README
-lib/tk8.1/demos/arrow.tcl
-lib/tk8.1/demos/bind.tcl
-lib/tk8.1/demos/bitmap.tcl
-lib/tk8.1/demos/browse
-lib/tk8.1/demos/button.tcl
-lib/tk8.1/demos/check.tcl
-lib/tk8.1/demos/clrpick.tcl
-lib/tk8.1/demos/colors.tcl
-lib/tk8.1/demos/cscroll.tcl
-lib/tk8.1/demos/ctext.tcl
-lib/tk8.1/demos/dialog1.tcl
-lib/tk8.1/demos/dialog2.tcl
-lib/tk8.1/demos/entry1.tcl
-lib/tk8.1/demos/entry2.tcl
-lib/tk8.1/demos/filebox.tcl
-lib/tk8.1/demos/floor.tcl
-lib/tk8.1/demos/form.tcl
-lib/tk8.1/demos/hello
-lib/tk8.1/demos/hscale.tcl
-lib/tk8.1/demos/icon.tcl
-lib/tk8.1/demos/image1.tcl
-lib/tk8.1/demos/image2.tcl
-lib/tk8.1/demos/images/earth.gif
-lib/tk8.1/demos/images/earthris.gif
-lib/tk8.1/demos/images/face.bmp
-lib/tk8.1/demos/images/flagdown.bmp
-lib/tk8.1/demos/images/flagup.bmp
-lib/tk8.1/demos/images/gray25.bmp
-lib/tk8.1/demos/images/letters.bmp
-lib/tk8.1/demos/images/noletter.bmp
-lib/tk8.1/demos/images/pattern.bmp
-lib/tk8.1/demos/images/tcllogo.gif
-lib/tk8.1/demos/images/teapot.ppm
-lib/tk8.1/demos/items.tcl
-lib/tk8.1/demos/ixset
-lib/tk8.1/demos/label.tcl
-lib/tk8.1/demos/license.terms
-lib/tk8.1/demos/menu.tcl
-lib/tk8.1/demos/menubu.tcl
-lib/tk8.1/demos/msgbox.tcl
-lib/tk8.1/demos/plot.tcl
-lib/tk8.1/demos/puzzle.tcl
-lib/tk8.1/demos/radio.tcl
-lib/tk8.1/demos/rmt
-lib/tk8.1/demos/rolodex
-lib/tk8.1/demos/ruler.tcl
-lib/tk8.1/demos/sayings.tcl
-lib/tk8.1/demos/search.tcl
-lib/tk8.1/demos/square
-lib/tk8.1/demos/states.tcl
-lib/tk8.1/demos/style.tcl
-lib/tk8.1/demos/tclIndex
-lib/tk8.1/demos/tcolor
-lib/tk8.1/demos/text.tcl
-lib/tk8.1/demos/timer
-lib/tk8.1/demos/twind.tcl
-lib/tk8.1/demos/vscale.tcl
-lib/tk8.1/demos/widget
-lib/tk8.1/dialog.tcl
-lib/tk8.1/entry.tcl
-lib/tk8.1/focus.tcl
-lib/tk8.1/images/README
-lib/tk8.1/images/logo.eps
-lib/tk8.1/images/logo100.gif
-lib/tk8.1/images/logo64.gif
-lib/tk8.1/images/logoLarge.gif
-lib/tk8.1/images/logoMed.gif
-lib/tk8.1/images/pspbrwse.jbf
-lib/tk8.1/images/pwrdLogo.eps
-lib/tk8.1/images/pwrdLogo100.gif
-lib/tk8.1/images/pwrdLogo150.gif
-lib/tk8.1/images/pwrdLogo175.gif
-lib/tk8.1/images/pwrdLogo200.gif
-lib/tk8.1/images/pwrdLogo75.gif
-lib/tk8.1/images/tai-ku.gif
-lib/tk8.1/listbox.tcl
-lib/tk8.1/menu.tcl
-lib/tk8.1/msgbox.tcl
-lib/tk8.1/obsolete.tcl
-lib/tk8.1/optMenu.tcl
-lib/tk8.1/palette.tcl
-lib/tk8.1/safetk.tcl
-lib/tk8.1/scale.tcl
-lib/tk8.1/scrlbar.tcl
-lib/tk8.1/tclIndex
-lib/tk8.1/tearoff.tcl
-lib/tk8.1/text.tcl
-lib/tk8.1/tk.tcl
-lib/tk8.1/tkAppInit.c
-lib/tk8.1/tkConfig.sh
-lib/tk8.1/tkfbox.tcl
-lib/tk8.1/xmfbox.tcl
-@dirrm lib/tk8.1/demos/images
-@dirrm lib/tk8.1/demos
-@dirrm lib/tk8.1/images
-@dirrm lib/tk8.1
-@dirrm include/tk8.1/unix
-@dirrm include/tk8.1/generic
-@dirrm include/tk8.1
+lib/tk%%TK_VER%%/bgerror.tcl
+lib/tk%%TK_VER%%/button.tcl
+lib/tk%%TK_VER%%/clrpick.tcl
+lib/tk%%TK_VER%%/comdlg.tcl
+lib/tk%%TK_VER%%/console.tcl
+lib/tk%%TK_VER%%/demos/README
+lib/tk%%TK_VER%%/demos/arrow.tcl
+lib/tk%%TK_VER%%/demos/bind.tcl
+lib/tk%%TK_VER%%/demos/bitmap.tcl
+lib/tk%%TK_VER%%/demos/browse
+lib/tk%%TK_VER%%/demos/button.tcl
+lib/tk%%TK_VER%%/demos/check.tcl
+lib/tk%%TK_VER%%/demos/clrpick.tcl
+lib/tk%%TK_VER%%/demos/colors.tcl
+lib/tk%%TK_VER%%/demos/cscroll.tcl
+lib/tk%%TK_VER%%/demos/ctext.tcl
+lib/tk%%TK_VER%%/demos/dialog1.tcl
+lib/tk%%TK_VER%%/demos/dialog2.tcl
+lib/tk%%TK_VER%%/demos/entry1.tcl
+lib/tk%%TK_VER%%/demos/entry2.tcl
+lib/tk%%TK_VER%%/demos/filebox.tcl
+lib/tk%%TK_VER%%/demos/floor.tcl
+lib/tk%%TK_VER%%/demos/form.tcl
+lib/tk%%TK_VER%%/demos/hello
+lib/tk%%TK_VER%%/demos/hscale.tcl
+lib/tk%%TK_VER%%/demos/icon.tcl
+lib/tk%%TK_VER%%/demos/image1.tcl
+lib/tk%%TK_VER%%/demos/image2.tcl
+lib/tk%%TK_VER%%/demos/images/earth.gif
+lib/tk%%TK_VER%%/demos/images/earthris.gif
+lib/tk%%TK_VER%%/demos/images/face.bmp
+lib/tk%%TK_VER%%/demos/images/flagdown.bmp
+lib/tk%%TK_VER%%/demos/images/flagup.bmp
+lib/tk%%TK_VER%%/demos/images/gray25.bmp
+lib/tk%%TK_VER%%/demos/images/letters.bmp
+lib/tk%%TK_VER%%/demos/images/noletter.bmp
+lib/tk%%TK_VER%%/demos/images/pattern.bmp
+lib/tk%%TK_VER%%/demos/images/tcllogo.gif
+lib/tk%%TK_VER%%/demos/images/teapot.ppm
+lib/tk%%TK_VER%%/demos/items.tcl
+lib/tk%%TK_VER%%/demos/ixset
+lib/tk%%TK_VER%%/demos/label.tcl
+lib/tk%%TK_VER%%/demos/license.terms
+lib/tk%%TK_VER%%/demos/menu.tcl
+lib/tk%%TK_VER%%/demos/menubu.tcl
+lib/tk%%TK_VER%%/demos/msgbox.tcl
+lib/tk%%TK_VER%%/demos/plot.tcl
+lib/tk%%TK_VER%%/demos/puzzle.tcl
+lib/tk%%TK_VER%%/demos/radio.tcl
+lib/tk%%TK_VER%%/demos/rmt
+lib/tk%%TK_VER%%/demos/rolodex
+lib/tk%%TK_VER%%/demos/ruler.tcl
+lib/tk%%TK_VER%%/demos/sayings.tcl
+lib/tk%%TK_VER%%/demos/search.tcl
+lib/tk%%TK_VER%%/demos/square
+lib/tk%%TK_VER%%/demos/states.tcl
+lib/tk%%TK_VER%%/demos/style.tcl
+lib/tk%%TK_VER%%/demos/tclIndex
+lib/tk%%TK_VER%%/demos/tcolor
+lib/tk%%TK_VER%%/demos/text.tcl
+lib/tk%%TK_VER%%/demos/timer
+lib/tk%%TK_VER%%/demos/twind.tcl
+lib/tk%%TK_VER%%/demos/vscale.tcl
+lib/tk%%TK_VER%%/demos/widget
+lib/tk%%TK_VER%%/dialog.tcl
+lib/tk%%TK_VER%%/entry.tcl
+lib/tk%%TK_VER%%/focus.tcl
+lib/tk%%TK_VER%%/images/README
+lib/tk%%TK_VER%%/images/logo.eps
+lib/tk%%TK_VER%%/images/logo100.gif
+lib/tk%%TK_VER%%/images/logo64.gif
+lib/tk%%TK_VER%%/images/logoLarge.gif
+lib/tk%%TK_VER%%/images/logoMed.gif
+lib/tk%%TK_VER%%/images/pwrdLogo.eps
+lib/tk%%TK_VER%%/images/pwrdLogo100.gif
+lib/tk%%TK_VER%%/images/pwrdLogo150.gif
+lib/tk%%TK_VER%%/images/pwrdLogo175.gif
+lib/tk%%TK_VER%%/images/pwrdLogo200.gif
+lib/tk%%TK_VER%%/images/pwrdLogo75.gif
+lib/tk%%TK_VER%%/images/tai-ku.gif
+lib/tk%%TK_VER%%/listbox.tcl
+lib/tk%%TK_VER%%/menu.tcl
+lib/tk%%TK_VER%%/msgbox.tcl
+lib/tk%%TK_VER%%/obsolete.tcl
+lib/tk%%TK_VER%%/optMenu.tcl
+lib/tk%%TK_VER%%/palette.tcl
+lib/tk%%TK_VER%%/prolog.ps
+lib/tk%%TK_VER%%/safetk.tcl
+lib/tk%%TK_VER%%/scale.tcl
+lib/tk%%TK_VER%%/scrlbar.tcl
+lib/tk%%TK_VER%%/tclIndex
+lib/tk%%TK_VER%%/tearoff.tcl
+lib/tk%%TK_VER%%/text.tcl
+lib/tk%%TK_VER%%/tk.tcl
+lib/tk%%TK_VER%%/tkAppInit.c
+lib/tk%%TK_VER%%/tkConfig.sh
+lib/tk%%TK_VER%%/tkfbox.tcl
+lib/tk%%TK_VER%%/xmfbox.tcl
+@dirrm lib/tk%%TK_VER%%/demos/images
+@dirrm lib/tk%%TK_VER%%/demos
+@dirrm lib/tk%%TK_VER%%/images
+@dirrm lib/tk%%TK_VER%%
+@dirrm include/tk%%TK_VER%%/unix
+@dirrm include/tk%%TK_VER%%/generic
+@dirrm include/tk%%TK_VER%%
diff --git a/x11-toolkits/tk84/Makefile b/x11-toolkits/tk84/Makefile
index c5c1428f839f..97b5bd60cf80 100644
--- a/x11-toolkits/tk84/Makefile
+++ b/x11-toolkits/tk84/Makefile
@@ -1,28 +1,32 @@
-# New ports collection makefile for: tk8.1.1
-# Version required: 8.1.1
+# New ports collection makefile for: tk
+# Version required: 8.2.0
# Date created: 19 August 1997
# Whom: jkh
#
# $FreeBSD$
#
-DISTNAME= tk8.1.1
-PKGNAME= tk-8.1.1
-CATEGORIES= x11-toolkits tk81
-MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/tcl8_1/
+DISTNAME= tk8.2.0
+PKGNAME= tk-8.2.0
+CATEGORIES= x11-toolkits tk82
+MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/tcl8_2/
MAINTAINER= jseger@FreeBSD.org
-LIB_DEPENDS= tcl81.1:${PORTSDIR}/lang/tcl81
+LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82
FILE_DEPENDS= ${PORTSDIR}/x11-toolkits/tk80
USE_XLIB= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-shared
-CONFIGURE_ENV= PORTSDIR=${PORTSDIR} TK_LIB_FILE=libtk81.so.1
+CONFIGURE_ARGS= --enable-shared --with-tcl=${PREFIX}/lib/tcl8.2
+CONFIGURE_ENV= PORTSDIR=${PORTSDIR} TK_LIB_FILE=libtk82.so.1
PKGINSTALL= ${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish
+PLIST_SUB= TK_VER=8.2 SHORT_TK_VER=82
+
+MANCOMPRESSED= no
+
MAN1= wish.1
MAN3= 3DBorder.3 BindTable.3 CanvPsY.3 CanvTkwin.3 CanvTxtInfo.3 \
Clipboard.3 ClrSelect.3 ConfigWidg.3 ConfigWind.3 CoordToWin.3 \
@@ -288,7 +292,6 @@ MLINKS= 3DBorder.3 Tk_Alloc3DBorderFromObj.3 \
palette.n tk_setPalette.n \
palette.n tk_bisque.n \
popup.n tk_popup.n
-MANCOMPRESSED= yes
.include <bsd.port.pre.mk>
diff --git a/x11-toolkits/tk84/distinfo b/x11-toolkits/tk84/distinfo
index 8189d7a403f7..bf1630df20e2 100644
--- a/x11-toolkits/tk84/distinfo
+++ b/x11-toolkits/tk84/distinfo
@@ -1 +1 @@
-MD5 (tk8.1.1.tar.gz) = 0677449e344e7720cfa37660d070de8c
+MD5 (tk8.2.0.tar.gz) = 574e112ddca4330eea01b0e26d3ed6eb
diff --git a/x11-toolkits/tk84/files/patch-aa b/x11-toolkits/tk84/files/patch-aa
index 9938b28f6787..1f33895446d2 100644
--- a/x11-toolkits/tk84/files/patch-aa
+++ b/x11-toolkits/tk84/files/patch-aa
@@ -1,48 +1,41 @@
---- configure.orig Fri Apr 30 08:27:45 1999
-+++ configure Mon May 10 00:20:26 1999
-@@ -956,14 +956,14 @@
- withval="$with_tcl"
- TCL_BIN_DIR=$withval
+--- configure.orig Fri Aug 13 18:06:14 1999
++++ configure Sat Sep 4 15:22:21 1999
+@@ -1756,7 +1756,7 @@
+ LDFLAGS="-Wl,-Bexport"
+ LD_SEARCH_FLAGS=""
+ ;;
+- NetBSD-*|FreeBSD-[12].*|OpenBSD-*)
++ NetBSD-*|FreeBSD-*|OpenBSD-*)
+ # Not available on all versions: check for include file.
+ ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
+@@ -1788,14 +1788,19 @@
+ echo "$ac_t""yes" 1>&6
+
+ SHLIB_CFLAGS="-fpic"
+- SHLIB_LD="ld -Bshareable -x"
+ SHLIB_LD_LIBS=""
+ SHLIB_SUFFIX=".so"
+ DL_OBJS="tclLoadDl.o"
+ DL_LIBS=""
+ LDFLAGS=""
+ LD_SEARCH_FLAGS=""
+- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
++ if eval "test \"`echo ${PORTOBJFORMAT}`\" = elf" ; then
++ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1'
++ SHLIB_LD="ld -shared -x -soname \$@"
++ else
++ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0'
++ SHLIB_LD="ld -Bshareable -x"
++ fi
+
else
-- TCL_BIN_DIR=`cd $TCL_BIN_DEFAULT; pwd`
-+ TCL_BIN_DIR=${prefix}/lib/tcl8.1
- fi
-
- if test ! -d $TCL_BIN_DIR; then
- { echo "configure: error: Tcl directory $TCL_BIN_DIR doesn't exist" 1>&2; exit 1; }
- fi
--if test ! -f $TCL_BIN_DIR/Makefile; then
-- { echo "configure: error: There's no Makefile in $TCL_BIN_DIR; perhaps you didn't specify the Tcl *build* directory (not the toplevel Tcl directory) or you forgot to configure Tcl?" 1>&2; exit 1; }
-+if test ! -f $TCL_BIN_DIR/tclConfig.sh; then
-+ { echo "configure: error: There's no tclConfig.sh in $TCL_BIN_DIR; perhaps you didn't specify the Tcl *build* directory (not the toplevel Tcl directory) or you forgot to configure Tcl?" 1>&2; exit 1; }
- fi
-
- #--------------------------------------------------------------------
-@@ -1004,6 +1004,8 @@
- CFLAGS_OPTIMIZE=$TCL_CFLAGS_OPTIMIZE
- EXTRA_CFLAGS=$TCL_EXTRA_CFLAGS
+ echo "$ac_t""no" 1>&6
+@@ -2266,6 +2271,7 @@
+ echo "$ac_t""no" 1>&6
+ fi
+TCL_SRC_DIR=${prefix}/include/tcl${TCL_VERSION}
-+
- LIB_RUNTIME_DIR='${LIB_RUNTIME_DIR}'
- # If Tcl and Tk are installed in different places, adjust the library
-@@ -2450,8 +2452,8 @@
- if test "$ok" = "yes" -a "${SHLIB_SUFFIX}" != ""; then
- TK_SHARED_BUILD=1
- TK_SHLIB_CFLAGS="${SHLIB_CFLAGS}"
-- TK_LIB_FILE=libtk${TCL_SHARED_LIB_SUFFIX}
-- MAKE_LIB="\${SHLIB_LD} -o \${TK_LIB_FILE} \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${TCL_BUILD_STUB_LIB_SPEC} \${LIBS}"
-+ TK_LIB_FILE=${TK_LIB_FILE}
-+ MAKE_LIB="\${SHLIB_LD} -o \${TK_LIB_FILE} \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${TCL_STUB_LIB_SPEC} \${LIBS}"
- RANLIB=":"
+ LIB_RUNTIME_DIR='${LIB_RUNTIME_DIR}'
- TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
-@@ -2729,6 +2731,7 @@
- s%@TCL_BIN_DIR@%$TCL_BIN_DIR%g
- s%@TCL_BUILD_STUB_LIB_SPEC@%$TCL_BUILD_STUB_LIB_SPEC%g
- s%@TCL_BUILD_LIB_SPEC@%$TCL_BUILD_LIB_SPEC%g
-+s%@TCL_LIB_SPEC@%$TCL_LIB_SPEC%g
- s%@TCL_DBGX@%$TCL_DBGX%g
- s%@TCL_LIB_FLAG@%$TCL_LIB_FLAG%g
- s%@TCL_SRC_DIR@%$TCL_SRC_DIR%g
diff --git a/x11-toolkits/tk84/files/patch-ab b/x11-toolkits/tk84/files/patch-ab
index d907e5809b46..3c9fb1cf6c6c 100644
--- a/x11-toolkits/tk84/files/patch-ab
+++ b/x11-toolkits/tk84/files/patch-ab
@@ -1,5 +1,5 @@
---- Makefile.in.orig Fri Apr 30 08:27:45 1999
-+++ Makefile.in Mon May 10 01:18:32 1999
+--- Makefile.in.orig Fri Aug 13 18:06:14 1999
++++ Makefile.in Sat Sep 4 19:47:43 1999
@@ -56,7 +56,9 @@
BIN_DIR = $(exec_prefix)/bin
@@ -11,16 +11,7 @@
# Top-level directory for manual entries:
MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man
-@@ -98,7 +100,7 @@
- #CFLAGS = $(CFLAGS_DEBUG)
- #CFLAGS = $(CFLAGS_OPTIMIZE)
- #CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE)
--CFLAGS = $(@CFLAGS_DEFAULT@)
-+CFLAGS = @CFLAGS@
-
- # A "-I" switch that can be used when compiling to make all of the
- # X11 include files accessible (the configure script will try to
-@@ -152,7 +154,7 @@
+@@ -153,7 +155,7 @@
# "install" around; better to use the install-sh script that comes
# with the distribution, which is slower but guaranteed to work.
@@ -29,51 +20,50 @@
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
-@@ -188,7 +190,7 @@
+@@ -190,7 +192,7 @@
# Libraries to use when linking. This definition is determined by the
# configure script.
LIBS = @LIBS@ $(X11_LIB_SWITCHES) @DL_LIBS@ @MATH_LIBS@ -lc
-WISH_LIBS = $(TCL_LIB_SPEC) @LIBS@ $(X11_LIB_SWITCHES) @DL_LIBS@ @MATH_LIBS@ -lc
-+WISH_LIBS = -L${PREFIX}/lib -ltcl81 @LIBS@ $(X11_LIB_SWITCHES) @DL_LIBS@ @MATH_LIBS@ -lc
++WISH_LIBS = -L${PREFIX}/lib -ltcl82 @LIBS@ $(X11_LIB_SWITCHES) @DL_LIBS@ @MATH_LIBS@ -lc
# The symbol below provides support for dynamic loading and shared
# libraries. See configure.in for a description of what it means.
-@@ -348,8 +350,14 @@
+@@ -356,8 +358,14 @@
${TK_LIB_FILE}: ${OBJS}
rm -f ${TK_LIB_FILE}
@MAKE_LIB@
-+ ln -sf @TK_LIB_FILE@ libtk81.so
++ ln -sf @TK_LIB_FILE@ libtk82.so
$(RANLIB) ${TK_LIB_FILE}
-+libtk81.a: ${OBJS}
-+ rm -f libtk81.a
-+ ar cr libtk81.a ${OBJS}
-+ $(RANLIB) libtk81.a
++libtk82.a: ${OBJS}
++ rm -f libtk82.a
++ ar cr libtk82.a ${OBJS}
++ $(RANLIB) libtk82.a
+
${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
rm -f ${STUB_LIB_FILE}
@MAKE_STUB_LIB@
-@@ -410,7 +418,8 @@
+@@ -418,7 +426,7 @@
# some ranlibs write to current directory, and this might not always be
# possible (e.g. if installing as root).
-install-binaries: $(TK_LIB_FILE) $(TK_STUB_LIB_FILE) $(TK_BUILD_EXP_FILE) wish
-+install-binaries: $(TK_LIB_FILE) $(TK_STUB_LIB_FILE) $(TK_BUILD_EXP_FILE) \
-+ libtk81.a wish
++install-binaries: $(TK_LIB_FILE) $(TK_STUB_LIB_FILE) $(TK_BUILD_EXP_FILE) libtk82.a wish
@for i in $(LIB_INSTALL_DIR) $(BIN_INSTALL_DIR) ; \
do \
if [ ! -d $$i ] ; then \
-@@ -422,12 +431,18 @@
- done;
- @echo "Installing $(TK_LIB_FILE)"
+@@ -432,12 +440,18 @@
+ chmod +x $(UNIX_DIR)/install-sh
+ chmod +x $(UNIX_DIR)/mkLinks
@$(INSTALL_DATA) $(TK_LIB_FILE) $(LIB_INSTALL_DIR)/$(TK_LIB_FILE)
-+ @ln -sf $(TK_LIB_FILE) $(LIB_INSTALL_DIR)/libtk81.so
++ @ln -sf $(LIB_INSTALL_DIR)/$(TK_LIB_FILE) $(LIB_INSTALL_DIR)/libtk82.so
@(cd $(LIB_INSTALL_DIR); $(RANLIB) $(TK_LIB_FILE))
@chmod 555 $(LIB_INSTALL_DIR)/$(TK_LIB_FILE)
-+ @echo "Installing libtk81.a"
-+ @$(INSTALL_DATA) libtk81.a $(LIB_INSTALL_DIR)/libtk81.a
-+ @(cd $(LIB_INSTALL_DIR); $(RANLIB) libtk81.a)
-+ @chmod 555 $(LIB_INSTALL_DIR)/libtk81.a
++ @echo "Installing libtk82.a"
++ @$(INSTALL_DATA) libtk82.a $(LIB_INSTALL_DIR)/libtk82.a
++ @(cd $(LIB_INSTALL_DIR); $(RANLIB) libtk82.a)
++ @chmod 555 $(LIB_INSTALL_DIR)/libtk82.a
@echo "Installing wish"
@$(INSTALL_PROGRAM) wish $(BIN_INSTALL_DIR)/wish$(VERSION)
@echo "Installing tkConfig.sh"
@@ -83,7 +73,7 @@
@if test "$(TK_BUILD_EXP_FILE)" != ""; then \
echo "Installing $(TK_EXP_FILE)"; \
$(INSTALL_DATA) $(TK_BUILD_EXP_FILE) \
-@@ -441,6 +456,7 @@
+@@ -451,6 +465,7 @@
install-libraries:
@for i in $(INSTALL_ROOT)$(prefix)/lib $(INCLUDE_INSTALL_DIR) \
@@ -91,63 +81,49 @@
$(SCRIPT_INSTALL_DIR) $(SCRIPT_INSTALL_DIR)/images; \
do \
if [ ! -d $$i ] ; then \
-@@ -450,11 +466,19 @@
- else true; \
+@@ -461,11 +476,19 @@
fi; \
done;
+ chmod +x $(UNIX_DIR)/install-sh
- @for i in $(GENERIC_DIR)/tk.h $(GENERIC_DIR)/tkDecls.h ; \
+ @echo "Installing headers"
+ @for i in $(GENERIC_DIR)/*.h ; \
-+ do \
-+ echo "Installing $$i"; \
-+ $(INSTALL_DATA) $$i $(GENERIC_INCLUDE_INSTALL_DIR); \
-+ done;
-+ @for i in $(UNIX_DIR)/*.h ; \
do \
echo "Installing $$i"; \
- $(INSTALL_DATA) $$i $(INCLUDE_INSTALL_DIR); \
-+ $(INSTALL_DATA) $$i $(UNIX_INCLUDE_INSTALL_DIR); \
++ $(INSTALL_DATA) $$i $(GENERIC_INCLUDE_INSTALL_DIR); \
done;
++ @for i in $(UNIX_DIR)/*.h ; \
++ do \
++ echo "Installing $$i"; \
++ $(INSTALL_DATA) $$i $(UNIX_INCLUDE_INSTALL_DIR); \
++ done ;
+ @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tk.h $(INCLUDE_INSTALL_DIR)/tk.h
+ @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tkDecls.h $(INCLUDE_INSTALL_DIR)/tkDecls.h
- for i in $(SRC_DIR)/library/*.tcl $(SRC_DIR)/library/tclIndex $(UNIX_DIR)/tkAppInit.c; \
+ for i in $(SRC_DIR)/library/*.tcl $(GENERIC_DIR)/prolog.ps \
+ $(SRC_DIR)/library/tclIndex $(UNIX_DIR)/tkAppInit.c; \
do \
- echo "Installing $$i"; \
-@@ -513,30 +537,27 @@
- @cd $(SRC_DIR)/doc; for i in *.1; \
- do \
- echo "Installing doc/$$i"; \
-- rm -f $(MAN1_INSTALL_DIR)/$$i; \
-+ rm -f $(MAN1_INSTALL_DIR)/$$i $(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 -c > $(MAN1_INSTALL_DIR)/$$i.gz; \
-+ chmod 444 $(MAN1_INSTALL_DIR)/$$i.gz; \
+@@ -530,16 +553,14 @@
+ $$i > $(MAN1_INSTALL_DIR)/$$i; \
+ chmod 444 $(MAN1_INSTALL_DIR)/$$i; \
done;
- $(UNIX_DIR)/mkLinks $(MAN1_INSTALL_DIR)
@cd $(SRC_DIR)/doc; for i in *.3; \
do \
echo "Installing doc/$$i"; \
- rm -f $(MAN3_INSTALL_DIR)/$$i; \
-+ rm -f $(MAN3_INSTALL_DIR)/$$i $(MAN3_INSTALL_DIR)/$$i.gz; \
++ rm -f $(MAN3_INSTALL_DIR)/$$i ; \
sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
-- $$i > $(MAN3_INSTALL_DIR)/$$i; \
-- chmod 444 $(MAN3_INSTALL_DIR)/$$i; \
-+ $$i | gzip -c > $(MAN3_INSTALL_DIR)/$$i.gz; \
-+ chmod 444 $(MAN3_INSTALL_DIR)/$$i.gz; \
+ $$i > $(MAN3_INSTALL_DIR)/$$i; \
+ chmod 444 $(MAN3_INSTALL_DIR)/$$i; \
done;
- $(UNIX_DIR)/mkLinks $(MAN3_INSTALL_DIR)
@cd $(SRC_DIR)/doc; for i in *.n; \
do \
echo "Installing doc/$$i"; \
-- rm -f $(MANN_INSTALL_DIR)/$$i; \
-+ rm -f $(MANN_INSTALL_DIR)/$$i $(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 -c > $(MANN_INSTALL_DIR)/$$i.gz; \
-+ chmod 444 $(MANN_INSTALL_DIR)/$$i.gz; \
+@@ -548,7 +569,6 @@
+ $$i > $(MANN_INSTALL_DIR)/$$i; \
+ chmod 444 $(MANN_INSTALL_DIR)/$$i; \
done;
- $(UNIX_DIR)/mkLinks $(MANN_INSTALL_DIR)
diff --git a/x11-toolkits/tk84/pkg-plist b/x11-toolkits/tk84/pkg-plist
index b87d4c576803..b5afedf961fd 100644
--- a/x11-toolkits/tk84/pkg-plist
+++ b/x11-toolkits/tk84/pkg-plist
@@ -1,140 +1,140 @@
-bin/wish8.1
-include/tk8.1/generic/default.h
-include/tk8.1/generic/ks_names.h
-include/tk8.1/generic/tk.h
-include/tk8.1/generic/tk3d.h
-include/tk8.1/generic/tkButton.h
-include/tk8.1/generic/tkCanvas.h
-include/tk8.1/generic/tkColor.h
-include/tk8.1/generic/tkDecls.h
-include/tk8.1/generic/tkFileFilter.h
-include/tk8.1/generic/tkFont.h
-include/tk8.1/generic/tkInitScript.h
-include/tk8.1/generic/tkInt.h
-include/tk8.1/generic/tkIntDecls.h
-include/tk8.1/generic/tkIntPlatDecls.h
-include/tk8.1/generic/tkIntXlibDecls.h
-include/tk8.1/generic/tkMenu.h
-include/tk8.1/generic/tkMenubutton.h
-include/tk8.1/generic/tkPlatDecls.h
-include/tk8.1/generic/tkPort.h
-include/tk8.1/generic/tkScale.h
-include/tk8.1/generic/tkScrollbar.h
-include/tk8.1/generic/tkSelect.h
-include/tk8.1/generic/tkText.h
-include/tk8.1/tk.h
-include/tk8.1/tkDecls.h
-include/tk8.1/unix/tkUnixDefault.h
-include/tk8.1/unix/tkUnixInt.h
-include/tk8.1/unix/tkUnixPort.h
-lib/libtk81.a
-lib/libtk81.so
-lib/libtk81.so.1
-lib/libtkstub81.a
+bin/wish%%TK_VER%%
+include/tk%%TK_VER%%/generic/default.h
+include/tk%%TK_VER%%/generic/ks_names.h
+include/tk%%TK_VER%%/generic/tk.h
+include/tk%%TK_VER%%/generic/tk3d.h
+include/tk%%TK_VER%%/generic/tkButton.h
+include/tk%%TK_VER%%/generic/tkCanvas.h
+include/tk%%TK_VER%%/generic/tkColor.h
+include/tk%%TK_VER%%/generic/tkDecls.h
+include/tk%%TK_VER%%/generic/tkFileFilter.h
+include/tk%%TK_VER%%/generic/tkFont.h
+include/tk%%TK_VER%%/generic/tkInitScript.h
+include/tk%%TK_VER%%/generic/tkInt.h
+include/tk%%TK_VER%%/generic/tkIntDecls.h
+include/tk%%TK_VER%%/generic/tkIntPlatDecls.h
+include/tk%%TK_VER%%/generic/tkIntXlibDecls.h
+include/tk%%TK_VER%%/generic/tkMenu.h
+include/tk%%TK_VER%%/generic/tkMenubutton.h
+include/tk%%TK_VER%%/generic/tkPlatDecls.h
+include/tk%%TK_VER%%/generic/tkPort.h
+include/tk%%TK_VER%%/generic/tkScale.h
+include/tk%%TK_VER%%/generic/tkScrollbar.h
+include/tk%%TK_VER%%/generic/tkSelect.h
+include/tk%%TK_VER%%/generic/tkText.h
+include/tk%%TK_VER%%/tk.h
+include/tk%%TK_VER%%/tkDecls.h
+include/tk%%TK_VER%%/unix/tkUnixDefault.h
+include/tk%%TK_VER%%/unix/tkUnixInt.h
+include/tk%%TK_VER%%/unix/tkUnixPort.h
+lib/libtk%%SHORT_TK_VER%%.a
+lib/libtk%%SHORT_TK_VER%%.so
+lib/libtk%%SHORT_TK_VER%%.so.1
+lib/libtkstub%%SHORT_TK_VER%%.a
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
-lib/tk8.1/bgerror.tcl
-lib/tk8.1/button.tcl
-lib/tk8.1/clrpick.tcl
-lib/tk8.1/comdlg.tcl
-lib/tk8.1/console.tcl
-lib/tk8.1/demos/README
-lib/tk8.1/demos/arrow.tcl
-lib/tk8.1/demos/bind.tcl
-lib/tk8.1/demos/bitmap.tcl
-lib/tk8.1/demos/browse
-lib/tk8.1/demos/button.tcl
-lib/tk8.1/demos/check.tcl
-lib/tk8.1/demos/clrpick.tcl
-lib/tk8.1/demos/colors.tcl
-lib/tk8.1/demos/cscroll.tcl
-lib/tk8.1/demos/ctext.tcl
-lib/tk8.1/demos/dialog1.tcl
-lib/tk8.1/demos/dialog2.tcl
-lib/tk8.1/demos/entry1.tcl
-lib/tk8.1/demos/entry2.tcl
-lib/tk8.1/demos/filebox.tcl
-lib/tk8.1/demos/floor.tcl
-lib/tk8.1/demos/form.tcl
-lib/tk8.1/demos/hello
-lib/tk8.1/demos/hscale.tcl
-lib/tk8.1/demos/icon.tcl
-lib/tk8.1/demos/image1.tcl
-lib/tk8.1/demos/image2.tcl
-lib/tk8.1/demos/images/earth.gif
-lib/tk8.1/demos/images/earthris.gif
-lib/tk8.1/demos/images/face.bmp
-lib/tk8.1/demos/images/flagdown.bmp
-lib/tk8.1/demos/images/flagup.bmp
-lib/tk8.1/demos/images/gray25.bmp
-lib/tk8.1/demos/images/letters.bmp
-lib/tk8.1/demos/images/noletter.bmp
-lib/tk8.1/demos/images/pattern.bmp
-lib/tk8.1/demos/images/tcllogo.gif
-lib/tk8.1/demos/images/teapot.ppm
-lib/tk8.1/demos/items.tcl
-lib/tk8.1/demos/ixset
-lib/tk8.1/demos/label.tcl
-lib/tk8.1/demos/license.terms
-lib/tk8.1/demos/menu.tcl
-lib/tk8.1/demos/menubu.tcl
-lib/tk8.1/demos/msgbox.tcl
-lib/tk8.1/demos/plot.tcl
-lib/tk8.1/demos/puzzle.tcl
-lib/tk8.1/demos/radio.tcl
-lib/tk8.1/demos/rmt
-lib/tk8.1/demos/rolodex
-lib/tk8.1/demos/ruler.tcl
-lib/tk8.1/demos/sayings.tcl
-lib/tk8.1/demos/search.tcl
-lib/tk8.1/demos/square
-lib/tk8.1/demos/states.tcl
-lib/tk8.1/demos/style.tcl
-lib/tk8.1/demos/tclIndex
-lib/tk8.1/demos/tcolor
-lib/tk8.1/demos/text.tcl
-lib/tk8.1/demos/timer
-lib/tk8.1/demos/twind.tcl
-lib/tk8.1/demos/vscale.tcl
-lib/tk8.1/demos/widget
-lib/tk8.1/dialog.tcl
-lib/tk8.1/entry.tcl
-lib/tk8.1/focus.tcl
-lib/tk8.1/images/README
-lib/tk8.1/images/logo.eps
-lib/tk8.1/images/logo100.gif
-lib/tk8.1/images/logo64.gif
-lib/tk8.1/images/logoLarge.gif
-lib/tk8.1/images/logoMed.gif
-lib/tk8.1/images/pspbrwse.jbf
-lib/tk8.1/images/pwrdLogo.eps
-lib/tk8.1/images/pwrdLogo100.gif
-lib/tk8.1/images/pwrdLogo150.gif
-lib/tk8.1/images/pwrdLogo175.gif
-lib/tk8.1/images/pwrdLogo200.gif
-lib/tk8.1/images/pwrdLogo75.gif
-lib/tk8.1/images/tai-ku.gif
-lib/tk8.1/listbox.tcl
-lib/tk8.1/menu.tcl
-lib/tk8.1/msgbox.tcl
-lib/tk8.1/obsolete.tcl
-lib/tk8.1/optMenu.tcl
-lib/tk8.1/palette.tcl
-lib/tk8.1/safetk.tcl
-lib/tk8.1/scale.tcl
-lib/tk8.1/scrlbar.tcl
-lib/tk8.1/tclIndex
-lib/tk8.1/tearoff.tcl
-lib/tk8.1/text.tcl
-lib/tk8.1/tk.tcl
-lib/tk8.1/tkAppInit.c
-lib/tk8.1/tkConfig.sh
-lib/tk8.1/tkfbox.tcl
-lib/tk8.1/xmfbox.tcl
-@dirrm lib/tk8.1/demos/images
-@dirrm lib/tk8.1/demos
-@dirrm lib/tk8.1/images
-@dirrm lib/tk8.1
-@dirrm include/tk8.1/unix
-@dirrm include/tk8.1/generic
-@dirrm include/tk8.1
+lib/tk%%TK_VER%%/bgerror.tcl
+lib/tk%%TK_VER%%/button.tcl
+lib/tk%%TK_VER%%/clrpick.tcl
+lib/tk%%TK_VER%%/comdlg.tcl
+lib/tk%%TK_VER%%/console.tcl
+lib/tk%%TK_VER%%/demos/README
+lib/tk%%TK_VER%%/demos/arrow.tcl
+lib/tk%%TK_VER%%/demos/bind.tcl
+lib/tk%%TK_VER%%/demos/bitmap.tcl
+lib/tk%%TK_VER%%/demos/browse
+lib/tk%%TK_VER%%/demos/button.tcl
+lib/tk%%TK_VER%%/demos/check.tcl
+lib/tk%%TK_VER%%/demos/clrpick.tcl
+lib/tk%%TK_VER%%/demos/colors.tcl
+lib/tk%%TK_VER%%/demos/cscroll.tcl
+lib/tk%%TK_VER%%/demos/ctext.tcl
+lib/tk%%TK_VER%%/demos/dialog1.tcl
+lib/tk%%TK_VER%%/demos/dialog2.tcl
+lib/tk%%TK_VER%%/demos/entry1.tcl
+lib/tk%%TK_VER%%/demos/entry2.tcl
+lib/tk%%TK_VER%%/demos/filebox.tcl
+lib/tk%%TK_VER%%/demos/floor.tcl
+lib/tk%%TK_VER%%/demos/form.tcl
+lib/tk%%TK_VER%%/demos/hello
+lib/tk%%TK_VER%%/demos/hscale.tcl
+lib/tk%%TK_VER%%/demos/icon.tcl
+lib/tk%%TK_VER%%/demos/image1.tcl
+lib/tk%%TK_VER%%/demos/image2.tcl
+lib/tk%%TK_VER%%/demos/images/earth.gif
+lib/tk%%TK_VER%%/demos/images/earthris.gif
+lib/tk%%TK_VER%%/demos/images/face.bmp
+lib/tk%%TK_VER%%/demos/images/flagdown.bmp
+lib/tk%%TK_VER%%/demos/images/flagup.bmp
+lib/tk%%TK_VER%%/demos/images/gray25.bmp
+lib/tk%%TK_VER%%/demos/images/letters.bmp
+lib/tk%%TK_VER%%/demos/images/noletter.bmp
+lib/tk%%TK_VER%%/demos/images/pattern.bmp
+lib/tk%%TK_VER%%/demos/images/tcllogo.gif
+lib/tk%%TK_VER%%/demos/images/teapot.ppm
+lib/tk%%TK_VER%%/demos/items.tcl
+lib/tk%%TK_VER%%/demos/ixset
+lib/tk%%TK_VER%%/demos/label.tcl
+lib/tk%%TK_VER%%/demos/license.terms
+lib/tk%%TK_VER%%/demos/menu.tcl
+lib/tk%%TK_VER%%/demos/menubu.tcl
+lib/tk%%TK_VER%%/demos/msgbox.tcl
+lib/tk%%TK_VER%%/demos/plot.tcl
+lib/tk%%TK_VER%%/demos/puzzle.tcl
+lib/tk%%TK_VER%%/demos/radio.tcl
+lib/tk%%TK_VER%%/demos/rmt
+lib/tk%%TK_VER%%/demos/rolodex
+lib/tk%%TK_VER%%/demos/ruler.tcl
+lib/tk%%TK_VER%%/demos/sayings.tcl
+lib/tk%%TK_VER%%/demos/search.tcl
+lib/tk%%TK_VER%%/demos/square
+lib/tk%%TK_VER%%/demos/states.tcl
+lib/tk%%TK_VER%%/demos/style.tcl
+lib/tk%%TK_VER%%/demos/tclIndex
+lib/tk%%TK_VER%%/demos/tcolor
+lib/tk%%TK_VER%%/demos/text.tcl
+lib/tk%%TK_VER%%/demos/timer
+lib/tk%%TK_VER%%/demos/twind.tcl
+lib/tk%%TK_VER%%/demos/vscale.tcl
+lib/tk%%TK_VER%%/demos/widget
+lib/tk%%TK_VER%%/dialog.tcl
+lib/tk%%TK_VER%%/entry.tcl
+lib/tk%%TK_VER%%/focus.tcl
+lib/tk%%TK_VER%%/images/README
+lib/tk%%TK_VER%%/images/logo.eps
+lib/tk%%TK_VER%%/images/logo100.gif
+lib/tk%%TK_VER%%/images/logo64.gif
+lib/tk%%TK_VER%%/images/logoLarge.gif
+lib/tk%%TK_VER%%/images/logoMed.gif
+lib/tk%%TK_VER%%/images/pwrdLogo.eps
+lib/tk%%TK_VER%%/images/pwrdLogo100.gif
+lib/tk%%TK_VER%%/images/pwrdLogo150.gif
+lib/tk%%TK_VER%%/images/pwrdLogo175.gif
+lib/tk%%TK_VER%%/images/pwrdLogo200.gif
+lib/tk%%TK_VER%%/images/pwrdLogo75.gif
+lib/tk%%TK_VER%%/images/tai-ku.gif
+lib/tk%%TK_VER%%/listbox.tcl
+lib/tk%%TK_VER%%/menu.tcl
+lib/tk%%TK_VER%%/msgbox.tcl
+lib/tk%%TK_VER%%/obsolete.tcl
+lib/tk%%TK_VER%%/optMenu.tcl
+lib/tk%%TK_VER%%/palette.tcl
+lib/tk%%TK_VER%%/prolog.ps
+lib/tk%%TK_VER%%/safetk.tcl
+lib/tk%%TK_VER%%/scale.tcl
+lib/tk%%TK_VER%%/scrlbar.tcl
+lib/tk%%TK_VER%%/tclIndex
+lib/tk%%TK_VER%%/tearoff.tcl
+lib/tk%%TK_VER%%/text.tcl
+lib/tk%%TK_VER%%/tk.tcl
+lib/tk%%TK_VER%%/tkAppInit.c
+lib/tk%%TK_VER%%/tkConfig.sh
+lib/tk%%TK_VER%%/tkfbox.tcl
+lib/tk%%TK_VER%%/xmfbox.tcl
+@dirrm lib/tk%%TK_VER%%/demos/images
+@dirrm lib/tk%%TK_VER%%/demos
+@dirrm lib/tk%%TK_VER%%/images
+@dirrm lib/tk%%TK_VER%%
+@dirrm include/tk%%TK_VER%%/unix
+@dirrm include/tk%%TK_VER%%/generic
+@dirrm include/tk%%TK_VER%%