Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 May 1999 19:05:37 +0900 (JST)
From:      KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11424: New ports: ja-tkstep-8.0.4(japanese/tkstep80)
Message-ID:  <199905011005.TAA26603@pis.toba-cmt.ac.jp>

next in thread | raw e-mail | index | archive | help

>Number:         11424
>Category:       ports
>Synopsis:       New ports: ja-tkstep-8.0.4(japanese/tkstep80)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May  1 03:10:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     KIRIYAMA Kazuhiko
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Toba National College of Maritime Technology.
	Department of Electronic Mechanical Engineering
>Environment:
>Description:
tkstep80 port has been ported. This port is a japanese version of TkStep80.

I put the port with shar `find tkstep80` below "Fix:"
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	tkstep80/
#	tkstep80/files/
#	tkstep80/files/md5
#	tkstep80/pkg/
#	tkstep80/pkg/COMMENT
#	tkstep80/pkg/DESCR
#	tkstep80/pkg/PLIST
#	tkstep80/Makefile
#	tkstep80/patches/
#	tkstep80/patches/patch-aa
#	tkstep80/patches/patch-ab
#	tkstep80/scripts/
#	tkstep80/scripts/post-configure
#
echo c - tkstep80/
mkdir -p tkstep80/ > /dev/null 2>&1
echo c - tkstep80/files/
mkdir -p tkstep80/files/ > /dev/null 2>&1
echo x - tkstep80/files/md5
sed 's/^X//' >tkstep80/files/md5 << 'END-of-tkstep80/files/md5'
XMD5 (tk8.0.4.tar.gz) = 8e4c6a20f11cdff76adb5d26423e4ea5
XMD5 (tk8.0.4jp1.3.patch.gz) = adbe811b2ddb4b9e11f478253888eb05
XMD5 (tk8.0.4-Stepnize.gz) = fcb3fa540d0a704ed198de4e2e11ccfc
END-of-tkstep80/files/md5
echo c - tkstep80/pkg/
mkdir -p tkstep80/pkg/ > /dev/null 2>&1
echo x - tkstep80/pkg/COMMENT
sed 's/^X//' >tkstep80/pkg/COMMENT << 'END-of-tkstep80/pkg/COMMENT'
XThe Tk toolkit with a NeXTSTEP look and more.
END-of-tkstep80/pkg/COMMENT
echo x - tkstep80/pkg/DESCR
sed 's/^X//' >tkstep80/pkg/DESCR << 'END-of-tkstep80/pkg/DESCR'
XThis is Tk 8.0  with some modifications to make it look like N*XTSTEP's 
Xinterface, plus some new widgets inspirated on N*XTSTEP. 
XIt also incorporates the DND drag and drop patches (see README.TkDND)
X
XYou can use TkSTEP with WindowMaker or AfterStep to make your desktop look
Xmore consistent. BowMan is a window manager that emulates the look and feel
Xof the N*XTSTEP user interface. AfterStep is a continuation of BowMan with
Xmany enhancements and is event better looking. WindowMaker is a even better
XWindowManager by Alfredo Kojima.
X
XJapanese modification has been done by IWAYA Jyun<jfactory@aaa-int.or.jp>.
X
X-KIRIYAMA Kazuhiko
X<kiri@pis.toba-cmt.ac.jp>
END-of-tkstep80/pkg/DESCR
echo x - tkstep80/pkg/PLIST
sed 's/^X//' >tkstep80/pkg/PLIST << 'END-of-tkstep80/pkg/PLIST'
Xbin/wishstep8.0jp
Xinclude/tkstep8.0jp/tkstep.h
Xinclude/tkstep8.0jp/generic/default.h
Xinclude/tkstep8.0jp/generic/ks_names.h
Xinclude/tkstep8.0jp/generic/tk.h
Xinclude/tkstep8.0jp/generic/tk3d.h
Xinclude/tkstep8.0jp/generic/tkButton.h
Xinclude/tkstep8.0jp/generic/tkCanvas.h
Xinclude/tkstep8.0jp/generic/tkColor.h
Xinclude/tkstep8.0jp/generic/tkFileFilter.h
Xinclude/tkstep8.0jp/generic/tkFont.h
Xinclude/tkstep8.0jp/generic/tkInitScript.h
Xinclude/tkstep8.0jp/generic/tkInt.h
Xinclude/tkstep8.0jp/generic/tkMenu.h
Xinclude/tkstep8.0jp/generic/tkMenubutton.h
Xinclude/tkstep8.0jp/generic/tkPort.h
Xinclude/tkstep8.0jp/generic/tkScale.h
Xinclude/tkstep8.0jp/generic/tkScrollbar.h
Xinclude/tkstep8.0jp/generic/tkSelect.h
Xinclude/tkstep8.0jp/generic/tkText.h
Xinclude/tkstep8.0jp/unix/tkKinput2.h
Xinclude/tkstep8.0jp/unix/tkUnixDefault.h
Xinclude/tkstep8.0jp/unix/tkUnixInt.h
Xinclude/tkstep8.0jp/unix/tkUnixPort.h
Xlib/libtkstep80jp.a
Xlib/libtkstep80jp.so
Xlib/libtkstep80jp.so.1
X@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
X@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
Xlib/tkstep8.0jp/FontChooser.tcl
Xlib/tkstep8.0jp/bgerror.tcl
Xlib/tkstep8.0jp/button.tcl
Xlib/tkstep8.0jp/clrpick.tcl
Xlib/tkstep8.0jp/comdlg.tcl
Xlib/tkstep8.0jp/console.tcl
Xlib/tkstep8.0jp/demos/README
Xlib/tkstep8.0jp/demos/arrow.tcl
Xlib/tkstep8.0jp/demos/bind.tcl
Xlib/tkstep8.0jp/demos/bitmap.tcl
Xlib/tkstep8.0jp/demos/browse
Xlib/tkstep8.0jp/demos/button.tcl
Xlib/tkstep8.0jp/demos/check.tcl
Xlib/tkstep8.0jp/demos/clrpick.tcl
Xlib/tkstep8.0jp/demos/colors.tcl
Xlib/tkstep8.0jp/demos/cscroll.tcl
Xlib/tkstep8.0jp/demos/ctext.tcl
Xlib/tkstep8.0jp/demos/dialog1.tcl
Xlib/tkstep8.0jp/demos/dialog2.tcl
Xlib/tkstep8.0jp/demos/dragtest
Xlib/tkstep8.0jp/demos/droptest
Xlib/tkstep8.0jp/demos/entry1.tcl
Xlib/tkstep8.0jp/demos/entry2.tcl
Xlib/tkstep8.0jp/demos/filebox.tcl
Xlib/tkstep8.0jp/demos/floor.tcl
Xlib/tkstep8.0jp/demos/form.tcl
Xlib/tkstep8.0jp/demos/hello
Xlib/tkstep8.0jp/demos/hscale.tcl
Xlib/tkstep8.0jp/demos/icon.tcl
Xlib/tkstep8.0jp/demos/image1.tcl
Xlib/tkstep8.0jp/demos/image2.tcl
Xlib/tkstep8.0jp/demos/imagedrop
Xlib/tkstep8.0jp/demos/images/earth.gif
Xlib/tkstep8.0jp/demos/images/earthris.gif
Xlib/tkstep8.0jp/demos/images/face.bmp
Xlib/tkstep8.0jp/demos/images/flagdown.bmp
Xlib/tkstep8.0jp/demos/images/flagup.bmp
Xlib/tkstep8.0jp/demos/images/gray25.bmp
Xlib/tkstep8.0jp/demos/images/letters.bmp
Xlib/tkstep8.0jp/demos/images/noletter.bmp
Xlib/tkstep8.0jp/demos/images/pattern.bmp
Xlib/tkstep8.0jp/demos/images/tcllogo.gif
Xlib/tkstep8.0jp/demos/images/teapot.ppm
Xlib/tkstep8.0jp/demos/items.tcl
Xlib/tkstep8.0jp/demos/ixset
Xlib/tkstep8.0jp/demos/label.tcl
Xlib/tkstep8.0jp/demos/license.terms
Xlib/tkstep8.0jp/demos/menu.tcl
Xlib/tkstep8.0jp/demos/menubu.tcl
Xlib/tkstep8.0jp/demos/msgbox.tcl
Xlib/tkstep8.0jp/demos/plot.tcl
Xlib/tkstep8.0jp/demos/puzzle.tcl
Xlib/tkstep8.0jp/demos/radio.tcl
Xlib/tkstep8.0jp/demos/rmt
Xlib/tkstep8.0jp/demos/rolodex
Xlib/tkstep8.0jp/demos/ruler.tcl
Xlib/tkstep8.0jp/demos/sayings.tcl
Xlib/tkstep8.0jp/demos/search.tcl
Xlib/tkstep8.0jp/demos/square
Xlib/tkstep8.0jp/demos/states.tcl
Xlib/tkstep8.0jp/demos/style.tcl
Xlib/tkstep8.0jp/demos/tclIndex
Xlib/tkstep8.0jp/demos/tcolor
Xlib/tkstep8.0jp/demos/tcolor2
Xlib/tkstep8.0jp/demos/text.tcl
Xlib/tkstep8.0jp/demos/tfontsel
Xlib/tkstep8.0jp/demos/timer
Xlib/tkstep8.0jp/demos/twind.tcl
Xlib/tkstep8.0jp/demos/vscale.tcl
Xlib/tkstep8.0jp/demos/widget
Xlib/tkstep8.0jp/dialog.tcl
Xlib/tkstep8.0jp/entry.tcl
Xlib/tkstep8.0jp/focus.tcl
Xlib/tkstep8.0jp/images/README
Xlib/tkstep8.0jp/images/logo100.gif
Xlib/tkstep8.0jp/images/logo64.gif
Xlib/tkstep8.0jp/images/logoLarge.gif
Xlib/tkstep8.0jp/images/logoMed.gif
Xlib/tkstep8.0jp/images/pwrdLogo100.gif
Xlib/tkstep8.0jp/images/pwrdLogo150.gif
Xlib/tkstep8.0jp/images/pwrdLogo175.gif
Xlib/tkstep8.0jp/images/pwrdLogo200.gif
Xlib/tkstep8.0jp/images/pwrdLogo75.gif
Xlib/tkstep8.0jp/kinput.tcl
Xlib/tkstep8.0jp/listbox.tcl
Xlib/tkstep8.0jp/menu.tcl
Xlib/tkstep8.0jp/msgbox.tcl
Xlib/tkstep8.0jp/obsolete.tcl
Xlib/tkstep8.0jp/optMenu.tcl
Xlib/tkstep8.0jp/palette.tcl
Xlib/tkstep8.0jp/prolog.ps
Xlib/tkstep8.0jp/safetk.tcl
Xlib/tkstep8.0jp/scale.tcl
Xlib/tkstep8.0jp/scrlbar.tcl
Xlib/tkstep8.0jp/tclIndex
Xlib/tkstep8.0jp/tearoff.tcl
Xlib/tkstep8.0jp/text.tcl
Xlib/tkstep8.0jp/tk.tcl
Xlib/tkstep8.0jp/tkAppInit.c
Xlib/tkstep8.0jp/tkStepConfig.sh
Xlib/tkstep8.0jp/tkfbox.tcl
Xlib/tkstep8.0jp/tkstep.tcl
Xlib/tkstep8.0jp/xim.tcl
Xlib/tkstep8.0jp/xmfbox.tcl
Xshare/doc/tkstep8.0jp/INSTALL.TkSTEPjp
Xshare/doc/tkstep8.0jp/NOTES
Xshare/doc/tkstep8.0jp/README.TkDND
Xshare/doc/tkstep8.0jp/README.TkSTEPjp
Xshare/doc/tkstep8.0jp/README.TkStep
Xshare/doc/tkstep8.0jp/README.step
Xshare/doc/tkstep8.0jp/changes.TkSTEPjp
X@dirrm include/tkstep8.0jp/generic
X@dirrm include/tkstep8.0jp/unix
X@dirrm include/tkstep8.0jp
X@dirrm lib/tkstep8.0jp/demos/images
X@dirrm lib/tkstep8.0jp/demos
X@dirrm lib/tkstep8.0jp/images
X@dirrm lib/tkstep8.0jp
X@dirrm share/doc/tkstep8.0jp
END-of-tkstep80/pkg/PLIST
echo x - tkstep80/Makefile
sed 's/^X//' >tkstep80/Makefile << 'END-of-tkstep80/Makefile'
X# New ports collection makefile for:	TkStep
X# Version required:	8.0.4
X# Date created:		25 March 1999
X# Whom:			KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
X#
X# $Id$
X#
X
XDISTNAME=	tk8.0.4
XPKGNAME=	ja-tkstep-8.0.4
XCATEGORIES=	japanese tk80
XMASTER_SITES=	ftp://ftp.scriptics.com/pub/tcl/tcl8_0/
XPATCH_SITES=	ftp://ftp.sra.co.jp/pub/lang/tcl/jp/ \
X		http://www.aaa-int.or.jp/~jfactory/TkStep/dist/
XPATCHFILES=	tk8.0.4jp1.3.patch.gz tk8.0.4-Stepnize.gz
X
XMAINTAINER=	kiri@pis.toba-cmt.ac.jp
X
XLIB_DEPENDS=	tcl80jp.1:${PORTSDIR}/japanese/tcl80
X
XUSE_AUTOCONF=	yes
XHAS_CONFIGURE=	yes
XCONFIGURE_ARGS=	--enable-gcc --enable-shared --enable-step \
X		--with-tcl=${PREFIX}/lib/tcl${TCLVERSION}jp \
X		--enable-dnd
XWRKSRC=		${TOPDIR}/unix
X.if defined(PATCH_DEBUG)
XPATCH_DIST_ARGS=-d ${TOPDIR} -E ${PATCH_DIST_STRIP}
X.else
XPATCH_DIST_ARGS=-d ${TOPDIR} --forward --quiet -E ${PATCH_DIST_STRIP}
X.endif
X
XTCLVERSION=	8.0
XTOPDIR=		${WRKDIR}/${DISTNAME}
XPORTDOCDIR=	${PREFIX}/share/doc/tkstep${TCLVERSION}jp
X
X.include <bsd.port.pre.mk>
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${PORTDOCDIR}
X	cd ${TOPDIR}/doc.tkstep; \
X	${INSTALL_DATA} INSTALL.TkSTEPjp NOTES README.TkDND README.TkSTEPjp \
X		README.TkStep README.step changes.TkSTEPjp ${PORTDOCDIR}
X.endif
X	@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
X
X.include <bsd.port.post.mk>
END-of-tkstep80/Makefile
echo c - tkstep80/patches/
mkdir -p tkstep80/patches/ > /dev/null 2>&1
echo x - tkstep80/patches/patch-aa
sed 's/^X//' >tkstep80/patches/patch-aa << 'END-of-tkstep80/patches/patch-aa'
X--- configure.in~	Wed Mar 24 22:32:25 1999
X+++ configure.in	Wed Mar 24 22:39:18 1999
X@@ -10,6 +10,7 @@
X TK_MINOR_VERSION=0
X TK_PATCH_LEVEL=".4"
X VERSION=${TK_VERSION}
X+TCL_L10N=jp
X 
X if test "${prefix}" = "NONE"; then
X     prefix=/usr/local
X@@ -51,8 +52,8 @@
X if test ! -d $TCL_BIN_DIR; then
X     AC_MSG_ERROR(Tcl directory $TCL_BIN_DIR doesn't exist)
X fi
X-if test ! -f $TCL_BIN_DIR/Makefile; then
X-    AC_MSG_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?)
X+if test ! -f $TCL_BIN_DIR/tclConfig.sh; then
X+    AC_MSG_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?)
X fi
X 
X #--------------------------------------------------------------------
X@@ -87,6 +88,8 @@
X CFLAGS_OPTIMIZE=$TCL_CFLAGS_OPTIMIZE
X EXTRA_CFLAGS=$TCL_EXTRA_CFLAGS
X 
X+TCL_SRC_DIR=${prefix}/include/tcl${TCL_VERSION}
X+
X LIB_RUNTIME_DIR='${LIB_RUNTIME_DIR}'
X 
X # If Tcl and Tk are installed in different places, adjust the library
X@@ -536,7 +539,11 @@
X     TK_SHARED_BUILD=1
X     TK_SHLIB_CFLAGS="${SHLIB_CFLAGS}"
X     TK_LIB_FILE=libtkstep${TCL_SHARED_LIB_SUFFIX}
X+    if test "X$PORTOBJFORMAT" = "Xelf"; then
X+    MAKE_LIB="\${SHLIB_LD} -o \${TK_LIB_FILE} -Wl,-soname,\${TK_LIB_FILE} \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${SHLIB_LD_LIBS}"
X+    else
X     MAKE_LIB="\${SHLIB_LD} -o \${TK_LIB_FILE} \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${SHLIB_LD_LIBS}"
X+    fi
X     RANLIB=":"
X else
X     TK_SHARED_BUILD=0
X@@ -647,10 +654,12 @@
X AC_SUBST(SHLIB_VERSION)
X AC_SUBST(TCL_BIN_DIR)
X AC_SUBST(TCL_BUILD_LIB_SPEC)
X+AC_SUBST(TCL_LIB_SPEC)
X AC_SUBST(TCL_DBGX)
X AC_SUBST(TCL_LIB_FLAG)
X AC_SUBST(TCL_SRC_DIR)
X AC_SUBST(TCL_VERSION)
X+AC_SUBST(TCL_L10N)
X AC_SUBST(TK_BUILD_LIB_SPEC)
X AC_SUBST(TK_CC_SEARCH_FLAGS)
X AC_SUBST(TK_LD_SEARCH_FLAGS)
END-of-tkstep80/patches/patch-aa
echo x - tkstep80/patches/patch-ab
sed 's/^X//' >tkstep80/patches/patch-ab << 'END-of-tkstep80/patches/patch-ab'
X--- Makefile.in.orig	Thu Mar 25 20:41:30 1999
X+++ Makefile.in	Thu Mar 25 20:57:00 1999
X@@ -56,7 +56,9 @@
X BIN_DIR =		$(exec_prefix)/bin
X 
X # Directory in which to install the include file tk.h:
X-INCLUDE_INSTALL_DIR =	$(INSTALL_ROOT)$(prefix)/include
X+INCLUDE_INSTALL_DIR =	$(INSTALL_ROOT)$(prefix)/include/tkstep$(VERSION)
X+GENERIC_INCLUDE_INSTALL_DIR = $(INCLUDE_INSTALL_DIR)/generic
X+UNIX_INCLUDE_INSTALL_DIR = $(INCLUDE_INSTALL_DIR)/unix
X 
X # Top-level directory for manual entries:
X MAN_INSTALL_DIR =	$(INSTALL_ROOT)$(prefix)/man
X@@ -72,6 +74,9 @@
X # Tcl commands implemented by Tk:
X MANN_INSTALL_DIR =	$(MAN_INSTALL_DIR)/mann
X 
X+# Directory in which to install sharedable other documents:
X+DOC_INSTALL_DIR =	$(INSTALL_ROOT)$(prefix)/share/doc/tk$(VERSION)
X+
X # The directory containing the Tcl sources and headers appropriate
X # for this version of Tk ("srcdir" will be replaced or has already
X # been replaced by the configure script):
X@@ -112,7 +117,7 @@
X 
X # Libraries to use when linking.  This definition is determined by the
X # configure script.
X-LIBS = @TCL_BUILD_LIB_SPEC@ @LIBS@ $(X11_LIB_SWITCHES) @DL_LIBS@ @MATH_LIBS@ @EXTRA_LIBS@
X+LIBS = @TCL_LIB_SPEC@ @LIBS@ $(X11_LIB_SWITCHES) @DL_LIBS@ @MATH_LIBS@ @EXTRA_LIBS@
X 
X CFLAGS = @CFLAGS@ @WITH_OPT@ @ENABLE_XPM@ @ENABLE_TIFF@ @ENABLE_DND@ @ENABLE_STEP@
X 
X@@ -150,7 +155,7 @@
X # "install" around;  better to use the install-sh script that comes
X # with the distribution, which is slower but guaranteed to work.
X 
X-INSTALL = @srcdir@/install-sh -c
X+INSTALL = install -c
X INSTALL_PROGRAM =	${INSTALL}
X INSTALL_DATA =		${INSTALL} -m 644
X 
X@@ -163,6 +168,8 @@
X TK_SHLIB_CFLAGS = @TK_SHLIB_CFLAGS@
X 
X TK_LIB_FILE = @TK_LIB_FILE@
X+TCL_L10N = @TCL_L10N@
X+TK_STATIC_LIB_FILE = libtkstep80$(TCL_L10N).a
X #TK_LIB_FILE = libtk.a
X 
X TK_LIB_FLAG = @TK_LIB_FLAG@
X@@ -334,6 +341,14 @@
X 	rm -f ${TK_LIB_FILE}
X 	@MAKE_LIB@
X 	$(RANLIB) ${TK_LIB_FILE}
X+.if ${PORTOBJFORMAT}X == elfX
X+	ln -sf ${TK_LIB_FILE} `echo ${TK_LIB_FILE} | sed 's/\.so.*$$/.so/'`
X+.endif
X+
X+$(TK_STATIC_LIB_FILE): $(OBJS)
X+	rm -f $(TK_STATIC_LIB_FILE)
X+	ar cr $(TK_STATIC_LIB_FILE) $(OBJS)
X+	$(RANLIB) $(TK_STATIC_LIB_FILE)
X 
X # Make target which outputs the list of the .o contained in the Tk lib
X # usefull to build a single big shared library containing Tcl/Tk and other
X@@ -383,13 +398,13 @@
X 	TK_LIBRARY=$(TOP_DIR)/library; export TK_LIBRARY; \
X 	./tktest
X 
X-install: install-binaries install-libraries install-demos install-man
X+install: install-binaries install-libraries install-demos
X 
X # Note: before running ranlib below, must cd to target directory because
X # some ranlibs write to current directory, and this might not always be
X # possible (e.g. if installing as root).
X 
X-install-binaries: $(TK_LIB_FILE) wishstep
X+install-binaries: $(TK_LIB_FILE) $(TK_STATIC_LIB_FILE) wishstep
X 	@for i in $(LIB_INSTALL_DIR) $(BIN_INSTALL_DIR) ; \
X 	    do \
X 	    if [ ! -d $$i ] ; then \
X@@ -403,13 +418,22 @@
X 	@$(INSTALL_DATA) $(TK_LIB_FILE) $(LIB_INSTALL_DIR)/$(TK_LIB_FILE)
X 	@(cd $(LIB_INSTALL_DIR); $(RANLIB) $(TK_LIB_FILE))
X 	@chmod 555 $(LIB_INSTALL_DIR)/$(TK_LIB_FILE)
X+.if ${PORTOBJFORMAT}X == elfX
X+	@(cd $(LIB_INSTALL_DIR); ln -sf ${TK_LIB_FILE} `echo ${TK_LIB_FILE} | sed 's/\.so.*$$/.so/'`)
X+.endif
X+	@echo "Installing $(TK_STATIC_LIB_FILE)"
X+	@$(INSTALL_DATA) $(TK_STATIC_LIB_FILE) $(LIB_INSTALL_DIR)/$(TK_STATIC_LIB_FILE)
X+	@(cd $(LIB_INSTALL_DIR); $(RANLIB) $(TK_STATIC_LIB_FILE))
X+	@chmod 555 $(LIB_INSTALL_DIR)/$(TK_STATIC_LIB_FILE)
X 	@echo "Installing wishstep"
X 	@$(INSTALL_PROGRAM) wishstep $(BIN_INSTALL_DIR)/wishstep$(VERSION)
X 	@echo "Installing tkStepConfig.sh"
X-	@$(INSTALL_DATA) tkConfig.sh $(LIB_INSTALL_DIR)/tkStepConfig.sh
X+	@mkdir -p $(LIB_INSTALL_DIR)/tkstep$(VERSION)
X+	@$(INSTALL_DATA) tkConfig.sh $(LIB_INSTALL_DIR)/tkstep$(VERSION)/tkStepConfig.sh
X 
X install-libraries:
X 	@for i in $(INSTALL_ROOT)$(prefix)/lib $(INCLUDE_INSTALL_DIR) \
X+		$(GENERIC_INCLUDE_INSTALL_DIR) $(UNIX_INCLUDE_INSTALL_DIR) \
X 		$(SCRIPT_INSTALL_DIR) $(SCRIPT_INSTALL_DIR)/images; \
X 	    do \
X 	    if [ ! -d $$i ] ; then \
X@@ -419,9 +443,19 @@
X 		else true; \
X 		fi; \
X 	    done;
X-	@echo "Installing tkstep.h"
X-	@$(INSTALL_DATA) $(GENERIC_DIR)/tk.h $(INCLUDE_INSTALL_DIR)/tkstep.h
X-	for i in $(SRC_DIR)/library/*.tcl $(SRC_DIR)/library/*.xbm $(SRC_DIR)/library/tclIndex $(SRC_DIR)/library/prolog.ps $(UNIX_DIR)/tkAppInit.c; \
X+	@echo "Installing headers"
X+	@for i in $(GENERIC_DIR)/*.h ; \
X+	    do \
X+	    echo "Installing $$i"; \
X+	    $(INSTALL_DATA) $$i $(GENERIC_INCLUDE_INSTALL_DIR); \
X+	    done;
X+	@for i in $(UNIX_DIR)/*.h ; \
X+	    do \
X+	    echo "Installing $$i"; \
X+	    $(INSTALL_DATA) $$i $(UNIX_INCLUDE_INSTALL_DIR); \
X+	    done;
X+	@ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tk.h $(INCLUDE_INSTALL_DIR)/tkstep.h
X+	for i in $(SRC_DIR)/library/*.tcl $(SRC_DIR)/library/tclIndex $(SRC_DIR)/library/prolog.ps $(UNIX_DIR)/tkAppInit.c; \
X 	    do \
X 	    echo "Installing $$i"; \
X 	    $(INSTALL_DATA) $$i $(SCRIPT_INSTALL_DIR); \
X@@ -446,7 +480,7 @@
X 		else true; \
X 		fi; \
X 	    done;
X-	@for i in $(SRC_DIR)/library/demos/*; \
X+	@for i in `echo $(SRC_DIR)/library/demos/* " "|sed 's/[^ ]*\.orig //g'`; \
X 	    do \
X 	    if [ -f $$i ] ; then \
X 		echo "Installing $$i"; \
X@@ -458,7 +492,7 @@
X 	    do \
X 	    chmod 755 $(SCRIPT_INSTALL_DIR)/demos/$$i; \
X 	    done;
X-	@for i in $(SRC_DIR)/library/demos/images/*; \
X+	@for i in `echo $(SRC_DIR)/library/demos/images/* " "|sed 's/[^ ]*\.orig //g'`; \
X 	    do \
X 	    if [ -f $$i ] ; then \
X 		echo "Installing $$i"; \
X@@ -479,10 +513,10 @@
X 	@cd $(SRC_DIR)/doc; for i in *.1; \
X 	    do \
X 	    echo "Installing doc/$$i"; \
X-	    rm -f $(MAN1_INSTALL_DIR)/$$i; \
X+	    rm -f $(MAN1_INSTALL_DIR)/$$i $(MAN1_INSTALL_DIR)/$$i.gz; \
X 	    sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
X-		    $$i > $(MAN1_INSTALL_DIR)/$$i; \
X-	    chmod 444 $(MAN1_INSTALL_DIR)/$$i; \
X+		    $$i | gzip -c > $(MAN1_INSTALL_DIR)/$$i.gz; \
X+	    chmod 444 $(MAN1_INSTALL_DIR)/$$i.gz; \
X 	    done;
X 	$(UNIX_DIR)/mkLinks $(MAN1_INSTALL_DIR)
X 	@cd $(SRC_DIR)/doc; for i in *.3; \
X@@ -490,19 +524,26 @@
X 	    echo "Installing doc/$$i"; \
X 	    rm -f $(MAN3_INSTALL_DIR)/$$i; \
X 	    sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
X-		    $$i > $(MAN3_INSTALL_DIR)/$$i; \
X-	    chmod 444 $(MAN3_INSTALL_DIR)/$$i; \
X+		    $$i |gzip -c > $(MAN3_INSTALL_DIR)/$$i.gz; \
X+	    chmod 444 $(MAN3_INSTALL_DIR)/$$i.gz; \
X 	    done;
X 	$(UNIX_DIR)/mkLinks $(MAN3_INSTALL_DIR)
X 	@cd $(SRC_DIR)/doc; for i in *.n; \
X 	    do \
X 	    echo "Installing doc/$$i"; \
X-	    rm -f $(MANN_INSTALL_DIR)/$$i; \
X+	    rm -f $(MANN_INSTALL_DIR)/$$i $(MANN_INSTALL_DIR)/$$i.gz; \
X 	    sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
X-		    $$i > $(MANN_INSTALL_DIR)/$$i; \
X-	    chmod 444 $(MANN_INSTALL_DIR)/$$i; \
X+		    $$i | gzip -c > $(MANN_INSTALL_DIR)/$$i.gz; \
X+	    chmod 444 $(MANN_INSTALL_DIR)/$$i.gz; \
X 	    done;
X 	$(UNIX_DIR)/mkLinks $(MANN_INSTALL_DIR)
X+	@echo "**********"
X+	@echo "IMPORTANT:"
X+	@echo "**********"
X+	@echo "tkStepConfig.sh in $(SCRIPT_INSTALL_DIR)/tkStepConfig.sh"
X+	@echo "tkstep.h        in $(INCLUDE_INSTALL_DIR)/tkstep.h"
X+	@echo "There are NOT default place, but good place to avoid"
X+	@echo "conflicting with another version of Tcl/Tks."
X 
X Makefile: $(UNIX_DIR)/Makefile.in
X 	$(SHELL) config.status
END-of-tkstep80/patches/patch-ab
echo c - tkstep80/scripts/
mkdir -p tkstep80/scripts/ > /dev/null 2>&1
echo x - tkstep80/scripts/post-configure
sed 's/^X//' >tkstep80/scripts/post-configure << 'END-of-tkstep80/scripts/post-configure'
X#!/bin/sh
X
Xdirs="."
X
Xfor d in ${dirs}; do
X    perl -pi -e '
X	s@^(prefix[ \t]*=).*$@$1\${PREFIX}@;
X	s@^(exec_prefix[ \t]*=).*$@$1\${PREFIX}@;
X	    ' ${WRKSRC}/${d}/Makefile
Xdone
END-of-tkstep80/scripts/post-configure
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905011005.TAA26603>