aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/tk80
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-08-21 04:00:00 +0800
committerjkh <jkh@FreeBSD.org>1997-08-21 04:00:00 +0800
commit9f2fa6c4745b8aaee723e6fd5c410d6e8bfa5206 (patch)
tree039a55542909e0ddd64b3a18a20a2089c62a7771 /x11-toolkits/tk80
parentefae08a7bea648e339524bf897041bc22919192f (diff)
downloadfreebsd-ports-gnome-9f2fa6c4745b8aaee723e6fd5c410d6e8bfa5206.tar.gz
freebsd-ports-gnome-9f2fa6c4745b8aaee723e6fd5c410d6e8bfa5206.tar.zst
freebsd-ports-gnome-9f2fa6c4745b8aaee723e6fd5c410d6e8bfa5206.zip
This is the port of tk8.0 to go along with the tcl8.0 port.
Note that this requires the presence of the tcl port, e.g. it needs portions of the unpacked tcl distribution sources. Some unfortunate hackery for this was therefore required in the Makefile.
Diffstat (limited to 'x11-toolkits/tk80')
-rw-r--r--x11-toolkits/tk80/Makefile41
-rw-r--r--x11-toolkits/tk80/distinfo1
-rw-r--r--x11-toolkits/tk80/files/patch-aa11
-rw-r--r--x11-toolkits/tk80/files/patch-ab82
-rw-r--r--x11-toolkits/tk80/pkg-comment1
-rw-r--r--x11-toolkits/tk80/pkg-descr9
-rw-r--r--x11-toolkits/tk80/pkg-plist230
7 files changed, 375 insertions, 0 deletions
diff --git a/x11-toolkits/tk80/Makefile b/x11-toolkits/tk80/Makefile
new file mode 100644
index 000000000000..946170ababf6
--- /dev/null
+++ b/x11-toolkits/tk80/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: tk8.0
+# Version required: tk8.0
+# Date created: 19 August 1997
+# Whom: jkh
+#
+# $Id$
+#
+
+DISTNAME= tk8.0
+PKGNAME= tk-8.0
+CATEGORIES= x11
+MASTER_SITES= ftp://ftp.sunlabs.com/pub/tcl/
+
+MAINTAINER= jkh@Freebsd.ORG
+
+LIB_DEPENDS= tcl80\\.1\\.:${PORTSDIR}/lang/tcl80
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/unix
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-shared
+CONFIGURE_ENV= PORTSDIR=${PORTSDIR}
+
+# This is totally vile and gross, but using something like BUILD_DEPENDS
+# instead for this would cause a gratuitous rebuild/reinstall for what is
+# really one of those "I just need some of your bits" cases."
+pre-configure:
+ @if [ ! -d ${PORTSDIR}/lang/tcl80 ]; then \
+ echo "Sorry, this port only works when ${PORTSDIR}/lang/tcl80 is also"; \
+ echo "available. Please correct this problem and try again."; \
+ exit 1; \
+ fi
+ @echo Unpacking and configuring tcl80 sources...
+ @cd ${PORTSDIR}/lang/tcl80 && make configure ECHO_MSG="echo >/dev/null"
+
+post-install:
+ ${LDCONFIG} -m ${PREFIX}/lib
+
+test:
+ cd ${WRKSRC}; make test
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/tk80/distinfo b/x11-toolkits/tk80/distinfo
new file mode 100644
index 000000000000..347bde24eae4
--- /dev/null
+++ b/x11-toolkits/tk80/distinfo
@@ -0,0 +1 @@
+MD5 (tk8.0.tar.gz) = 489cdb76937d05aaec4ee506ba15d7dc
diff --git a/x11-toolkits/tk80/files/patch-aa b/x11-toolkits/tk80/files/patch-aa
new file mode 100644
index 000000000000..e031eed3122b
--- /dev/null
+++ b/x11-toolkits/tk80/files/patch-aa
@@ -0,0 +1,11 @@
+--- configure.orig Wed Aug 20 03:40:08 1997
++++ configure Wed Aug 20 03:40:21 1997
+@@ -662,7 +662,7 @@
+ if test -n "$withval"; then
+ TCL_BIN_DIR=$withval
+ else
+- TCL_BIN_DIR=`cd ../../tcl8.0/unix; pwd`
++ TCL_BIN_DIR=`cd ../../../../../lang/tcl80/work/tcl8.0/unix; pwd`
+ fi
+
+ if test ! -d $TCL_BIN_DIR; then
diff --git a/x11-toolkits/tk80/files/patch-ab b/x11-toolkits/tk80/files/patch-ab
new file mode 100644
index 000000000000..caed3ac71d9e
--- /dev/null
+++ b/x11-toolkits/tk80/files/patch-ab
@@ -0,0 +1,82 @@
+--- Makefile.in.orig Fri Aug 15 13:17:51 1997
++++ Makefile.in Wed Aug 20 11:35:31 1997
+@@ -56,7 +56,7 @@
+ 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/tk$(VERSION)
+
+ # Top-level directory for manual entries:
+ MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man
+@@ -94,11 +94,11 @@
+
+ # 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@ -lc
++LIBS = -L${PREFIX}/lib -ltcl80 @LIBS@ $(X11_LIB_SWITCHES) @DL_LIBS@ @MATH_LIBS@ -lc
+
+ # To change the compiler switches, for example to change from -O
+ # to -g, change the following line:
+-CFLAGS = -O
++CFLAGS = @CFLAGS@
+
+ # To turn off the security checks that disallow incoming sends when
+ # the X server appears to be insecure, reverse the comments on the
+@@ -134,7 +134,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
+
+@@ -357,7 +357,8 @@
+ @echo "Installing wish"
+ @$(INSTALL_PROGRAM) wish $(BIN_INSTALL_DIR)/wish$(VERSION)
+ @echo "Installing tkConfig.sh"
+- @$(INSTALL_DATA) tkConfig.sh $(LIB_INSTALL_DIR)/tkConfig.sh
++ @mkdir -p $(LIB_INSTALL_DIR)/tk$(VERSION)
++ @$(INSTALL_DATA) tkConfig.sh $(LIB_INSTALL_DIR)/tk$(VERSION)/tkConfig.sh
+
+ install-libraries:
+ @for i in $(INSTALL_ROOT)$(prefix)/lib $(INCLUDE_INSTALL_DIR) \
+@@ -430,28 +431,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)
+
diff --git a/x11-toolkits/tk80/pkg-comment b/x11-toolkits/tk80/pkg-comment
new file mode 100644
index 000000000000..ec2552801eb7
--- /dev/null
+++ b/x11-toolkits/tk80/pkg-comment
@@ -0,0 +1 @@
+Graphical toolkit for TCL.
diff --git a/x11-toolkits/tk80/pkg-descr b/x11-toolkits/tk80/pkg-descr
new file mode 100644
index 000000000000..afdf6fe9e2f1
--- /dev/null
+++ b/x11-toolkits/tk80/pkg-descr
@@ -0,0 +1,9 @@
+This package contains the binary release of Tk version 8.0, a GUI
+toolkit for Tcl.
+
+The best way to get started with Tcl is to read ``Tcl and the Tk
+Toolkit'' by John K. Ousterhout, Addison-Wesley, ISBN 0-201-63337-X.
+
+A full set of manual pages is also provided with this package.
+
+NOTE: This kit requires a Tcl8.0 binary kit.
diff --git a/x11-toolkits/tk80/pkg-plist b/x11-toolkits/tk80/pkg-plist
new file mode 100644
index 000000000000..c948927a5f65
--- /dev/null
+++ b/x11-toolkits/tk80/pkg-plist
@@ -0,0 +1,230 @@
+bin/wish8.0
+include/tk8.0/tk.h
+man/man1/wish.1.gz
+man/man3/FontId.3.gz
+man/man3/GetFont.3.gz
+man/man3/MeasureChar.3.gz
+man/man3/GetGC.3.gz
+man/man3/TextLayout.3.gz
+man/man3/Name.3.gz
+man/man3/3DBorder.3.gz
+man/man3/BindTable.3.gz
+man/man3/CanvPsY.3.gz
+man/man3/CanvTkwin.3.gz
+man/man3/CanvTxtInfo.3.gz
+man/man3/Clipboard.3.gz
+man/man3/ClrSelect.3.gz
+man/man3/GetImage.3.gz
+man/man3/ConfigWidg.3.gz
+man/man3/ConfigWind.3.gz
+man/man3/CoordToWin.3.gz
+man/man3/CrtErrHdlr.3.gz
+man/man3/CrtGenHdlr.3.gz
+man/man3/CrtImgType.3.gz
+man/man3/CrtItemType.3.gz
+man/man3/CrtPhImgFmt.3.gz
+man/man3/CrtSelHdlr.3.gz
+man/man3/CrtWindow.3.gz
+man/man3/DeleteImg.3.gz
+man/man3/DrawFocHlt.3.gz
+man/man3/EventHndlr.3.gz
+man/man3/FindPhoto.3.gz
+man/man3/FreeXId.3.gz
+man/man3/GeomReq.3.gz
+man/man3/GetAnchor.3.gz
+man/man3/GetBitmap.3.gz
+man/man3/GetCapStyl.3.gz
+man/man3/GetClrmap.3.gz
+man/man3/GetColor.3.gz
+man/man3/GetCursor.3.gz
+man/man3/GetJoinStl.3.gz
+man/man3/GetJustify.3.gz
+man/man3/GetOption.3.gz
+man/man3/GetPixels.3.gz
+man/man3/GetPixmap.3.gz
+man/man3/GetRelief.3.gz
+man/man3/GetRootCrd.3.gz
+man/man3/GetScroll.3.gz
+man/man3/GetSelect.3.gz
+man/man3/GetUid.3.gz
+man/man3/GetVRoot.3.gz
+man/man3/GetVisual.3.gz
+man/man3/HandleEvent.3.gz
+man/man3/IdToWindow.3.gz
+man/man3/ImgChanged.3.gz
+man/man3/InternAtom.3.gz
+man/man3/MainLoop.3.gz
+man/man3/MainWin.3.gz
+man/man3/MaintGeom.3.gz
+man/man3/ManageGeom.3.gz
+man/man3/MapWindow.3.gz
+man/man3/MoveToplev.3.gz
+man/man3/NameOfImg.3.gz
+man/man3/OwnSelect.3.gz
+man/man3/ParseArgv.3.gz
+man/man3/QWinEvent.3.gz
+man/man3/Restack.3.gz
+man/man3/RestrictEv.3.gz
+man/man3/SetAppName.3.gz
+man/man3/SetClass.3.gz
+man/man3/SetGrid.3.gz
+man/man3/SetVisual.3.gz
+man/man3/StrictMotif.3.gz
+man/man3/Tk_Init.3.gz
+man/man3/Tk_Main.3.gz
+man/man3/WindowId.3.gz
+man/mann/chooseColor.n.gz
+man/mann/getOpenFile.n.gz
+man/mann/event.n.gz
+man/mann/font.n.gz
+man/mann/messageBox.n.gz
+man/mann/bell.n.gz
+man/mann/bind.n.gz
+man/mann/bindtags.n.gz
+man/mann/bitmap.n.gz
+man/mann/button.n.gz
+man/mann/canvas.n.gz
+man/mann/checkbutton.n.gz
+man/mann/clipboard.n.gz
+man/mann/destroy.n.gz
+man/mann/dialog.n.gz
+man/mann/entry.n.gz
+man/mann/focus.n.gz
+man/mann/focusNext.n.gz
+man/mann/frame.n.gz
+man/mann/grab.n.gz
+man/mann/grid.n.gz
+man/mann/image.n.gz
+man/mann/label.n.gz
+man/mann/listbox.n.gz
+man/mann/loadTk.n.gz
+man/mann/lower.n.gz
+man/mann/menu.n.gz
+man/mann/menubar.n.gz
+man/mann/menubutton.n.gz
+man/mann/message.n.gz
+man/mann/option.n.gz
+man/mann/optionMenu.n.gz
+man/mann/options.n.gz
+man/mann/pack-old.n.gz
+man/mann/pack.n.gz
+man/mann/palette.n.gz
+man/mann/photo.n.gz
+man/mann/place.n.gz
+man/mann/popup.n.gz
+man/mann/radiobutton.n.gz
+man/mann/raise.n.gz
+man/mann/scale.n.gz
+man/mann/scrollbar.n.gz
+man/mann/selection.n.gz
+man/mann/send.n.gz
+man/mann/text.n.gz
+man/mann/tk.n.gz
+man/mann/tkerror.n.gz
+man/mann/tkvars.n.gz
+man/mann/tkwait.n.gz
+man/mann/toplevel.n.gz
+man/mann/winfo.n.gz
+man/mann/wm.n.gz
+lib/tk8.0/demos/images/earth.gif
+lib/tk8.0/demos/images/earthris.gif
+lib/tk8.0/demos/images/face.bmp
+lib/tk8.0/demos/images/flagdown.bmp
+lib/tk8.0/demos/images/flagup.bmp
+lib/tk8.0/demos/images/gray25.bmp
+lib/tk8.0/demos/images/letters.bmp
+lib/tk8.0/demos/images/noletter.bmp
+lib/tk8.0/demos/images/pattern.bmp
+lib/tk8.0/demos/images/tcllogo.gif
+lib/tk8.0/demos/images/teapot.ppm
+lib/tk8.0/demos/README
+lib/tk8.0/demos/arrow.tcl
+lib/tk8.0/demos/bind.tcl
+lib/tk8.0/demos/bitmap.tcl
+lib/tk8.0/demos/browse
+lib/tk8.0/demos/button.tcl
+lib/tk8.0/demos/check.tcl
+lib/tk8.0/demos/clrpick.tcl
+lib/tk8.0/demos/colors.tcl
+lib/tk8.0/demos/cscroll.tcl
+lib/tk8.0/demos/ctext.tcl
+lib/tk8.0/demos/dialog1.tcl
+lib/tk8.0/demos/dialog2.tcl
+lib/tk8.0/demos/entry1.tcl
+lib/tk8.0/demos/entry2.tcl
+lib/tk8.0/demos/filebox.tcl
+lib/tk8.0/demos/floor.tcl
+lib/tk8.0/demos/form.tcl
+lib/tk8.0/demos/hello
+lib/tk8.0/demos/hscale.tcl
+lib/tk8.0/demos/icon.tcl
+lib/tk8.0/demos/image1.tcl
+lib/tk8.0/demos/image2.tcl
+lib/tk8.0/demos/items.tcl
+lib/tk8.0/demos/ixset
+lib/tk8.0/demos/label.tcl
+lib/tk8.0/demos/license.terms
+lib/tk8.0/demos/menu.tcl
+lib/tk8.0/demos/msgbox.tcl
+lib/tk8.0/demos/plot.tcl
+lib/tk8.0/demos/puzzle.tcl
+lib/tk8.0/demos/radio.tcl
+lib/tk8.0/demos/rmt
+lib/tk8.0/demos/rolodex
+lib/tk8.0/demos/ruler.tcl
+lib/tk8.0/demos/sayings.tcl
+lib/tk8.0/demos/search.tcl
+lib/tk8.0/demos/square
+lib/tk8.0/demos/states.tcl
+lib/tk8.0/demos/style.tcl
+lib/tk8.0/demos/tclIndex
+lib/tk8.0/demos/tcolor
+lib/tk8.0/demos/text.tcl
+lib/tk8.0/demos/timer
+lib/tk8.0/demos/twind.tcl
+lib/tk8.0/demos/vscale.tcl
+lib/tk8.0/demos/widget
+lib/tk8.0/demos/menubu.tcl
+lib/tk8.0/bgerror.tcl
+lib/tk8.0/button.tcl
+lib/tk8.0/clrpick.tcl
+lib/tk8.0/comdlg.tcl
+lib/tk8.0/console.tcl
+lib/tk8.0/dialog.tcl
+lib/tk8.0/entry.tcl
+lib/tk8.0/focus.tcl
+lib/tk8.0/listbox.tcl
+lib/tk8.0/menu.tcl
+lib/tk8.0/msgbox.tcl
+lib/tk8.0/obsolete.tcl
+lib/tk8.0/optMenu.tcl
+lib/tk8.0/palette.tcl
+lib/tk8.0/scale.tcl
+lib/tk8.0/scrlbar.tcl
+lib/tk8.0/tearoff.tcl
+lib/tk8.0/text.tcl
+lib/tk8.0/tk.tcl
+lib/tk8.0/tkfbox.tcl
+lib/tk8.0/xmfbox.tcl
+lib/tk8.0/tclIndex
+lib/tk8.0/prolog.ps
+lib/tk8.0/tkAppInit.c
+lib/tk8.0/images/README
+lib/tk8.0/images/logo100.gif
+lib/tk8.0/images/logo64.gif
+lib/tk8.0/images/logoLarge.gif
+lib/tk8.0/images/logoMed.gif
+lib/tk8.0/images/pwrdLogo100.gif
+lib/tk8.0/images/pwrdLogo150.gif
+lib/tk8.0/images/pwrdLogo175.gif
+lib/tk8.0/images/pwrdLogo200.gif
+lib/tk8.0/images/pwrdLogo75.gif
+lib/tk8.0/safetk.tcl
+lib/tk8.0/tkConfig.sh
+lib/libtk80.so.1.0
+@exec /sbin/ldconfig -m %B
+@dirrm lib/tk8.0/demos/images
+@dirrm lib/tk8.0/demos
+@dirrm lib/tk8.0/images
+@dirrm lib/tk8.0
+@dirrm include/tk8.0