aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-toolkits/tkstep80/Makefile20
-rw-r--r--x11-toolkits/tkstep80/distinfo4
-rw-r--r--x11-toolkits/tkstep80/files/patch-aa131
-rw-r--r--x11-toolkits/tkstep80/files/patch-ab406
-rw-r--r--x11-toolkits/tkstep80/pkg-plist218
5 files changed, 457 insertions, 322 deletions
diff --git a/x11-toolkits/tkstep80/Makefile b/x11-toolkits/tkstep80/Makefile
index 4a70b44a1780..8739836efc68 100644
--- a/x11-toolkits/tkstep80/Makefile
+++ b/x11-toolkits/tkstep80/Makefile
@@ -3,17 +3,16 @@
# Date created: 06 November 1997
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.18 1998/11/25 09:01:22 asami Exp $
+# $Id: Makefile,v 1.19 1998/12/01 03:06:49 asami Exp $
#
-DISTNAME= tk8.0p2
-PKGNAME= tkstep-8.0p2
+DISTNAME= tk8.0.4
+PKGNAME= tkstep-8.0.4
CATEGORIES= x11-toolkits tk80
MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/tcl8_0/
-PATCH_SITES= http://rhein-zeitung.de/~ograf/files/ \
- http://www.uni-koblenz.de/~ograf/files/
-PATCHFILES= tk8.0p2-to-TkStep8.0p2-1.patch.gz
+PATCH_SITES= ftp://touchwood.ee.uts.edu.au/pub/TkSTEP/
+PATCHFILES= tk8.0.4-to-tkstep8.0.4-2.patch.tar.gz
MAINTAINER= tg@FreeBSD.ORG
@@ -24,21 +23,22 @@ LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 \
FILE_DEPENDS= ${PORTSDIR}/x11-toolkits/tk80
FETCH_BEFORE_ARGS= -b
-PATCH_DIST_ARGS= -p1 -d ${WRKDIR}/tk8.0 -E --quiet
-WRKSRC= ${WRKDIR}/tk8.0/unix
+PATCH_DIST_ARGS= -p1 -d ${WRKDIR}/tk8.0.4 -E --quiet
+WRKSRC= ${WRKDIR}/tk8.0.4/unix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --enable-xpm --enable-step --enable-dnd \
--enable-tiff --with-optimize="${CFLAGS} -I${PREFIX}/include"
CONFIGURE_ENV= PORTSDIR=${PORTSDIR}
post-install:
- @${RM} ${PREFIX}/share/tkstep8.0/demos/*.orig
+ @${RM} ${PREFIX}/lib/tkstep8.0/demos/*.orig
strip ${PREFIX}/bin/wishstep8.0
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/tkstep
- ${INSTALL_DATA} ${WRKDIR}/tk8.0/README.TkStep \
+ ${INSTALL_DATA} ${WRKDIR}/tk8.0.4/README.TkStep \
${PREFIX}/share/doc/tkstep
.endif
+ ${LN} -sf ${PREFIX}/lib/libtkstep80.so.1 ${PREFIX}/lib/libtkstep80.so
${LDCONFIG} -m ${PREFIX}/lib
.if exists(${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish)
${SH} ${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish
diff --git a/x11-toolkits/tkstep80/distinfo b/x11-toolkits/tkstep80/distinfo
index cca6c6f6f046..c9fc5d91254f 100644
--- a/x11-toolkits/tkstep80/distinfo
+++ b/x11-toolkits/tkstep80/distinfo
@@ -1,2 +1,2 @@
-MD5 (tk8.0p2.tar.gz) = e7711ce7e584bf1c0388cdbb86ffe7cc
-MD5 (tk8.0p2-to-TkStep8.0p2-1.patch.gz) = bd5a8c0ba72dcf2828615c09265c33e3
+MD5 (tk8.0.4.tar.gz) = 8e4c6a20f11cdff76adb5d26423e4ea5
+MD5 (tk8.0.4-to-tkstep8.0.4-2.patch.tar.gz) = d7d18874be888d70c9fddcc4bc5dadae
diff --git a/x11-toolkits/tkstep80/files/patch-aa b/x11-toolkits/tkstep80/files/patch-aa
index 0e6759cbd6e5..26bee7f5f387 100644
--- a/x11-toolkits/tkstep80/files/patch-aa
+++ b/x11-toolkits/tkstep80/files/patch-aa
@@ -1,53 +1,78 @@
---- configure.orig Sun Oct 4 13:14:37 1998
-+++ configure Sun Oct 4 13:26:21 1998
-@@ -877,14 +877,14 @@
- withval="$with_tcl"
- TCL_BIN_DIR=$withval
- else
-- TCL_BIN_DIR=`cd ../../tcl8.0/unix; pwd`
-+ TCL_BIN_DIR=${prefix}/lib/tcl8.0
- 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
-
- #--------------------------------------------------------------------
-@@ -903,6 +903,8 @@
- DL_LIBS=$TCL_DL_LIBS
- LD_FLAGS=$TCL_LD_FLAGS
-
-+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
-@@ -2428,8 +2430,13 @@
- if test "$ok" = "yes" -a "${SHLIB_SUFFIX}" != ""; then
- TK_SHARED_BUILD=1
- TK_SHLIB_CFLAGS="${SHLIB_CFLAGS}"
-- eval "TK_LIB_FILE=libtkstep${TCL_SHARED_LIB_SUFFIX}"
-- MAKE_LIB="\${SHLIB_LD} -o ${TK_LIB_FILE} \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${SHLIB_LD_LIBS}"
-+ if [ "$PORTOBJFORMAT" = "elf" ]; then
-+ eval "TK_LIB_FILE=libtkstep`echo ${VERSION} | tr -d .`.so.1"
-+ MAKE_LIB="\${SHLIB_LD} -soname ${TK_LIB_FILE} -o ${TK_LIB_FILE} \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${SHLIB_LD_LIBS}"
-+ else
-+ eval "TK_LIB_FILE=libtkstep`echo ${VERSION} | tr -d .`.so.1.2"
-+ MAKE_LIB="\${SHLIB_LD} -o ${TK_LIB_FILE} \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${SHLIB_LD_LIBS}"
-+ fi
- RANLIB=":"
- else
- TK_SHARED_BUILD=0
-@@ -2736,6 +2743,7 @@
- s%@SHLIB_VERSION@%$SHLIB_VERSION%g
- s%@TCL_BIN_DIR@%$TCL_BIN_DIR%g
- s%@TCL_BUILD_LIB_SPEC@%$TCL_BUILD_LIB_SPEC%g
-+s%@TCL_LIB_SPEC@%$TCL_LIB_SPEC%g
- s%@TCL_SRC_DIR@%$TCL_SRC_DIR%g
- s%@TCL_VERSION@%$TCL_VERSION%g
- s%@TK_BUILD_LIB_SPEC@%$TK_BUILD_LIB_SPEC%g
+*** configure.orig Mon Apr 19 21:28:50 1999
+--- configure Mon Apr 19 21:30:27 1999
+***************
+*** 891,904 ****
+ withval="$with_tcl"
+ TCL_BIN_DIR=$withval
+ else
+! TCL_BIN_DIR=`cd ../../tcl8.0$TK_PATCH_LEVEL/unix; pwd`
+ 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; }
+ fi
+
+ #--------------------------------------------------------------------
+--- 891,904 ----
+ withval="$with_tcl"
+ TCL_BIN_DIR=$withval
+ else
+! TCL_BIN_DIR=${prefix}/lib/tcl8.0
+ 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/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
+
+ #--------------------------------------------------------------------
+***************
+*** 936,943 ****
+ DL_LIBS=$TCL_DL_LIBS
+ LD_FLAGS=$TCL_LD_FLAGS
+ CFLAGS_DEBUG=$TCL_CFLAGS_DEBUG
+! CFLAGS_OPTIMIZE=$TCL_CFLAGS_OPTIMIZE
+ EXTRA_CFLAGS=$TCL_EXTRA_CFLAGS
+
+ LIB_RUNTIME_DIR='${LIB_RUNTIME_DIR}'
+
+--- 936,944 ----
+ DL_LIBS=$TCL_DL_LIBS
+ LD_FLAGS=$TCL_LD_FLAGS
+ CFLAGS_DEBUG=$TCL_CFLAGS_DEBUG
+! CFLAGS_OPTIMIZE=$CFLAGS
+ EXTRA_CFLAGS=$TCL_EXTRA_CFLAGS
++ TCL_SRC_DIR=${prefix}/include/tcl${TCL_VERSION}
+
+ LIB_RUNTIME_DIR='${LIB_RUNTIME_DIR}'
+
+***************
+*** 2480,2487 ****
+ if test "$ok" = "yes" -a "${SHLIB_SUFFIX}" != ""; then
+ TK_SHARED_BUILD=1
+ TK_SHLIB_CFLAGS="${SHLIB_CFLAGS}"
+! eval "TK_LIB_FILE=libtk${STEP}${TCL_SHARED_LIB_SUFFIX}"
+! MAKE_LIB="\${SHLIB_LD} -o \${TK_LIB_FILE} \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${SHLIB_LD_LIBS}"
+ RANLIB=":"
+ else
+ TK_SHARED_BUILD=0
+--- 2481,2494 ----
+ if test "$ok" = "yes" -a "${SHLIB_SUFFIX}" != ""; then
+ TK_SHARED_BUILD=1
+ TK_SHLIB_CFLAGS="${SHLIB_CFLAGS}"
+! if [ "$PORTOBJFORMAT" = "elf" ]; then
+! eval "TK_LIB_FILE=libtkstep`echo ${VERSION} | tr -d .`.so.1"
+! MAKE_LIB="\${SHLIB_LD} -soname ${TK_LIB_FILE} -o ${TK_LIB_FILE} \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${SHLIB_LD_LIBS}"
+! else
+! eval "TK_LIB_FILE=libtkstep`echo ${VERSION} | tr -d .`.so.1.4"
+! MAKE_LIB="\${SHLIB_LD} -o ${TK_LIB_FILE} \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${SHLIB_LD_LIBS}"
+! fi
+!
+ RANLIB=":"
+ else
+ TK_SHARED_BUILD=0
diff --git a/x11-toolkits/tkstep80/files/patch-ab b/x11-toolkits/tkstep80/files/patch-ab
index b55d1bd2e421..b85d3d489dcb 100644
--- a/x11-toolkits/tkstep80/files/patch-ab
+++ b/x11-toolkits/tkstep80/files/patch-ab
@@ -1,148 +1,258 @@
---- Makefile.in.orig Sun Oct 4 13:14:37 1998
-+++ Makefile.in Sun Oct 4 13:23:30 1998
-@@ -38,7 +38,7 @@
- # Directory from which applications will reference the library of Tcl
- # scripts (note: you can set the TK_LIBRARY environment variable at
- # run-time to override the compiled-in location):
--TK_LIBRARY = $(prefix)/lib/tkstep$(VERSION)
-+TK_LIBRARY = $(prefix)/share/tkstep$(VERSION)
-
- # Path name to use when installing library scripts:
- SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TK_LIBRARY)
-@@ -56,7 +56,9 @@
- BIN_DIR = $(exec_prefix)/bin
-
- # Directory in which to install the include file tk.h:
--INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include
-+INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/tkstep$(VERSION)
-+GENERIC_INCLUDE_INSTALL_DIR = $(INCLUDE_INSTALL_DIR)/generic
-+UNIX_INCLUDE_INSTALL_DIR = $(INCLUDE_INSTALL_DIR)/unix
-
- # Top-level directory for manual entries:
- MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man
-@@ -94,7 +96,7 @@
-
- # Libraries to use when linking. This definition is determined by the
- # configure script.
--LIBS = @TCL_BUILD_LIB_SPEC@ @LIBS@ $(X11_LIB_SWITCHES) @DL_LIBS@ @MATH_LIBS@ @EXTRA_LIBS@
-+LIBS = @TCL_LIB_SPEC@ @LIBS@ $(X11_LIB_SWITCHES) @DL_LIBS@ @MATH_LIBS@ @EXTRA_LIBS@
-
- # To change the compiler switches, for example to change from -O
- # to -g, change the following line:
-@@ -134,7 +136,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
-
-@@ -292,8 +294,14 @@
- @TK_LIB_FILE@: ${OBJS}
- rm -f @TK_LIB_FILE@
- @MAKE_LIB@
-+ ln -sf @TK_LIB_FILE@ libtkstep80.so
- $(RANLIB) @TK_LIB_FILE@
-
-+libtkstep80.a: ${OBJS}
-+ rm -f libtkstep80.a
-+ ar cr libtkstep80.a ${OBJS}
-+ $(RANLIB) libtkstep80.a
-+
- # Make target which outputs the list of the .o contained in the Tk lib
- # usefull to build a single big shared library containing Tcl/Tk and other
- # extensions. used for the Tcl Plugin. -- dl
-@@ -344,7 +352,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) wishstep
-+install-binaries: $(TK_LIB_FILE) libtkstep80.a wishstep
- @for i in $(LIB_INSTALL_DIR) $(BIN_INSTALL_DIR) ; \
- do \
- if [ ! -d $$i ] ; then \
-@@ -356,15 +364,22 @@
- done;
- @echo "Installing $(TK_LIB_FILE)"
- @$(INSTALL_DATA) $(TK_LIB_FILE) $(LIB_INSTALL_DIR)/$(TK_LIB_FILE)
-+ @ln -sf $(TK_LIB_FILE) $(LIB_INSTALL_DIR)/libtkstep80.so
- @(cd $(LIB_INSTALL_DIR); $(RANLIB) $(TK_LIB_FILE))
- @chmod 555 $(LIB_INSTALL_DIR)/$(TK_LIB_FILE)
-+ @echo "Installing libtkstep80.a"
-+ @$(INSTALL_DATA) libtkstep80.a $(LIB_INSTALL_DIR)/libtkstep80.a
-+ @(cd $(LIB_INSTALL_DIR); $(RANLIB) libtkstep80.a)
-+ @chmod 555 $(LIB_INSTALL_DIR)/libtkstep80.a
- @echo "Installing wishstep"
- @$(INSTALL_PROGRAM) wishstep $(BIN_INSTALL_DIR)/wishstep$(VERSION)
- @echo "Installing tkStepConfig.sh"
-- @$(INSTALL_DATA) tkConfig.sh $(LIB_INSTALL_DIR)/tkStepConfig.sh
-+ @mkdir -p $(TK_LIBRARY)
-+ @$(INSTALL_DATA) tkConfig.sh $(TK_LIBRARY)/tkStepConfig.sh
-
- install-libraries:
- @for i in $(INSTALL_ROOT)$(prefix)/lib $(INCLUDE_INSTALL_DIR) \
-+ $(GENERIC_INCLUDE_INSTALL_DIR) $(UNIX_INCLUDE_INSTALL_DIR) \
- $(SCRIPT_INSTALL_DIR) $(SCRIPT_INSTALL_DIR)/images; \
- do \
- if [ ! -d $$i ] ; then \
-@@ -374,8 +389,19 @@
- else true; \
- fi; \
- done;
-- @echo "Installing tkstep.h"
-- @$(INSTALL_DATA) $(GENERIC_DIR)/tk.h $(INCLUDE_INSTALL_DIR)/tkstep.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 $(UNIX_INCLUDE_INSTALL_DIR); \
-+ done;
-+ @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tk.h $(INCLUDE_INSTALL_DIR)/tk.h
-+ @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tk.h $(INCLUDE_INSTALL_DIR)/tkstep.h
- for i in $(SRC_DIR)/library/*.tcl $(SRC_DIR)/library/*.xbm $(SRC_DIR)/library/tclIndex $(SRC_DIR)/library/prolog.ps $(UNIX_DIR)/tkAppInit.c; \
- do \
- echo "Installing $$i"; \
-@@ -434,28 +460,28 @@
- @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; \
- 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; \
- 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; \
- 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; \
- done;
- $(UNIX_DIR)/mkLinks $(MANN_INSTALL_DIR)
-
+*** Makefile.in.orig Tue Apr 20 22:09:37 1999
+--- Makefile.in Tue Apr 20 22:09:38 1999
+***************
+*** 56,62 ****
+ BIN_DIR = $(exec_prefix)/bin
+
+ # Directory in which to install the include file tk.h:
+! INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include
+
+ # Top-level directory for manual entries:
+ MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man
+--- 56,64 ----
+ BIN_DIR = $(exec_prefix)/bin
+
+ # Directory in which to install the include file tk.h:
+! INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/tkstep$(VERSION)
+! GENERIC_INCLUDE_INSTALL_DIR = $(INCLUDE_INSTALL_DIR)/generic
+! UNIX_INCLUDE_INSTALL_DIR = $(INCLUDE_INSTALL_DIR)/unix
+
+ # Top-level directory for manual entries:
+ MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man
+***************
+*** 113,119 ****
+
+ # Libraries to use when linking. This definition is determined by the
+ # configure script.
+! LIBS = @TCL_BUILD_LIB_SPEC@ @LIBS@ $(X11_LIB_SWITCHES) @DL_LIBS@ @MATH_LIBS@ @EXTRA_LIBS@
+
+ # To turn off the security checks that disallow incoming sends when
+ # the X server appears to be insecure, reverse the comments on the
+--- 115,121 ----
+
+ # Libraries to use when linking. This definition is determined by the
+ # configure script.
+! LIBS = -L${PREFIX}/lib -ltcl80 @LIBS@ $(X11_LIB_SWITCHES) @DL_LIBS@ @MATH_LIBS@ @EXTRA_LIBS@
+
+ # To turn off the security checks that disallow incoming sends when
+ # the X server appears to be insecure, reverse the comments on the
+***************
+*** 149,155 ****
+ # "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_PROGRAM = ${INSTALL}
+ INSTALL_DATA = ${INSTALL} -m 644
+
+--- 151,157 ----
+ # "install" around; better to use the install-sh script that comes
+ # with the distribution, which is slower but guaranteed to work.
+
+! INSTALL = install -c
+ INSTALL_PROGRAM = ${INSTALL}
+ INSTALL_DATA = ${INSTALL} -m 644
+
+***************
+*** 206,217 ****
+
+ CC = @CC@
+ CC_SWITCHES = ${CFLAGS} ${CFLAGS_WARNING} ${TK_SHLIB_CFLAGS} \
+! -I${UNIX_DIR} -I${GENERIC_DIR} \
+ -I${BMAP_DIR} -I${TCL_GENERIC_DIR} ${X11_INCLUDES} ${AC_FLAGS} ${PROTO_FLAGS} \
+ ${SECURITY_FLAGS} ${MEM_DEBUG_FLAGS} ${KEYSYM_FLAGS}
+
+ DEPEND_SWITCHES = ${CFLAGS} -I${UNIX_DIR} -I${GENERIC_DIR} \
+! -I${BMAP_DIR} \
+ -I${TCL_GENERIC_DIR} ${X11_INCLUDES} \
+ ${AC_FLAGS} ${PROTO_FLAGS} ${SECURITY_FLAGS} ${MEM_DEBUG_FLAGS} \
+ ${KEYSYM_FLAGS}
+--- 208,219 ----
+
+ CC = @CC@
+ CC_SWITCHES = ${CFLAGS} ${CFLAGS_WARNING} ${TK_SHLIB_CFLAGS} \
+! -I${UNIX_DIR} -I${GENERIC_DIR} -I${LOCALBASE}/include \
+ -I${BMAP_DIR} -I${TCL_GENERIC_DIR} ${X11_INCLUDES} ${AC_FLAGS} ${PROTO_FLAGS} \
+ ${SECURITY_FLAGS} ${MEM_DEBUG_FLAGS} ${KEYSYM_FLAGS}
+
+ DEPEND_SWITCHES = ${CFLAGS} -I${UNIX_DIR} -I${GENERIC_DIR} \
+! -I${BMAP_DIR} -I${LOCALBASE}/include \
+ -I${TCL_GENERIC_DIR} ${X11_INCLUDES} \
+ ${AC_FLAGS} ${PROTO_FLAGS} ${SECURITY_FLAGS} ${MEM_DEBUG_FLAGS} \
+ ${KEYSYM_FLAGS}
+***************
+*** 314,321 ****
+--- 316,330 ----
+ ${TK_LIB_FILE}: ${OBJS}
+ rm -f ${TK_LIB_FILE}
+ @MAKE_LIB@
++ ln -sf @TK_LIB_FILE@ libtkstep80.so
+ $(RANLIB) ${TK_LIB_FILE}
+
++ libtkstep80.a: ${OBJS}
++ rm -f libtkstep80.a
++ ar cr libtkstep80.a ${OBJS}
++ ranlib libtkstep80.a
++
++
+ # Make target which outputs the list of the .o contained in the Tk lib
+ # usefull to build a single big shared library containing Tcl/Tk and other
+ # extensions. used for the Tcl Plugin. -- dl
+***************
+*** 331,337 ****
+ $(TK_CC_SEARCH_FLAGS) -o wish@STEP@
+
+ tktest: $(TKTEST_OBJS) $(TK_LIB_FILE)
+! ${CC} @LD_FLAGS@ $(TKTEST_OBJS) @TK_BUILD_LIB_SPEC@ $(LIBS) \
+ $(TK_CC_SEARCH_FLAGS) -o tktest
+
+ xttest: test.o tkTest.o tkSquare.o $(TK_LIB_FILE)
+--- 340,346 ----
+ $(TK_CC_SEARCH_FLAGS) -o wish@STEP@
+
+ tktest: $(TKTEST_OBJS) $(TK_LIB_FILE)
+! ${CC} @LD_FLAGS@ $(TKTEST_OBJS) $(TK_LIB_FILE) $(LIBS) \
+ $(TK_CC_SEARCH_FLAGS) -o tktest
+
+ xttest: test.o tkTest.o tkSquare.o $(TK_LIB_FILE)
+***************
+*** 370,376 ****
+ # some ranlibs write to current directory, and this might not always be
+ # possible (e.g. if installing as root).
+
+! install-binaries: $(TK_LIB_FILE) wish@STEP@
+ @for i in $(LIB_INSTALL_DIR) $(BIN_INSTALL_DIR) ; \
+ do \
+ if [ ! -d $$i ] ; then \
+--- 379,385 ----
+ # some ranlibs write to current directory, and this might not always be
+ # possible (e.g. if installing as root).
+
+! install-binaries: $(TK_LIB_FILE) libtkstep80.a wishstep
+ @for i in $(LIB_INSTALL_DIR) $(BIN_INSTALL_DIR) ; \
+ do \
+ if [ ! -d $$i ] ; then \
+***************
+*** 384,396 ****
+ @$(INSTALL_DATA) $(TK_LIB_FILE) $(LIB_INSTALL_DIR)/$(TK_LIB_FILE)
+ @(cd $(LIB_INSTALL_DIR); $(RANLIB) $(TK_LIB_FILE))
+ @chmod 555 $(LIB_INSTALL_DIR)/$(TK_LIB_FILE)
+ @echo "Installing wish@STEP@"
+ @$(INSTALL_PROGRAM) wish@STEP@ $(BIN_INSTALL_DIR)/wish@STEP@$(VERSION)
+ @echo "Installing tk@STEP@Config.sh"
+! @$(INSTALL_DATA) tk@STEP@Config.sh $(LIB_INSTALL_DIR)/tk@STEP@Config.sh
+
+ install-libraries:
+ @for i in $(INSTALL_ROOT)$(prefix)/lib $(INCLUDE_INSTALL_DIR) \
+ $(SCRIPT_INSTALL_DIR) $(SCRIPT_INSTALL_DIR)/images; \
+ do \
+ if [ ! -d $$i ] ; then \
+--- 393,411 ----
+ @$(INSTALL_DATA) $(TK_LIB_FILE) $(LIB_INSTALL_DIR)/$(TK_LIB_FILE)
+ @(cd $(LIB_INSTALL_DIR); $(RANLIB) $(TK_LIB_FILE))
+ @chmod 555 $(LIB_INSTALL_DIR)/$(TK_LIB_FILE)
++ @echo "Installing libtkstep80.a"
++ @$(INSTALL_DATA) libtkstep80.a $(LIB_INSTALL_DIR)/libtkstep80.a
++ @(cd $(LIB_INSTALL_DIR); $(RANLIB) libtkstep80.a)
++ @chmod 555 $(LIB_INSTALL_DIR)/libtkstep80.a
+ @echo "Installing wish@STEP@"
+ @$(INSTALL_PROGRAM) wish@STEP@ $(BIN_INSTALL_DIR)/wish@STEP@$(VERSION)
+ @echo "Installing tk@STEP@Config.sh"
+! @mkdir -p $(TK_LIBRARY)
+! @$(INSTALL_DATA) tk@STEP@Config.sh $(TK_LIBRARY)/tkStepConfig.sh
+
+ install-libraries:
+ @for i in $(INSTALL_ROOT)$(prefix)/lib $(INCLUDE_INSTALL_DIR) \
++ $(GENERIC_INCLUDE_INSTALL_DIR) $(UNIX_INCLUDE_INSTALL_DIR) \
+ $(SCRIPT_INSTALL_DIR) $(SCRIPT_INSTALL_DIR)/images; \
+ do \
+ if [ ! -d $$i ] ; then \
+***************
+*** 400,407 ****
+ else true; \
+ fi; \
+ done;
+! @echo "Installing tk@STEP@.h"
+! @$(INSTALL_DATA) $(GENERIC_DIR)/tk.h $(INCLUDE_INSTALL_DIR)/tk@STEP@.h
+ for i in $(SRC_DIR)/library/*.tcl $(SRC_DIR)/library/*.xbm $(SRC_DIR)/library/tclIndex $(SRC_DIR)/library/prolog.ps $(UNIX_DIR)/tkAppInit.c; \
+ do \
+ echo "Installing $$i"; \
+--- 415,433 ----
+ else true; \
+ fi; \
+ done;
+! @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 $(UNIX_INCLUDE_INSTALL_DIR); \
+! done;
+! @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tk.h $(INCLUDE_INSTALL_DIR)/tk.h
+! @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tk.h $(INCLUDE_INSTALL_DIR)/tkstep.h
+ for i in $(SRC_DIR)/library/*.tcl $(SRC_DIR)/library/*.xbm $(SRC_DIR)/library/tclIndex $(SRC_DIR)/library/prolog.ps $(UNIX_DIR)/tkAppInit.c; \
+ do \
+ echo "Installing $$i"; \
+***************
+*** 460,487 ****
+ @cd $(SRC_DIR)/doc; for i in *.1; \
+ do \
+ echo "Installing doc/$$i"; \
+! rm -f $(MAN1_INSTALL_DIR)/$$i; \
+ sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
+! $$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; \
+ sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
+! $$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; \
+ sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
+! $$i > $(MANN_INSTALL_DIR)/$$i; \
+! chmod 444 $(MANN_INSTALL_DIR)/$$i; \
+ done;
+ $(UNIX_DIR)/mkLinks $(MANN_INSTALL_DIR)
+
+--- 486,513 ----
+ @cd $(SRC_DIR)/doc; for i in *.1; \
+ do \
+ echo "Installing doc/$$i"; \
+! rm -f $(MAN1_INSTALL_DIR)/$$i $(MAN1_INSTALL_DIR)/$$i.gz; \
+ sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
+! $$i | gzip -c > $(MAN1_INSTALL_DIR)/$$i.gz; \
+! chmod 444 $(MAN1_INSTALL_DIR)/$$i.gz; \
+ 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 $(MAN3_INSTALL_DIR)/$$i.gz; \
+ sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
+! $$i | gzip -c > $(MAN3_INSTALL_DIR)/$$i.gz; \
+! chmod 444 $(MAN3_INSTALL_DIR)/$$i.gz; \
+ 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 $(MANN_INSTALL_DIR)/$$i.gz; \
+ sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
+! $$i | gzip -c > $(MANN_INSTALL_DIR)/$$i.gz; \
+! chmod 444 $(MANN_INSTALL_DIR)/$$i.gz; \
+ done;
+ $(UNIX_DIR)/mkLinks $(MANN_INSTALL_DIR)
+
diff --git a/x11-toolkits/tkstep80/pkg-plist b/x11-toolkits/tkstep80/pkg-plist
index 4bd85ef446dd..626d25d18c68 100644
--- a/x11-toolkits/tkstep80/pkg-plist
+++ b/x11-toolkits/tkstep80/pkg-plist
@@ -149,119 +149,119 @@ man/mann/toplevel.n.gz
man/mann/winfo.n.gz
man/mann/wm.n.gz
share/doc/tkstep/README.TkStep
-share/tkstep8.0/FontChooser.tcl
-share/tkstep8.0/bgerror.tcl
-share/tkstep8.0/button.tcl
-share/tkstep8.0/clrpick.tcl
-share/tkstep8.0/comdlg.tcl
-share/tkstep8.0/console.tcl
-share/tkstep8.0/demos/README
-share/tkstep8.0/demos/arrow.tcl
-share/tkstep8.0/demos/bind.tcl
-share/tkstep8.0/demos/bitmap.tcl
-share/tkstep8.0/demos/browse
-share/tkstep8.0/demos/button.tcl
-share/tkstep8.0/demos/check.tcl
-share/tkstep8.0/demos/clrpick.tcl
-share/tkstep8.0/demos/colors.tcl
-share/tkstep8.0/demos/cscroll.tcl
-share/tkstep8.0/demos/ctext.tcl
-share/tkstep8.0/demos/dialog1.tcl
-share/tkstep8.0/demos/dialog2.tcl
-share/tkstep8.0/demos/dragtest
-share/tkstep8.0/demos/droptest
-share/tkstep8.0/demos/entry1.tcl
-share/tkstep8.0/demos/entry2.tcl
-share/tkstep8.0/demos/filebox.tcl
-share/tkstep8.0/demos/floor.tcl
-share/tkstep8.0/demos/form.tcl
-share/tkstep8.0/demos/hello
-share/tkstep8.0/demos/hscale.tcl
-share/tkstep8.0/demos/icon.tcl
-share/tkstep8.0/demos/image1.tcl
-share/tkstep8.0/demos/image2.tcl
-share/tkstep8.0/demos/imagedrop
-share/tkstep8.0/demos/images/earth.gif
-share/tkstep8.0/demos/images/earthris.gif
-share/tkstep8.0/demos/images/face.bmp
-share/tkstep8.0/demos/images/flagdown.bmp
-share/tkstep8.0/demos/images/flagup.bmp
-share/tkstep8.0/demos/images/gray25.bmp
-share/tkstep8.0/demos/images/letters.bmp
-share/tkstep8.0/demos/images/noletter.bmp
-share/tkstep8.0/demos/images/pattern.bmp
-share/tkstep8.0/demos/images/tcllogo.gif
-share/tkstep8.0/demos/images/teapot.ppm
-share/tkstep8.0/demos/items.tcl
-share/tkstep8.0/demos/ixset
-share/tkstep8.0/demos/label.tcl
-share/tkstep8.0/demos/license.terms
-share/tkstep8.0/demos/menu.tcl
-share/tkstep8.0/demos/menubu.tcl
-share/tkstep8.0/demos/msgbox.tcl
-share/tkstep8.0/demos/plot.tcl
-share/tkstep8.0/demos/puzzle.tcl
-share/tkstep8.0/demos/radio.tcl
-share/tkstep8.0/demos/rmt
-share/tkstep8.0/demos/rolodex
-share/tkstep8.0/demos/ruler.tcl
-share/tkstep8.0/demos/sayings.tcl
-share/tkstep8.0/demos/search.tcl
-share/tkstep8.0/demos/square
-share/tkstep8.0/demos/states.tcl
-share/tkstep8.0/demos/style.tcl
-share/tkstep8.0/demos/tclIndex
-share/tkstep8.0/demos/tcolor
-share/tkstep8.0/demos/tcolor2
-share/tkstep8.0/demos/text.tcl
-share/tkstep8.0/demos/tfontsel
-share/tkstep8.0/demos/timer
-share/tkstep8.0/demos/twind.tcl
-share/tkstep8.0/demos/vscale.tcl
-share/tkstep8.0/demos/widget
-share/tkstep8.0/dialog.tcl
-share/tkstep8.0/entry.tcl
-share/tkstep8.0/focus.tcl
-share/tkstep8.0/images/README
-share/tkstep8.0/images/logo100.gif
-share/tkstep8.0/images/logo64.gif
-share/tkstep8.0/images/logoLarge.gif
-share/tkstep8.0/images/logoMed.gif
-share/tkstep8.0/images/pwrdLogo100.gif
-share/tkstep8.0/images/pwrdLogo150.gif
-share/tkstep8.0/images/pwrdLogo175.gif
-share/tkstep8.0/images/pwrdLogo200.gif
-share/tkstep8.0/images/pwrdLogo75.gif
-share/tkstep8.0/listbox.tcl
-share/tkstep8.0/menu.tcl
-share/tkstep8.0/msgbox.tcl
-share/tkstep8.0/obsolete.tcl
-share/tkstep8.0/optMenu.tcl
-share/tkstep8.0/palette.tcl
-share/tkstep8.0/paint.xbm
-share/tkstep8.0/paintm.xbm
-share/tkstep8.0/prolog.ps
-share/tkstep8.0/safetk.tcl
-share/tkstep8.0/scale.tcl
-share/tkstep8.0/scrlbar.tcl
-share/tkstep8.0/tclIndex
-share/tkstep8.0/tearoff.tcl
-share/tkstep8.0/text.tcl
-share/tkstep8.0/tk.tcl
-share/tkstep8.0/tkAppInit.c
-share/tkstep8.0/tkStepConfig.sh
-share/tkstep8.0/tkfbox.tcl
-share/tkstep8.0/tkstep.tcl
-share/tkstep8.0/xmfbox.tcl
+lib/tkstep8.0/FontChooser.tcl
+lib/tkstep8.0/bgerror.tcl
+lib/tkstep8.0/button.tcl
+lib/tkstep8.0/clrpick.tcl
+lib/tkstep8.0/comdlg.tcl
+lib/tkstep8.0/console.tcl
+lib/tkstep8.0/demos/README
+lib/tkstep8.0/demos/arrow.tcl
+lib/tkstep8.0/demos/bind.tcl
+lib/tkstep8.0/demos/bitmap.tcl
+lib/tkstep8.0/demos/browse
+lib/tkstep8.0/demos/button.tcl
+lib/tkstep8.0/demos/check.tcl
+lib/tkstep8.0/demos/clrpick.tcl
+lib/tkstep8.0/demos/colors.tcl
+lib/tkstep8.0/demos/cscroll.tcl
+lib/tkstep8.0/demos/ctext.tcl
+lib/tkstep8.0/demos/dialog1.tcl
+lib/tkstep8.0/demos/dialog2.tcl
+lib/tkstep8.0/demos/dragtest
+lib/tkstep8.0/demos/droptest
+lib/tkstep8.0/demos/entry1.tcl
+lib/tkstep8.0/demos/entry2.tcl
+lib/tkstep8.0/demos/filebox.tcl
+lib/tkstep8.0/demos/floor.tcl
+lib/tkstep8.0/demos/form.tcl
+lib/tkstep8.0/demos/hello
+lib/tkstep8.0/demos/hscale.tcl
+lib/tkstep8.0/demos/icon.tcl
+lib/tkstep8.0/demos/image1.tcl
+lib/tkstep8.0/demos/image2.tcl
+lib/tkstep8.0/demos/imagedrop
+lib/tkstep8.0/demos/images/earth.gif
+lib/tkstep8.0/demos/images/earthris.gif
+lib/tkstep8.0/demos/images/face.bmp
+lib/tkstep8.0/demos/images/flagdown.bmp
+lib/tkstep8.0/demos/images/flagup.bmp
+lib/tkstep8.0/demos/images/gray25.bmp
+lib/tkstep8.0/demos/images/letters.bmp
+lib/tkstep8.0/demos/images/noletter.bmp
+lib/tkstep8.0/demos/images/pattern.bmp
+lib/tkstep8.0/demos/images/tcllogo.gif
+lib/tkstep8.0/demos/images/teapot.ppm
+lib/tkstep8.0/demos/items.tcl
+lib/tkstep8.0/demos/ixset
+lib/tkstep8.0/demos/label.tcl
+lib/tkstep8.0/demos/license.terms
+lib/tkstep8.0/demos/menu.tcl
+lib/tkstep8.0/demos/menubu.tcl
+lib/tkstep8.0/demos/msgbox.tcl
+lib/tkstep8.0/demos/plot.tcl
+lib/tkstep8.0/demos/puzzle.tcl
+lib/tkstep8.0/demos/radio.tcl
+lib/tkstep8.0/demos/rmt
+lib/tkstep8.0/demos/rolodex
+lib/tkstep8.0/demos/ruler.tcl
+lib/tkstep8.0/demos/sayings.tcl
+lib/tkstep8.0/demos/search.tcl
+lib/tkstep8.0/demos/square
+lib/tkstep8.0/demos/states.tcl
+lib/tkstep8.0/demos/style.tcl
+lib/tkstep8.0/demos/tclIndex
+lib/tkstep8.0/demos/tcolor
+lib/tkstep8.0/demos/tcolor2
+lib/tkstep8.0/demos/text.tcl
+lib/tkstep8.0/demos/tfontsel
+lib/tkstep8.0/demos/timer
+lib/tkstep8.0/demos/twind.tcl
+lib/tkstep8.0/demos/vscale.tcl
+lib/tkstep8.0/demos/widget
+lib/tkstep8.0/dialog.tcl
+lib/tkstep8.0/entry.tcl
+lib/tkstep8.0/focus.tcl
+lib/tkstep8.0/images/README
+lib/tkstep8.0/images/logo100.gif
+lib/tkstep8.0/images/logo64.gif
+lib/tkstep8.0/images/logoLarge.gif
+lib/tkstep8.0/images/logoMed.gif
+lib/tkstep8.0/images/pwrdLogo100.gif
+lib/tkstep8.0/images/pwrdLogo150.gif
+lib/tkstep8.0/images/pwrdLogo175.gif
+lib/tkstep8.0/images/pwrdLogo200.gif
+lib/tkstep8.0/images/pwrdLogo75.gif
+lib/tkstep8.0/listbox.tcl
+lib/tkstep8.0/menu.tcl
+lib/tkstep8.0/msgbox.tcl
+lib/tkstep8.0/obsolete.tcl
+lib/tkstep8.0/optMenu.tcl
+lib/tkstep8.0/palette.tcl
+lib/tkstep8.0/paint.xbm
+lib/tkstep8.0/paintm.xbm
+lib/tkstep8.0/prolog.ps
+lib/tkstep8.0/safetk.tcl
+lib/tkstep8.0/scale.tcl
+lib/tkstep8.0/scrlbar.tcl
+lib/tkstep8.0/tclIndex
+lib/tkstep8.0/tearoff.tcl
+lib/tkstep8.0/text.tcl
+lib/tkstep8.0/tk.tcl
+lib/tkstep8.0/tkAppInit.c
+lib/tkstep8.0/tkStepConfig.sh
+lib/tkstep8.0/tkfbox.tcl
+lib/tkstep8.0/tkstep.tcl
+lib/tkstep8.0/xmfbox.tcl
lib/libtkstep80.a
-lib/libtkstep80.so.1.2
+lib/libtkstep80.so.1.4
@exec /sbin/ldconfig -m %B
@unexec /sbin/ldconfig -R
@dirrm share/doc/tkstep
-@dirrm share/tkstep8.0/demos/images
-@dirrm share/tkstep8.0/demos
-@dirrm share/tkstep8.0/images
-@dirrm share/tkstep8.0
+@dirrm lib/tkstep8.0/demos/images
+@dirrm lib/tkstep8.0/demos
+@dirrm lib/tkstep8.0/images
+@dirrm lib/tkstep8.0
@dirrm include/tkstep8.0/unix
@dirrm include/tkstep8.0/generic
@dirrm include/tkstep8.0