pkgsrc/x11/tk/Makefile

75 lines
3.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.51 2005/11/02 16:25:31 joerg Exp $
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.
2000-08-29 18:16:06 +02:00
DISTNAME= tk${TK_VERSION}-src
PKGNAME= tk-${TK_VERSION}
PKGREVISION= 2
CATEGORIES= x11 lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/}
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.
2000-08-29 18:16:06 +02:00
2003-07-18 00:50:55 +02:00
MAINTAINER= jwise@NetBSD.org
HOMEPAGE= http://www.tcl.tk/
COMMENT= Graphical toolkit for TCL
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.
2000-08-29 18:16:06 +02:00
.include "../../x11/tk/Makefile.version"
2004-01-05 12:17:10 +01:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}/${DISTNAME:C/-src//}/unix
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}/lib
CONFIGURE_ARGS+= --enable-threads
CONFIGURE_ENV+= LIB_RUNTIME_DIR=${PREFIX}/lib
MAKE_ENV+= TOUCH=${TOUCH:Q}
PTHREAD_OPTS+= require
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.
2000-08-29 18:16:06 +02:00
TEST_TARGET= test
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.
2000-08-29 18:16:06 +02:00
.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
2005-06-01 20:02:37 +02:00
.include "../../mk/x11.buildlink3.mk"
post-build:
${SED} \
-e "s|${WRKSRC}|${PREFIX}/lib|" \
-e "s|${WRKDIR}/${DISTNAME:C/-src//}|${PREFIX}/include/tk|" \
${WRKSRC}/tkConfig.sh > ${WRKSRC}/tkConfig.sh.tmp && \
${MV} ${WRKSRC}/tkConfig.sh.tmp ${WRKSRC}/tkConfig.sh
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.
2000-08-29 18:16:06 +02:00
post-install:
${RM} -f ${PREFIX}/bin/wish
cd ${PREFIX}/bin && ${LN} -s wish8.4 wish
${INSTALL_DATA_DIR} ${PREFIX}/include/tk
${INSTALL_DATA_DIR} ${PREFIX}/include/tk/generic
${INSTALL_DATA_DIR} ${PREFIX}/include/tk/unix
${INSTALL_DATA} ${WRKSRC}/../generic/default.h ${PREFIX}/include/tk/generic
Update to version 8.3.4 Taken from "changes" from the distribution (minus changes not relevant for NetBSD): 2001-04-04 (doc fixes) numerous doc corrections and clarifications. Update of READMEs. 2001-04-04 (bug fix) corrected reseting of service mode to only occur when it was set (hedin, hobbs) 2001-04-02 (bug fix) Checked for menu deletion before calling associated menu entry command. Fixed listbox, canvas and entry destruction to be more aware of current widget activity. (hobbs) 2001-03-30 (bug fix) handled the error case where a valid-looking but invalid identifier could be passed in certain event generate options causing a crash (hobbs) 2001-03-29 (bug fix) corrected handling of drag-selection (dejong) 2000-10-27 (feature enhancement) made [tk useinputmethods 1] the default for Tk (hobbs) 2000-09-29 (bug fix) corrected BadMatch errors when using Tk on multiple screens (hipp) 2000-08-18 (feature enhancement) Removed redundant call to DitherInstance (melski) 2001-08-24 (bug fix) correct several possible free memory reads and array bounds read errors reported by purify. (hobbs) 2001-08-27 (new feature) added call to Tcl_SetMainLoop which enables Tk to be loaded interactively into tclsh and have the event loop kick in correctly. (hobbs) 2001-08-28 (bug fix) fixed tk_chooseDirectory crash on Win95. (baker) 2001-08-28 (bug fix) removed 2 second 'raise' delay seen by some Unix window managers. (hobbs, baker) 2001-09-14 (bug fix) fixed memory leaks that occured if errors were thrown while initializing the channel for an image. (darley) 2001-10-04 (new feature) added enhanced bgerror dialog from Hipp. (hobbs) 2001-10-17 (bug fix) fixed file filtering in the motif file dialog (nelson)
2001-12-23 18:11:30 +01:00
${INSTALL_DATA} ${WRKSRC}/../generic/ks_names.h ${PREFIX}/include/tk/generic
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.
2000-08-29 18:16:06 +02:00
${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}/../generic/tkUndo.h ${PREFIX}/include/tk/generic
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.
2000-08-29 18:16:06 +02:00
${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
.include "../../mk/bsd.pkg.mk"