import tktreectrl-2.2.9
tree widget extension for Tk A widget which displays items in a one- or two-dimensional arrangement. Items have a parent-child relationship with other items. Items have a set of states, which are boolean properties. Items may be spread about one or more columns. For each column of an item there is a style associated, which determines how to display the item's column taking into account the item's current state set. One column can be defined to display the data in a hierarchical structure. OK from sthen@, landry@
This commit is contained in:
parent
c5276a8f3b
commit
63faa5ff7f
47
x11/tktreectrl/Makefile
Normal file
47
x11/tktreectrl/Makefile
Normal file
@ -0,0 +1,47 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2010/07/09 16:43:11 sebastia Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= tree widget extension for Tk
|
||||
|
||||
DISTNAME= tktreectrl-2.2.9
|
||||
SHLIB_VERSION= 0.0
|
||||
SHARED_LIBS= treectrl22 ${SHLIB_VERSION}
|
||||
CATEGORIES= x11
|
||||
|
||||
HOMEPAGE= http://tktreectrl.sourceforge.net/
|
||||
|
||||
MAINTAINER= Sebastian Reitenbach <sebastia@openbsd.org>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tktreectrl/}
|
||||
|
||||
WANTLIB+= X11
|
||||
|
||||
MODULES= x11/tk
|
||||
BUILD_DEPENDS= ${MODTK_BUILD_DEPENDS}
|
||||
RUN_DEPENDS= ${MODTK_RUN_DEPENDS}
|
||||
|
||||
SEPARATE_BUILD= simple
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
||||
--with-tcl=${MODTCL_LIBDIR} \
|
||||
--with-tk=${MODTK_LIBDIR} \
|
||||
--datadir=${PREFIX}/share/examples \
|
||||
--enable-64bit \
|
||||
--enable-64bit-vis
|
||||
REGRESS_IS_INTERACTIVE= X11
|
||||
REGRESS_TARGET= test
|
||||
|
||||
SUBST_VARS= SHLIB_VERSION
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/configure
|
||||
${MODTCL_TCLSH_ADJ} ${WRKSRC}/demos/demo.tcl
|
||||
|
||||
.include <bsd.port.mk>
|
5
x11/tktreectrl/distinfo
Normal file
5
x11/tktreectrl/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (tktreectrl-2.2.9.tar.gz) = tvWoBeSjbNRky3j5GGLsFQ==
|
||||
RMD160 (tktreectrl-2.2.9.tar.gz) = 8IYwuMhRPopbEBqRcun05G9GyEE=
|
||||
SHA1 (tktreectrl-2.2.9.tar.gz) = xiXlRsn/W4IkyHZPm8BG67FKnec=
|
||||
SHA256 (tktreectrl-2.2.9.tar.gz) = 9kBIRKKWcmWXxOglvfyojD5iV94j5IdVC5CJ2zvcmPc=
|
||||
SIZE (tktreectrl-2.2.9.tar.gz) = 718999
|
48
x11/tktreectrl/patches/patch-Makefile_in
Normal file
48
x11/tktreectrl/patches/patch-Makefile_in
Normal file
@ -0,0 +1,48 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2010/07/09 16:43:11 sebastia Exp $
|
||||
Also install some demos and license files.
|
||||
--- Makefile.in.orig Sun Feb 24 23:22:10 2008
|
||||
+++ Makefile.in Sat Jun 19 00:30:03 2010
|
||||
@@ -75,6 +75,7 @@ datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
+docdir = @docdir@
|
||||
|
||||
DESTDIR =
|
||||
|
||||
@@ -189,7 +190,7 @@ doc-x:
|
||||
doc:
|
||||
@echo "No docs to build"
|
||||
|
||||
-install: all install-binaries install-libraries install-doc
|
||||
+install: all install-binaries install-libraries install-doc install-demos
|
||||
|
||||
install-binaries: binaries install-lib-binaries install-bin-binaries
|
||||
@mkdir -p $(DESTDIR)$(pkglibdir)
|
||||
@@ -216,15 +217,19 @@ install-libraries: libraries
|
||||
install-doc-x:
|
||||
@mkdir -p $(DESTDIR)$(mandir)/mann
|
||||
@echo "Installing documentation in $(DESTDIR)$(mandir)"
|
||||
- @for i in $(srcdir)/doc/*.n; do \
|
||||
- echo "Installing $$i"; \
|
||||
- rm -f $(DESTDIR)$(mandir)/mann/`basename $$i`; \
|
||||
- $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/mann ; \
|
||||
- done
|
||||
+ $(INSTALL_DATA) $(srcdir)/doc/*.n $(DESTDIR)$(mandir)/mann
|
||||
|
||||
install-doc: install-doc-x
|
||||
- mkdir -p $(DESTDIR)$(pkglibdir)/htmldoc
|
||||
- cp $(srcdir)/doc/*.html $(DESTDIR)$(pkglibdir)/htmldoc
|
||||
+ @echo "Installing documentation in $(DESTDIR)$(docdir)"
|
||||
+ mkdir -p $(DESTDIR)$(docdir)
|
||||
+ $(INSTALL_DATA) $(srcdir)/doc/*.html $(DESTDIR)$(docdir)
|
||||
+ $(INSTALL_DATA) $(srcdir)/license.terms $(DESTDIR)$(docdir)
|
||||
+
|
||||
+install-demos:
|
||||
+ mkdir -p $(DESTDIR)$(pkgdatadir)
|
||||
+ $(INSTALL_SCRIPT) $(srcdir)/demos/*.tcl $(DESTDIR)$(pkgdatadir)
|
||||
+ mkdir -p $(DESTDIR)$(pkgdatadir)/pics
|
||||
+ $(INSTALL_DATA) $(srcdir)/demos/pics/* $(DESTDIR)$(pkgdatadir)/pics
|
||||
|
||||
test: binaries libraries
|
||||
$(WISH) `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS) | cat
|
27
x11/tktreectrl/patches/patch-configure
Normal file
27
x11/tktreectrl/patches/patch-configure
Normal file
@ -0,0 +1,27 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2010/07/09 16:43:11 sebastia Exp $
|
||||
--- configure.orig Sun May 17 21:21:59 2009
|
||||
+++ configure Tue Dec 8 09:06:27 2009
|
||||
@@ -10182,13 +10182,7 @@ $as_echo "$tcl_cv_ld_elf" >&6; }
|
||||
TCL_LIB_VERSIONS_OK=nodots
|
||||
;;
|
||||
OpenBSD-*)
|
||||
- # OpenBSD/SPARC[64] needs -fPIC, -fpic will not do.
|
||||
- case `machine` in
|
||||
- sparc|sparc64)
|
||||
- SHLIB_CFLAGS="-fPIC";;
|
||||
- *)
|
||||
- SHLIB_CFLAGS="-fpic";;
|
||||
- esac
|
||||
+ SHLIB_CFLAGS="-fPIC"
|
||||
SHLIB_LD="${CC} -shared ${SHLIB_CFLAGS}"
|
||||
SHLIB_LD_LIBS='${LIBS}'
|
||||
SHLIB_SUFFIX=".so"
|
||||
@@ -10196,7 +10190,7 @@ $as_echo "$tcl_cv_ld_elf" >&6; }
|
||||
DL_LIBS=""
|
||||
CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
|
||||
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
|
||||
- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0'
|
||||
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}'
|
||||
{ $as_echo "$as_me:$LINENO: checking for ELF" >&5
|
||||
$as_echo_n "checking for ELF... " >&6; }
|
||||
if test "${tcl_cv_ld_elf+set}" = set; then
|
17
x11/tktreectrl/patches/patch-demos_demo_tcl
Normal file
17
x11/tktreectrl/patches/patch-demos_demo_tcl
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-demos_demo_tcl,v 1.1.1.1 2010/07/09 16:43:11 sebastia Exp $
|
||||
|
||||
XXX hand-rolled; CVS keyword in patch
|
||||
|
||||
--- demos/demo.tcl.orig Sun May 17 20:35:58 2009
|
||||
+++ demos/demo.tcl Fri Jul 9 11:01:42 2010
|
||||
@@ -1,2 +1,4 @@
|
||||
-#!/bin/wish84.exe
|
||||
+#! /bin/sh
|
||||
+# the next line restarts with wish \
|
||||
+exec tclsh8.5 "$0" ${1+"$@"}
|
||||
|
||||
@@ -6,3 +8,3 @@ set VERSION 2.2.9
|
||||
|
||||
-package require Tk 8.4
|
||||
+package require Tk
|
||||
|
7
x11/tktreectrl/pkg/DESCR
Normal file
7
x11/tktreectrl/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
||||
A widget which displays items in a one- or two-dimensional arrangement.
|
||||
Items have a parent-child relationship with other items. Items have a
|
||||
set of states, which are boolean properties. Items may be spread about
|
||||
one or more columns. For each column of an item there is a style
|
||||
associated, which determines how to display the item's column taking
|
||||
into account the item's current state set. One column can be defined to
|
||||
display the data in a hierarchical structure.
|
2
x11/tktreectrl/pkg/PFRAG.shared
Normal file
2
x11/tktreectrl/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2010/07/09 16:43:11 sebastia Exp $
|
||||
@lib lib/treectrl2.2.9/libtreectrl22.so.${LIBtreectrl22_VERSION}
|
81
x11/tktreectrl/pkg/PLIST
Normal file
81
x11/tktreectrl/pkg/PLIST
Normal file
@ -0,0 +1,81 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/07/09 16:43:11 sebastia Exp $
|
||||
%%SHARED%%
|
||||
lib/treectrl2.2.9/
|
||||
lib/treectrl2.2.9/filelist-bindings.tcl
|
||||
lib/treectrl2.2.9/pkgIndex.tcl
|
||||
lib/treectrl2.2.9/treectrl.tcl
|
||||
@man man/mann/treectrl.n
|
||||
share/doc/What's New in TkTreeCtrl.html
|
||||
share/doc/license.terms
|
||||
share/doc/treectrl.html
|
||||
share/examples/treectrl2.2.9/
|
||||
share/examples/treectrl2.2.9/biglist.tcl
|
||||
share/examples/treectrl2.2.9/bitmaps.tcl
|
||||
share/examples/treectrl2.2.9/column-lock.tcl
|
||||
share/examples/treectrl2.2.9/demo.tcl
|
||||
share/examples/treectrl2.2.9/explorer.tcl
|
||||
share/examples/treectrl2.2.9/firefox.tcl
|
||||
share/examples/treectrl2.2.9/help.tcl
|
||||
share/examples/treectrl2.2.9/imovie.tcl
|
||||
share/examples/treectrl2.2.9/layout.tcl
|
||||
share/examples/treectrl2.2.9/mailwasher.tcl
|
||||
share/examples/treectrl2.2.9/mycomputer.tcl
|
||||
share/examples/treectrl2.2.9/outlook-folders.tcl
|
||||
share/examples/treectrl2.2.9/outlook-newgroup.tcl
|
||||
share/examples/treectrl2.2.9/pics/
|
||||
share/examples/treectrl2.2.9/pics/big-dll.gif
|
||||
share/examples/treectrl2.2.9/pics/big-exe.gif
|
||||
share/examples/treectrl2.2.9/pics/big-file.gif
|
||||
share/examples/treectrl2.2.9/pics/big-folder.gif
|
||||
share/examples/treectrl2.2.9/pics/big-txt.gif
|
||||
share/examples/treectrl2.2.9/pics/checked.gif
|
||||
share/examples/treectrl2.2.9/pics/file.gif
|
||||
share/examples/treectrl2.2.9/pics/folder-closed.gif
|
||||
share/examples/treectrl2.2.9/pics/folder-open.gif
|
||||
share/examples/treectrl2.2.9/pics/help-book-closed.gif
|
||||
share/examples/treectrl2.2.9/pics/help-book-open.gif
|
||||
share/examples/treectrl2.2.9/pics/help-page.gif
|
||||
share/examples/treectrl2.2.9/pics/imovie-01.gif
|
||||
share/examples/treectrl2.2.9/pics/imovie-02.gif
|
||||
share/examples/treectrl2.2.9/pics/imovie-03.gif
|
||||
share/examples/treectrl2.2.9/pics/imovie-04.gif
|
||||
share/examples/treectrl2.2.9/pics/imovie-05.gif
|
||||
share/examples/treectrl2.2.9/pics/imovie-06.gif
|
||||
share/examples/treectrl2.2.9/pics/imovie-07.gif
|
||||
share/examples/treectrl2.2.9/pics/internet-check-off.gif
|
||||
share/examples/treectrl2.2.9/pics/internet-check-on.gif
|
||||
share/examples/treectrl2.2.9/pics/internet-print.gif
|
||||
share/examples/treectrl2.2.9/pics/internet-radio-off.gif
|
||||
share/examples/treectrl2.2.9/pics/internet-radio-on.gif
|
||||
share/examples/treectrl2.2.9/pics/internet-search.gif
|
||||
share/examples/treectrl2.2.9/pics/internet-security.gif
|
||||
share/examples/treectrl2.2.9/pics/mac-collapse.gif
|
||||
share/examples/treectrl2.2.9/pics/mac-expand.gif
|
||||
share/examples/treectrl2.2.9/pics/outlook-arrow.gif
|
||||
share/examples/treectrl2.2.9/pics/outlook-clip.gif
|
||||
share/examples/treectrl2.2.9/pics/outlook-deleted.gif
|
||||
share/examples/treectrl2.2.9/pics/outlook-draft.gif
|
||||
share/examples/treectrl2.2.9/pics/outlook-folder.gif
|
||||
share/examples/treectrl2.2.9/pics/outlook-group.gif
|
||||
share/examples/treectrl2.2.9/pics/outlook-inbox.gif
|
||||
share/examples/treectrl2.2.9/pics/outlook-local.gif
|
||||
share/examples/treectrl2.2.9/pics/outlook-main.gif
|
||||
share/examples/treectrl2.2.9/pics/outlook-outbox.gif
|
||||
share/examples/treectrl2.2.9/pics/outlook-read-2.gif
|
||||
share/examples/treectrl2.2.9/pics/outlook-read.gif
|
||||
share/examples/treectrl2.2.9/pics/outlook-sent.gif
|
||||
share/examples/treectrl2.2.9/pics/outlook-server.gif
|
||||
share/examples/treectrl2.2.9/pics/outlook-unread.gif
|
||||
share/examples/treectrl2.2.9/pics/outlook-watch.gif
|
||||
share/examples/treectrl2.2.9/pics/sky.gif
|
||||
share/examples/treectrl2.2.9/pics/small-dll.gif
|
||||
share/examples/treectrl2.2.9/pics/small-exe.gif
|
||||
share/examples/treectrl2.2.9/pics/small-file.gif
|
||||
share/examples/treectrl2.2.9/pics/small-folder.gif
|
||||
share/examples/treectrl2.2.9/pics/small-txt.gif
|
||||
share/examples/treectrl2.2.9/pics/unchecked.gif
|
||||
share/examples/treectrl2.2.9/random.tcl
|
||||
share/examples/treectrl2.2.9/span.tcl
|
||||
share/examples/treectrl2.2.9/style-editor.tcl
|
||||
share/examples/treectrl2.2.9/textvariable.tcl
|
||||
share/examples/treectrl2.2.9/www-options.tcl
|
Loading…
x
Reference in New Issue
Block a user