Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2003 23:51:37 +0600 (NOVT)
From:      Viktor Fomichev <vfom@narod.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47166: Tktable port
Message-ID:  <200301171751.h0HHpbiY032433@door.sicex.ru>

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

>Number:         47166
>Category:       ports
>Synopsis:       Tktable port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 17 10:00:17 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Viktor Fomichev
>Release:        FreeBSD 4.6.2-RELEASE-p6 i386
>Organization:
home user
>Environment:
System: FreeBSD cloyn.office.sice.ru 4.6.2-RELEASE-p6 FreeBSD 4.6.2-RELEASE-p6 #0: Wed Jan 8 12:58:00 NOVT 2003 vfom@cloyn.office.sice.ru:/usr/src/sys/compile/CLOYN i386


>Description:
	Tktable is a table/matrix wdget extension to tcl/tk.
>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:
#
#	tktable
#	tktable/Makefile
#	tktable/distinfo
#	tktable/pkg-comment
#	tktable/pkg-descr
#	tktable/pkg-plist
#	tktable/files
#	tktable/files/patch-Makefile.in
#	tktable/files/patch-demos
#
echo c - tktable
mkdir -p tktable > /dev/null 2>&1
echo x - tktable/Makefile
sed 's/^X//' >tktable/Makefile << 'END-of-tktable/Makefile'
X# New ports collection makefile for:	Tktable
X# Date created:		17 Jan 2003
X# Whom:			Viktor Fomichev <vfom@narod.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Tktable
XPORTVERSION=	2.7
XCATEGORIES=	x11-toolkits
XMASTER_SITES=	http://download.sourceforge.net/tktable/
XDISTNAME=	${PORTNAME}${PORTVERSION}
X
XMAINTAINER=	Jeff Hobbs  <jeffh@ActiveState.com>
X
XLIB_DEPENDS=	tk83.1:${PORTSDIR}/x11-toolkits/tk83
X
XWRKSRC=		${WRKDIR}/${PORTNAME}${PORTVERSION}/unix
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	--prefix=${PREFIX} --with-tcl=${PREFIX}/lib/tcl8.3 --with-tk=${PREFIX}/lib/tk8.3
X
XPLIST_SUB=	TKTABLE_VER=2.7
X
X.include <bsd.port.mk>
END-of-tktable/Makefile
echo x - tktable/distinfo
sed 's/^X//' >tktable/distinfo << 'END-of-tktable/distinfo'
XMD5 (Tktable2.7.tar.gz) = 1f6ef046f21b5195fa3f2ad4321668d7
END-of-tktable/distinfo
echo x - tktable/pkg-comment
sed 's/^X//' >tktable/pkg-comment << 'END-of-tktable/pkg-comment'
XTkTable is a table/matrix widget extension to tk/tcl.
END-of-tktable/pkg-comment
echo x - tktable/pkg-descr
sed 's/^X//' >tktable/pkg-descr << 'END-of-tktable/pkg-descr'
XTkTable is a table/matrix widget extension to tk/tcl.
XThe basic features of the widget are:
X
X * multi-line cells
X * support for embedded windows (one per cell)
X * row & column spanning
X * variable width columns / height rows (interactively resizable)
X * row and column titles
X * multiple data sources ((Tcl array || Tcl command) &| internal caching)
X * supports standard Tk reliefs, fonts, colors, etc.
X * x/y scrollbar support
X * 'tag' styles per row, column or cell to change visual appearance
X * in-cell editing - returns value back to data source
X * support for disabled (read-only) tables or cells (via tags)
X * multiple selection modes, with "active" cell
X * multiple drawing modes to get optimal performance for larger tables
X * optional 'flashes' when things update
X * cell validation support
X * Works everywhere Tk does (including Windows and Mac!)
X * Unicode support (Tk8.1+)
END-of-tktable/pkg-descr
echo x - tktable/pkg-plist
sed 's/^X//' >tktable/pkg-plist << 'END-of-tktable/pkg-plist'
Xlib/Tktable%%TKTABLE_VER%%/Tktable.so.%%TKTABLE_VER%%
Xlib/Tktable%%TKTABLE_VER%%/pkgIndex.tcl
Xlib/Tktable%%TKTABLE_VER%%/tkTable.tcl
Xman/mann/tkTable.n
Xshare/doc/Tktable%%TKTABLE_VER%%/tkTable.html
Xshare/examples/Tktable%%TKTABLE_VER%%/basic.tcl
Xshare/examples/Tktable%%TKTABLE_VER%%/buttons.tcl
Xshare/examples/Tktable%%TKTABLE_VER%%/command.tcl
Xshare/examples/Tktable%%TKTABLE_VER%%/debug.tcl
Xshare/examples/Tktable%%TKTABLE_VER%%/dynarows.tcl
Xshare/examples/Tktable%%TKTABLE_VER%%/loadtable.tcl
Xshare/examples/Tktable%%TKTABLE_VER%%/maxsize.tcl
Xshare/examples/Tktable%%TKTABLE_VER%%/spreadsheet.tcl
Xshare/examples/Tktable%%TKTABLE_VER%%/tcllogo.gif
Xshare/examples/Tktable%%TKTABLE_VER%%/valid.tcl
X@dirrm lib/Tktable%%TKTABLE_VER%%
X@dirrm share/doc/Tktable%%TKTABLE_VER%%
X@dirrm share/examples/Tktable%%TKTABLE_VER%%
END-of-tktable/pkg-plist
echo c - tktable/files
mkdir -p tktable/files > /dev/null 2>&1
echo x - tktable/files/patch-Makefile.in
sed 's/^X//' >tktable/files/patch-Makefile.in << 'END-of-tktable/files/patch-Makefile.in'
X--- Makefile.in.orig	Sun Jul  1 09:01:02 2001
X+++ Makefile.in	Thu Jan 17 07:29:41 2002
X@@ -92,8 +92,8 @@
X 
X ## I use this for helping hunt down the slightest error
X #TBL_CFLAGS	+= -g -Wall -Wno-implicit -Wshadow -pedantic \
X-		   -Wpointer-arith -Wmissing-prototypes \
X-		   -Wmissing-declarations -Wnested-externs -Winline
X+#		   -Wpointer-arith -Wmissing-prototypes \
X+#		   -Wmissing-declarations -Wnested-externs -Winline
X 
X ## Jeff's magic extra debug flag
X #TBL_CFLAGS	+= -DDEBUG
X@@ -125,7 +125,7 @@
X STATIC_LIB	= $(PACKAGE).a
X PKG_DIR		= $(PACKAGE)$(TBL_VERSION)
X STATIC_EXEC	= tablewish
X-DLL_DIR		= ${exec_prefix}/lib/$(PKG_DIR)
X+DLL_DIR		= ${prefix}/lib/$(PKG_DIR)
X RUN_DIR		= ${prefix}/lib/$(PKG_DIR)
X 
X CFLAGS		= -I. -I$(GENERIC_DIR) $(INCLUDES)\
X@@ -136,6 +136,8 @@
X 		  -DTBL_RUNTIME_DIR=\"$(RUN_DIR)\"
X 
X MAN_INSTALL_DIR = @mandir@/mann
X+HTML_INSTALL_DIR = ${prefix}/share/doc/$(PACKAGE)$(TBL_VERSION)
X+DEMO_INSTALL_DIR = ${prefix}/share/examples/$(PACKAGE)$(TBL_VERSION)
X 
X ##
X ## TARGETS
X@@ -212,10 +214,15 @@
X install: all
X 	if test ! -d "$(DLL_DIR)"; then mkdir "$(DLL_DIR)"; fi
X 	if test ! -d "$(RUN_DIR)"; then mkdir "$(RUN_DIR)"; fi
X+	if test ! -d "$(HTML_INSTALL_DIR)"; then mkdir "$(HTML_INSTALL_DIR)"; fi
X+	if test ! -d "$(DEMO_INSTALL_DIR)"; then mkdir "$(DEMO_INSTALL_DIR)"; fi
X 	$(INSTALL_PROGRAM) $(DLL) "$(DLL_DIR)/$(DLL).$(TBL_VERSION)"
X 	$(INSTALL_DATA) pkgIndex.tcl "$(DLL_DIR)/pkgIndex.tcl"
X 	$(INSTALL_DATA) $(LIB_DIR)/tkTable.tcl "$(RUN_DIR)/tkTable.tcl"
X 	$(INSTALL_DATA) $(DOC_DIR)/$(MANS) $(MAN_INSTALL_DIR)/
X+	$(INSTALL_DATA) $(DOC_DIR)/$(HTML_MANS) $(HTML_INSTALL_DIR)/
X+	$(INSTALL_DATA) $(DEMO_DIR)/*.tcl $(DEMO_DIR)/*.gif $(DEMO_INSTALL_DIR)/
X+	chmod a+x $(DEMO_INSTALL_DIR)/*.tcl
X 
X # Leaves behind created directories
X uninstall:
END-of-tktable/files/patch-Makefile.in
echo x - tktable/files/patch-demos
sed 's/^X//' >tktable/files/patch-demos << 'END-of-tktable/files/patch-demos'
X--- ../demos/basic.tcl.orig	Thu Mar 23 05:18:59 2000
X+++ ../demos/basic.tcl	Thu Jan 17 07:39:12 2002
X@@ -1,6 +1,6 @@
X #!/bin/sh
X # the next line restarts using wish \
X-exec wish "$0" ${1+"$@"}
X+exec wish8.3 "$0" ${1+"$@"}
X 
X ## basic.tcl
X ##
X--- ../demos/buttons.tcl.orig	Thu Mar 23 05:18:59 2000
X+++ ../demos/buttons.tcl	Wed Jan 16 12:02:47 2002
X@@ -1,6 +1,6 @@
X #!/bin/sh
X # next line is a comment in tcl \
X-exec wish "$0" ${1+"$@"}
X+exec wish8.3 "$0" ${1+"$@"}
X 
X ## buttons.tcl
X ##
X--- ../demos/command.tcl.orig	Thu Mar 23 05:18:59 2000
X+++ ../demos/command.tcl	Wed Jan 16 12:02:47 2002
X@@ -1,6 +1,6 @@
X #!/bin/sh
X # the next line restarts using wish \
X-	exec wish "$0" ${1+"$@"}
X+	exec wish8.3 "$0" ${1+"$@"}
X 
X ## command.tcl
X ##
X--- ../demos/debug.tcl.orig	Sat Aug 19 07:02:16 2000
X+++ ../demos/debug.tcl	Wed Jan 16 12:02:47 2002
X@@ -1,6 +1,6 @@
X #!/bin/sh
X # the next line restarts using wish \
X-exec wish "$0" ${1+"$@"}
X+exec wish8.3 "$0" ${1+"$@"}
X 
X ## version2.tcl
X ##
X--- ../demos/dynarows.tcl.orig	Thu Mar 23 05:18:59 2000
X+++ ../demos/dynarows.tcl	Wed Jan 16 12:02:48 2002
X@@ -1,6 +1,6 @@
X #!/bin/sh
X # the next line restarts using wish \
X-exec wish "$0" ${1+"$@"}
X+exec wish8.3 "$0" ${1+"$@"}
X 
X ## dynarows.tcl
X ##
X--- ../demos/maxsize.tcl.orig	Thu Mar 23 05:18:59 2000
X+++ ../demos/maxsize.tcl	Wed Jan 16 12:02:48 2002
X@@ -1,6 +1,6 @@
X #!/bin/sh
X # the next line restarts using wish \
X-exec wish "$0" ${1+"$@"}
X+exec wish8.3 "$0" ${1+"$@"}
X 
X ## maxsize.tcl
X ##
X--- ../demos/spreadsheet.tcl.orig	Thu Jan 17 07:37:39 2002
X+++ ../demos/spreadsheet.tcl	Thu Jan 17 07:37:45 2002
X@@ -1,6 +1,6 @@
X #!/bin/sh
X # the next line restarts using wish \
X-	exec wish "$0" ${1+"$@"}
X+	exec wish8.3 "$0" ${1+"$@"}
X 
X ## spreadsheet.tcl
X ##
X--- ../demos/valid.tcl.orig	Thu Mar 23 05:18:59 2000
X+++ ../demos/valid.tcl	Wed Jan 16 12:02:48 2002
X@@ -1,6 +1,6 @@
X #!/bin/sh
X # the next line restarts using wish \
X-exec wish "$0" ${1+"$@"}
X+exec wish8.3 "$0" ${1+"$@"}
X 
X ## valid.tcl
X ##
END-of-tktable/files/patch-demos
exit

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

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




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