aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2008-04-02 12:02:41 +0000
committerMartin Matuska <mm@FreeBSD.org>2008-04-02 12:02:41 +0000
commita87b3f53eb68353e5f0a29ce1863186a491f999a (patch)
treee3d027b9b940302b375419ac3fe412e93459d5d0 /x11-toolkits
parent66c8639175cf50416e68a7092750ad6bbfee2989 (diff)
downloadports-a87b3f53eb68353e5f0a29ce1863186a491f999a.tar.gz
ports-a87b3f53eb68353e5f0a29ce1863186a491f999a.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/tk85/Makefile6
-rw-r--r--x11-toolkits/tk85/distinfo6
-rw-r--r--x11-toolkits/tk85/files/patch-unix::Makefile.in68
-rw-r--r--x11-toolkits/tk85/pkg-plist1
-rw-r--r--x11-toolkits/tk86/Makefile6
-rw-r--r--x11-toolkits/tk86/distinfo6
-rw-r--r--x11-toolkits/tk86/files/patch-unix::Makefile.in68
-rw-r--r--x11-toolkits/tk86/pkg-plist1
8 files changed, 82 insertions, 80 deletions
diff --git a/x11-toolkits/tk85/Makefile b/x11-toolkits/tk85/Makefile
index ca75a7ce2564..e16b58897f0d 100644
--- a/x11-toolkits/tk85/Makefile
+++ b/x11-toolkits/tk85/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= tk
-PORTVERSION= 8.5.1
+PORTVERSION= 8.5.2
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tcl
@@ -419,8 +419,8 @@ post-patch:
-e 's/-ltkstub`echo $${TK_VERSION} | tr -d .`/-ltkstub`echo $${TK_VERSION} | tr -d .`${THREADS_SUFFIX}/g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|libtk$${SHORT_TK_VER}|libtk$${SHORT_TK_VER}${THREADS_SUFFIX}|g' \
- -e 's|$$(BIN_INSTALL_DIR)/wish$$(VERSION)|$$(BIN_INSTALL_DIR)/wish$$(VERSION)${THREADS_SUFFIX}|g' \
- -e 's|tk$$(VERSION)/tkConfig.sh|tk$$(VERSION)/tkConfig${THREADS_SUFFIX}.sh|g' \
+ -e 's|/wish$$(VERSION)|/wish$$(VERSION)${THREADS_SUFFIX}|g' \
+ -e 's|/tkConfig.sh|/tkConfig${THREADS_SUFFIX}.sh|g' \
-e 's|$$(LIB_INSTALL_DIR)$$(TK_PKG_DIR)|${WRKDIR}|g' \
-e 's|$$(MINOR_VERSION)$$(TCLPATCHL)|$$(MINOR_VERSION)$$(TCLPATCHL)${THREADS_SUFFIX}|g' \
${WRKSRC}/Makefile.in
diff --git a/x11-toolkits/tk85/distinfo b/x11-toolkits/tk85/distinfo
index e98c2a097228..1a99c3c9bb2e 100644
--- a/x11-toolkits/tk85/distinfo
+++ b/x11-toolkits/tk85/distinfo
@@ -1,3 +1,3 @@
-MD5 (tk8.5.1-src.tar.gz) = d95d4a180cd60b3736395bf80c7322c0
-SHA256 (tk8.5.1-src.tar.gz) = d25126147f5fa8423de35cefd07b37583cf9c281a396f49450de42251e095fe7
-SIZE (tk8.5.1-src.tar.gz) = 3759545
+MD5 (tk8.5.2-src.tar.gz) = bd014bd3e1a818e06ad375b95241452d
+SHA256 (tk8.5.2-src.tar.gz) = a2a28bb651dd1ba67fabc5be5deb120c0d75418ef84dc59ee6c0005d42e46e5a
+SIZE (tk8.5.2-src.tar.gz) = 3763820
diff --git a/x11-toolkits/tk85/files/patch-unix::Makefile.in b/x11-toolkits/tk85/files/patch-unix::Makefile.in
index 0d659d3f789e..e2cc060d8712 100644
--- a/x11-toolkits/tk85/files/patch-unix::Makefile.in
+++ b/x11-toolkits/tk85/files/patch-unix::Makefile.in
@@ -1,5 +1,5 @@
---- Makefile.in.orig 2007-12-17 18:57:25.000000000 +0100
-+++ Makefile.in 2007-12-29 22:02:15.000000000 +0100
+--- Makefile.in.orig 2008-03-28 19:46:36.000000000 +0100
++++ Makefile.in 2008-04-02 12:27:05.000000000 +0200
@@ -65,6 +65,8 @@
# Directory in which to install the include file tk.h:
@@ -45,7 +45,7 @@
# Additional search flags needed to find the various shared libraries
# at run-time. The first symbol is for use when creating a binary
-@@ -552,6 +554,8 @@
+@@ -550,6 +552,8 @@
$(GENERIC_DIR)/tkIntPlatDecls.h $(GENERIC_DIR)/tkPort.h \
$(TTK_HDRS) $(@TK_WINDOWINGSYSTEM@_PRIVATE_HDRS)
@@ -54,7 +54,7 @@
DEMOPROGS = browse hello ixset rmt rolodex square tcolor timer widget
SHELL_ENV = \
-@@ -577,6 +581,12 @@
+@@ -575,6 +579,12 @@
${LIB_FILE}: ${OBJS} ${STUB_LIB_FILE} @LIB_RSRC_FILE@
rm -f $@
@MAKE_LIB@
@@ -67,7 +67,7 @@
${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
rm -f $@
-@@ -676,7 +686,7 @@
+@@ -674,7 +684,7 @@
gdb ./wish --command=gdb.run
rm gdb.run
@@ -76,78 +76,78 @@
install: $(INSTALL_TARGETS)
-@@ -689,7 +699,8 @@
+@@ -687,7 +697,8 @@
# 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) \
+ libtk${SHORT_TK_VER}.a wish
- @for i in $(LIB_INSTALL_DIR) $(BIN_INSTALL_DIR) $(PKG_INSTALL_DIR); \
+ @for i in "$(LIB_INSTALL_DIR)" "$(BIN_INSTALL_DIR)" "$(PKG_INSTALL_DIR)"; \
do \
- if [ ! -d $$i ] ; then \
-@@ -721,10 +732,15 @@
+ if [ ! -d "$$i" ] ; then \
+@@ -719,10 +730,15 @@
$(INSTALL_DATA) $(TK_BUILD_EXP_FILE) \
- $(LIB_INSTALL_DIR)/$(TK_EXP_FILE); \
+ "$(LIB_INSTALL_DIR)"/$(TK_EXP_FILE); \
fi
+ @ln -sf $(LIB_INSTALL_DIR)/$(TK_LIB_FILE) $(LIB_INSTALL_DIR)/libtk${SHORT_TK_VER}.so
+ @echo "Installing libtk${SHORT_TK_VER}.a"
+ @$(INSTALL_DATA) libtk${SHORT_TK_VER}.a $(LIB_INSTALL_DIR)/libtk${SHORT_TK_VER}.a
+ @chmod 555 $(LIB_INSTALL_DIR)/libtk${SHORT_TK_VER}.a
@echo "Installing wish as $(BIN_INSTALL_DIR)/wish$(VERSION)"
- @$(INSTALL_PROGRAM) wish $(BIN_INSTALL_DIR)/wish$(VERSION)
+ @$(INSTALL_PROGRAM) wish "$(BIN_INSTALL_DIR)"/wish$(VERSION)
- @echo "Installing tkConfig.sh to $(LIB_INSTALL_DIR)/"
-- @$(INSTALL_DATA) tkConfig.sh $(LIB_INSTALL_DIR)/tkConfig.sh
+- @$(INSTALL_DATA) tkConfig.sh "$(LIB_INSTALL_DIR)"/tkConfig.sh
+ @echo "Installing tkConfig.sh to $(LIB_INSTALL_DIR)/tk$(VERSION)"
-+ @mkdir -p $(LIB_INSTALL_DIR)/tk$(VERSION)
-+ @$(INSTALL_DATA) tkConfig.sh $(LIB_INSTALL_DIR)/tk$(VERSION)/tkConfig.sh
++ @mkdir -p "$(LIB_INSTALL_DIR)"/tk$(VERSION)
++ @$(INSTALL_DATA) tkConfig.sh "$(LIB_INSTALL_DIR)"/tk$(VERSION)/tkConfig.sh
@if test "$(STUB_LIB_FILE)" != "" ; then \
echo "Installing $(STUB_LIB_FILE) to $(LIB_INSTALL_DIR)/"; \
@INSTALL_STUB_LIB@ ; \
-@@ -735,6 +751,7 @@
+@@ -733,6 +749,7 @@
@if test "$(@TK_WINDOWINGSYSTEM@_XLIB_HDRS)" != ""; then \
- XLIB_INCLUDE_INSTALL_DIR=$(INCLUDE_INSTALL_DIR)/X11; fi; \
- for i in $(INCLUDE_INSTALL_DIR) $${XLIB_INCLUDE_INSTALL_DIR} \
-+ $(GENERIC_INCLUDE_INSTALL_DIR) $(UNIX_INCLUDE_INSTALL_DIR) \
- $(SCRIPT_INSTALL_DIR) $(SCRIPT_INSTALL_DIR)/images \
- $(SCRIPT_INSTALL_DIR)/msgs $(SCRIPT_INSTALL_DIR)/ttk; \
+ XLIB_INCLUDE_INSTALL_DIR="$(INCLUDE_INSTALL_DIR)"/X11; fi; \
+ for i in "$(INCLUDE_INSTALL_DIR)" "$${XLIB_INCLUDE_INSTALL_DIR}" \
++ "$(GENERIC_INCLUDE_INSTALL_DIR)" "$(UNIX_INCLUDE_INSTALL_DIR)" \
+ "$(SCRIPT_INSTALL_DIR)" "$(SCRIPT_INSTALL_DIR)"/images \
+ "$(SCRIPT_INSTALL_DIR)"/msgs "$(SCRIPT_INSTALL_DIR)"/ttk; \
do \
-@@ -749,10 +766,14 @@
+@@ -747,10 +764,14 @@
chmod +x $(SRC_DIR)/install-sh; \
fi
@echo "Installing header files";
- @for i in $(PUBLIC_HDRS); \
-+ ${BSD_INSTALL_DATA} $(GENERIC_DIR)/*.h $(GENERIC_INCLUDE_INSTALL_DIR)/
-+ ${BSD_INSTALL_DATA} $(UNIX_DIR)/*.h $(UNIX_INCLUDE_INSTALL_DIR)/
++ ${BSD_INSTALL_DATA} $(GENERIC_DIR)/*.h "$(GENERIC_INCLUDE_INSTALL_DIR)"/
++ ${BSD_INSTALL_DATA} $(UNIX_DIR)/*.h "$(UNIX_INCLUDE_INSTALL_DIR)"/
+ @for i in $(INSTALL_HDRS) ; \
do \
-- $(INSTALL_DATA) $$i $(INCLUDE_INSTALL_DIR); \
+- $(INSTALL_DATA) $$i "$(INCLUDE_INSTALL_DIR)"; \
- done;
+ j=`basename $$i` ; \
-+ ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/$$j $(INCLUDE_INSTALL_DIR)/$$j ; \
++ ln -sf "$(GENERIC_INCLUDE_INSTALL_DIR)"/$$j "$(INCLUDE_INSTALL_DIR)"/$$j ; \
+ done
-+
++
@list='$(@TK_WINDOWINGSYSTEM@_XLIB_HDRS)'; for i in $$list ; \
do \
- $(INSTALL_DATA) $$i $(INCLUDE_INSTALL_DIR)/X11; \
-@@ -832,17 +853,17 @@
+ $(INSTALL_DATA) $$i "$(INCLUDE_INSTALL_DIR)"/X11; \
+@@ -830,17 +851,17 @@
done;
@echo "Installing and cross-linking top-level (.1) docs";
@for i in $(TOP_DIR)/doc/*.1; do \
-- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i $(MAN1_INSTALL_DIR); \
-+ ${BSD_INSTALL_MAN} $$i $(MAN1_INSTALL_DIR); \
+- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i "$(MAN1_INSTALL_DIR)"; \
++ ${BSD_INSTALL_MAN} $$i "$(MAN1_INSTALL_DIR)"; \
done
@echo "Installing and cross-linking C API (.3) docs";
@for i in $(TOP_DIR)/doc/*.3; do \
-- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i $(MAN3_INSTALL_DIR); \
-+ ${BSD_INSTALL_MAN} $$i $(MAN3_INSTALL_DIR); \
+- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i "$(MAN3_INSTALL_DIR)"; \
++ ${BSD_INSTALL_MAN} $$i "$(MAN3_INSTALL_DIR)"; \
done
@echo "Installing and cross-linking command (.n) docs";
@for i in $(TOP_DIR)/doc/*.n; do \
-- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i $(MANN_INSTALL_DIR); \
-+ ${BSD_INSTALL_MAN} $$i $(MANN_INSTALL_DIR); \
+- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i "$(MANN_INSTALL_DIR)"; \
++ ${BSD_INSTALL_MAN} $$i "$(MANN_INSTALL_DIR)"; \
done
# Optional target to install private headers
diff --git a/x11-toolkits/tk85/pkg-plist b/x11-toolkits/tk85/pkg-plist
index 8d5671dd5aac..c603b6773ca9 100644
--- a/x11-toolkits/tk85/pkg-plist
+++ b/x11-toolkits/tk85/pkg-plist
@@ -82,6 +82,7 @@ lib/tk%%TK_VER%%/console.tcl
%%DEMOS%%lib/tk%%TK_VER%%/demos/images/teapot.ppm
%%DEMOS%%lib/tk%%TK_VER%%/demos/items.tcl
%%DEMOS%%lib/tk%%TK_VER%%/demos/ixset
+%%DEMOS%%lib/tk%%TK_VER%%/demos/knightstour.tcl
%%DEMOS%%lib/tk%%TK_VER%%/demos/label.tcl
%%DEMOS%%lib/tk%%TK_VER%%/demos/labelframe.tcl
%%DEMOS%%lib/tk%%TK_VER%%/demos/license.terms
diff --git a/x11-toolkits/tk86/Makefile b/x11-toolkits/tk86/Makefile
index ca75a7ce2564..e16b58897f0d 100644
--- a/x11-toolkits/tk86/Makefile
+++ b/x11-toolkits/tk86/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= tk
-PORTVERSION= 8.5.1
+PORTVERSION= 8.5.2
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tcl
@@ -419,8 +419,8 @@ post-patch:
-e 's/-ltkstub`echo $${TK_VERSION} | tr -d .`/-ltkstub`echo $${TK_VERSION} | tr -d .`${THREADS_SUFFIX}/g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|libtk$${SHORT_TK_VER}|libtk$${SHORT_TK_VER}${THREADS_SUFFIX}|g' \
- -e 's|$$(BIN_INSTALL_DIR)/wish$$(VERSION)|$$(BIN_INSTALL_DIR)/wish$$(VERSION)${THREADS_SUFFIX}|g' \
- -e 's|tk$$(VERSION)/tkConfig.sh|tk$$(VERSION)/tkConfig${THREADS_SUFFIX}.sh|g' \
+ -e 's|/wish$$(VERSION)|/wish$$(VERSION)${THREADS_SUFFIX}|g' \
+ -e 's|/tkConfig.sh|/tkConfig${THREADS_SUFFIX}.sh|g' \
-e 's|$$(LIB_INSTALL_DIR)$$(TK_PKG_DIR)|${WRKDIR}|g' \
-e 's|$$(MINOR_VERSION)$$(TCLPATCHL)|$$(MINOR_VERSION)$$(TCLPATCHL)${THREADS_SUFFIX}|g' \
${WRKSRC}/Makefile.in
diff --git a/x11-toolkits/tk86/distinfo b/x11-toolkits/tk86/distinfo
index e98c2a097228..1a99c3c9bb2e 100644
--- a/x11-toolkits/tk86/distinfo
+++ b/x11-toolkits/tk86/distinfo
@@ -1,3 +1,3 @@
-MD5 (tk8.5.1-src.tar.gz) = d95d4a180cd60b3736395bf80c7322c0
-SHA256 (tk8.5.1-src.tar.gz) = d25126147f5fa8423de35cefd07b37583cf9c281a396f49450de42251e095fe7
-SIZE (tk8.5.1-src.tar.gz) = 3759545
+MD5 (tk8.5.2-src.tar.gz) = bd014bd3e1a818e06ad375b95241452d
+SHA256 (tk8.5.2-src.tar.gz) = a2a28bb651dd1ba67fabc5be5deb120c0d75418ef84dc59ee6c0005d42e46e5a
+SIZE (tk8.5.2-src.tar.gz) = 3763820
diff --git a/x11-toolkits/tk86/files/patch-unix::Makefile.in b/x11-toolkits/tk86/files/patch-unix::Makefile.in
index 0d659d3f789e..e2cc060d8712 100644
--- a/x11-toolkits/tk86/files/patch-unix::Makefile.in
+++ b/x11-toolkits/tk86/files/patch-unix::Makefile.in
@@ -1,5 +1,5 @@
---- Makefile.in.orig 2007-12-17 18:57:25.000000000 +0100
-+++ Makefile.in 2007-12-29 22:02:15.000000000 +0100
+--- Makefile.in.orig 2008-03-28 19:46:36.000000000 +0100
++++ Makefile.in 2008-04-02 12:27:05.000000000 +0200
@@ -65,6 +65,8 @@
# Directory in which to install the include file tk.h:
@@ -45,7 +45,7 @@
# Additional search flags needed to find the various shared libraries
# at run-time. The first symbol is for use when creating a binary
-@@ -552,6 +554,8 @@
+@@ -550,6 +552,8 @@
$(GENERIC_DIR)/tkIntPlatDecls.h $(GENERIC_DIR)/tkPort.h \
$(TTK_HDRS) $(@TK_WINDOWINGSYSTEM@_PRIVATE_HDRS)
@@ -54,7 +54,7 @@
DEMOPROGS = browse hello ixset rmt rolodex square tcolor timer widget
SHELL_ENV = \
-@@ -577,6 +581,12 @@
+@@ -575,6 +579,12 @@
${LIB_FILE}: ${OBJS} ${STUB_LIB_FILE} @LIB_RSRC_FILE@
rm -f $@
@MAKE_LIB@
@@ -67,7 +67,7 @@
${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
rm -f $@
-@@ -676,7 +686,7 @@
+@@ -674,7 +684,7 @@
gdb ./wish --command=gdb.run
rm gdb.run
@@ -76,78 +76,78 @@
install: $(INSTALL_TARGETS)
-@@ -689,7 +699,8 @@
+@@ -687,7 +697,8 @@
# 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) \
+ libtk${SHORT_TK_VER}.a wish
- @for i in $(LIB_INSTALL_DIR) $(BIN_INSTALL_DIR) $(PKG_INSTALL_DIR); \
+ @for i in "$(LIB_INSTALL_DIR)" "$(BIN_INSTALL_DIR)" "$(PKG_INSTALL_DIR)"; \
do \
- if [ ! -d $$i ] ; then \
-@@ -721,10 +732,15 @@
+ if [ ! -d "$$i" ] ; then \
+@@ -719,10 +730,15 @@
$(INSTALL_DATA) $(TK_BUILD_EXP_FILE) \
- $(LIB_INSTALL_DIR)/$(TK_EXP_FILE); \
+ "$(LIB_INSTALL_DIR)"/$(TK_EXP_FILE); \
fi
+ @ln -sf $(LIB_INSTALL_DIR)/$(TK_LIB_FILE) $(LIB_INSTALL_DIR)/libtk${SHORT_TK_VER}.so
+ @echo "Installing libtk${SHORT_TK_VER}.a"
+ @$(INSTALL_DATA) libtk${SHORT_TK_VER}.a $(LIB_INSTALL_DIR)/libtk${SHORT_TK_VER}.a
+ @chmod 555 $(LIB_INSTALL_DIR)/libtk${SHORT_TK_VER}.a
@echo "Installing wish as $(BIN_INSTALL_DIR)/wish$(VERSION)"
- @$(INSTALL_PROGRAM) wish $(BIN_INSTALL_DIR)/wish$(VERSION)
+ @$(INSTALL_PROGRAM) wish "$(BIN_INSTALL_DIR)"/wish$(VERSION)
- @echo "Installing tkConfig.sh to $(LIB_INSTALL_DIR)/"
-- @$(INSTALL_DATA) tkConfig.sh $(LIB_INSTALL_DIR)/tkConfig.sh
+- @$(INSTALL_DATA) tkConfig.sh "$(LIB_INSTALL_DIR)"/tkConfig.sh
+ @echo "Installing tkConfig.sh to $(LIB_INSTALL_DIR)/tk$(VERSION)"
-+ @mkdir -p $(LIB_INSTALL_DIR)/tk$(VERSION)
-+ @$(INSTALL_DATA) tkConfig.sh $(LIB_INSTALL_DIR)/tk$(VERSION)/tkConfig.sh
++ @mkdir -p "$(LIB_INSTALL_DIR)"/tk$(VERSION)
++ @$(INSTALL_DATA) tkConfig.sh "$(LIB_INSTALL_DIR)"/tk$(VERSION)/tkConfig.sh
@if test "$(STUB_LIB_FILE)" != "" ; then \
echo "Installing $(STUB_LIB_FILE) to $(LIB_INSTALL_DIR)/"; \
@INSTALL_STUB_LIB@ ; \
-@@ -735,6 +751,7 @@
+@@ -733,6 +749,7 @@
@if test "$(@TK_WINDOWINGSYSTEM@_XLIB_HDRS)" != ""; then \
- XLIB_INCLUDE_INSTALL_DIR=$(INCLUDE_INSTALL_DIR)/X11; fi; \
- for i in $(INCLUDE_INSTALL_DIR) $${XLIB_INCLUDE_INSTALL_DIR} \
-+ $(GENERIC_INCLUDE_INSTALL_DIR) $(UNIX_INCLUDE_INSTALL_DIR) \
- $(SCRIPT_INSTALL_DIR) $(SCRIPT_INSTALL_DIR)/images \
- $(SCRIPT_INSTALL_DIR)/msgs $(SCRIPT_INSTALL_DIR)/ttk; \
+ XLIB_INCLUDE_INSTALL_DIR="$(INCLUDE_INSTALL_DIR)"/X11; fi; \
+ for i in "$(INCLUDE_INSTALL_DIR)" "$${XLIB_INCLUDE_INSTALL_DIR}" \
++ "$(GENERIC_INCLUDE_INSTALL_DIR)" "$(UNIX_INCLUDE_INSTALL_DIR)" \
+ "$(SCRIPT_INSTALL_DIR)" "$(SCRIPT_INSTALL_DIR)"/images \
+ "$(SCRIPT_INSTALL_DIR)"/msgs "$(SCRIPT_INSTALL_DIR)"/ttk; \
do \
-@@ -749,10 +766,14 @@
+@@ -747,10 +764,14 @@
chmod +x $(SRC_DIR)/install-sh; \
fi
@echo "Installing header files";
- @for i in $(PUBLIC_HDRS); \
-+ ${BSD_INSTALL_DATA} $(GENERIC_DIR)/*.h $(GENERIC_INCLUDE_INSTALL_DIR)/
-+ ${BSD_INSTALL_DATA} $(UNIX_DIR)/*.h $(UNIX_INCLUDE_INSTALL_DIR)/
++ ${BSD_INSTALL_DATA} $(GENERIC_DIR)/*.h "$(GENERIC_INCLUDE_INSTALL_DIR)"/
++ ${BSD_INSTALL_DATA} $(UNIX_DIR)/*.h "$(UNIX_INCLUDE_INSTALL_DIR)"/
+ @for i in $(INSTALL_HDRS) ; \
do \
-- $(INSTALL_DATA) $$i $(INCLUDE_INSTALL_DIR); \
+- $(INSTALL_DATA) $$i "$(INCLUDE_INSTALL_DIR)"; \
- done;
+ j=`basename $$i` ; \
-+ ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/$$j $(INCLUDE_INSTALL_DIR)/$$j ; \
++ ln -sf "$(GENERIC_INCLUDE_INSTALL_DIR)"/$$j "$(INCLUDE_INSTALL_DIR)"/$$j ; \
+ done
-+
++
@list='$(@TK_WINDOWINGSYSTEM@_XLIB_HDRS)'; for i in $$list ; \
do \
- $(INSTALL_DATA) $$i $(INCLUDE_INSTALL_DIR)/X11; \
-@@ -832,17 +853,17 @@
+ $(INSTALL_DATA) $$i "$(INCLUDE_INSTALL_DIR)"/X11; \
+@@ -830,17 +851,17 @@
done;
@echo "Installing and cross-linking top-level (.1) docs";
@for i in $(TOP_DIR)/doc/*.1; do \
-- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i $(MAN1_INSTALL_DIR); \
-+ ${BSD_INSTALL_MAN} $$i $(MAN1_INSTALL_DIR); \
+- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i "$(MAN1_INSTALL_DIR)"; \
++ ${BSD_INSTALL_MAN} $$i "$(MAN1_INSTALL_DIR)"; \
done
@echo "Installing and cross-linking C API (.3) docs";
@for i in $(TOP_DIR)/doc/*.3; do \
-- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i $(MAN3_INSTALL_DIR); \
-+ ${BSD_INSTALL_MAN} $$i $(MAN3_INSTALL_DIR); \
+- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i "$(MAN3_INSTALL_DIR)"; \
++ ${BSD_INSTALL_MAN} $$i "$(MAN3_INSTALL_DIR)"; \
done
@echo "Installing and cross-linking command (.n) docs";
@for i in $(TOP_DIR)/doc/*.n; do \
-- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i $(MANN_INSTALL_DIR); \
-+ ${BSD_INSTALL_MAN} $$i $(MANN_INSTALL_DIR); \
+- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i "$(MANN_INSTALL_DIR)"; \
++ ${BSD_INSTALL_MAN} $$i "$(MANN_INSTALL_DIR)"; \
done
# Optional target to install private headers
diff --git a/x11-toolkits/tk86/pkg-plist b/x11-toolkits/tk86/pkg-plist
index 8d5671dd5aac..c603b6773ca9 100644
--- a/x11-toolkits/tk86/pkg-plist
+++ b/x11-toolkits/tk86/pkg-plist
@@ -82,6 +82,7 @@ lib/tk%%TK_VER%%/console.tcl
%%DEMOS%%lib/tk%%TK_VER%%/demos/images/teapot.ppm
%%DEMOS%%lib/tk%%TK_VER%%/demos/items.tcl
%%DEMOS%%lib/tk%%TK_VER%%/demos/ixset
+%%DEMOS%%lib/tk%%TK_VER%%/demos/knightstour.tcl
%%DEMOS%%lib/tk%%TK_VER%%/demos/label.tcl
%%DEMOS%%lib/tk%%TK_VER%%/demos/labelframe.tcl
%%DEMOS%%lib/tk%%TK_VER%%/demos/license.terms