summaryrefslogtreecommitdiff
path: root/x11/tk/Makefile
diff options
context:
space:
mode:
authorjwise <jwise>2000-08-29 16:16:06 +0000
committerjwise <jwise>2000-08-29 16:16:06 +0000
commit99d5a34930b64490d5c1fa9a1731b5384256845e (patch)
tree7929d2cb26e9a1ab4ed5d164d9c58979937e54d2 /x11/tk/Makefile
parent2c514464103823d5670aeb6148d2c86358b7a2ed (diff)
downloadpkgsrc-99d5a34930b64490d5c1fa9a1731b5384256845e.tar.gz
Initial import of new pkgsrc/lang/tk (tk-8.3.2) package, partly derived
from the older pkgsrc/lang/tk80 (tk-8.0.5) package. This is an update of the tk package from version 8.0.5 to version 8.3.2, and also a slight change in the organization of tcl/tk packages. This will be added disabled to pkgsrc/x11/Makefile until I finish updating all tcl/tk-based packags. Changes from out-of-the-box tk-8.3.2: Both static and shared libtcl83.* are installed, thanks to the magic of libtool. Changes to the package since tk-8.3.2: A symlink to ${PREFIX}/bin/wish8.3 is installed as ${PREFIX}/bin/wish This change is designed to allow tk-using packages to not depend on any particular version of tk. public tk include files and the tk configuration information script are now installed in their standard places (${PREFIX}/include/tk*.h, and ${PREFIX}/lib/tkConfig.sh), and private tcl include files are now installed in ${PREFIX}/include/tk. This change allows tcl extension packages to work out of the box, and to not need modification when tcl and tk are updated. When extension package authors use the new libtclstubs*.a API, this even allows binary packages of dynamically- loadable tcl extensions to be used with newer versions of tcl without recompilation. Here are the new features in tk-8.3.x as opposed to 8.0.x. I am not including bug fixes as this represents about 18 months of them. Img patch from Nijtmans, et al was adopted. This includes a Tcl_Obj-based image command, support for binary in -data args, adds an alpha channel to all photo types, as well as GIF write capability. Major portions of Dash patch from Nijtmans, et al was adopted. This includes a Tcl_Obj-based canvas command, dashed canvas item support, enhanced canvas tag searching capabilities, pointer warping with event -warp, entry widget validation routines, -elide tag option for of the text widget (TkMan runs on 8.3 without a patch), several new canvas item arguments, as well as postscript printing support for images and windows in the canvas. Listboxes support a -listvariable and have a new itemconfigure command to color individual items. Extended "wm state" command to accept a state to set for the toplevel, and added support for the zoomed (maximized) state on Windows. Standard Unix dialogs have been updated to use color icons and have improved behavior. New "tk useinputmethods" command. This changes the behavior of Tk on X where X Input Methods (XIM) were recognized and used without question. With 8.3, they will be recognized and initialized, but not used unless XIM is turned on (tk useinputmethods 1). This should only affect users with special input methods, and the new default behavior should be more beneficial to the average user.
Diffstat (limited to 'x11/tk/Makefile')
-rw-r--r--x11/tk/Makefile54
1 files changed, 54 insertions, 0 deletions
diff --git a/x11/tk/Makefile b/x11/tk/Makefile
new file mode 100644
index 00000000000..681f8d55e3c
--- /dev/null
+++ b/x11/tk/Makefile
@@ -0,0 +1,54 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/08/29 16:16:06 jwise Exp $
+
+DISTNAME= tk8.3.2
+PKGNAME= tk-8.3.2
+CATEGORIES= x11
+MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/tcl8_3/
+
+MAINTAINER= jwise@netbsd.org
+HOMEPAGE= http://www.tcltk.com/
+
+DEPENDS+= tcl-8.3.2:../../lang/tcl
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/unix
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-tcl=${LOCALBASE}/lib
+
+USE_X11= yes
+
+USE_LIBTOOL= yes
+
+post-install:
+ cd ${PREFIX}/bin && ${LN} -s wish8.3 wish
+ ${MKDIR} ${PREFIX}/include/tk
+ ${MKDIR} ${PREFIX}/include/tk/generic
+ ${MKDIR} ${PREFIX}/include/tk/unix
+ ${INSTALL_DATA} ${WRKSRC}/../generic/tk.h ${PREFIX}/include/tk/generic
+ ${INSTALL_DATA} ${WRKSRC}/../generic/tk3d.h ${PREFIX}/include/tk/generic
+ ${INSTALL_DATA} ${WRKSRC}/../generic/tkButton.h ${PREFIX}/include/tk/generic
+ ${INSTALL_DATA} ${WRKSRC}/../generic/tkCanvas.h ${PREFIX}/include/tk/generic
+ ${INSTALL_DATA} ${WRKSRC}/../generic/tkColor.h ${PREFIX}/include/tk/generic
+ ${INSTALL_DATA} ${WRKSRC}/../generic/tkDecls.h ${PREFIX}/include/tk/generic
+ ${INSTALL_DATA} ${WRKSRC}/../generic/tkFileFilter.h ${PREFIX}/include/tk/generic
+ ${INSTALL_DATA} ${WRKSRC}/../generic/tkFont.h ${PREFIX}/include/tk/generic
+ ${INSTALL_DATA} ${WRKSRC}/../generic/tkInitScript.h ${PREFIX}/include/tk/generic
+ ${INSTALL_DATA} ${WRKSRC}/../generic/tkInt.h ${PREFIX}/include/tk/generic
+ ${INSTALL_DATA} ${WRKSRC}/../generic/tkIntDecls.h ${PREFIX}/include/tk/generic
+ ${INSTALL_DATA} ${WRKSRC}/../generic/tkIntPlatDecls.h ${PREFIX}/include/tk/generic
+ ${INSTALL_DATA} ${WRKSRC}/../generic/tkIntXlibDecls.h ${PREFIX}/include/tk/generic
+ ${INSTALL_DATA} ${WRKSRC}/../generic/tkMenu.h ${PREFIX}/include/tk/generic
+ ${INSTALL_DATA} ${WRKSRC}/../generic/tkMenubutton.h ${PREFIX}/include/tk/generic
+ ${INSTALL_DATA} ${WRKSRC}/../generic/tkPlatDecls.h ${PREFIX}/include/tk/generic
+ ${INSTALL_DATA} ${WRKSRC}/../generic/tkPort.h ${PREFIX}/include/tk/generic
+ ${INSTALL_DATA} ${WRKSRC}/../generic/tkScale.h ${PREFIX}/include/tk/generic
+ ${INSTALL_DATA} ${WRKSRC}/../generic/tkScrollbar.h ${PREFIX}/include/tk/generic
+ ${INSTALL_DATA} ${WRKSRC}/../generic/tkSelect.h ${PREFIX}/include/tk/generic
+ ${INSTALL_DATA} ${WRKSRC}/../generic/tkText.h ${PREFIX}/include/tk/generic
+ ${INSTALL_DATA} ${WRKSRC}/../unix/tkUnixDefault.h ${PREFIX}/include/tk/unix
+ ${INSTALL_DATA} ${WRKSRC}/../unix/tkUnixInt.h ${PREFIX}/include/tk/unix
+ ${INSTALL_DATA} ${WRKSRC}/../unix/tkUnixPort.h ${PREFIX}/include/tk/unix
+
+test:
+ cd ${WRKSRC}; ${SETENV} LIBTOOL=${LIBTOOL} PREFIX=${PREFIX} ${MAKE} test
+
+.include "../../mk/bsd.pkg.mk"