pkgsrc/lang/tk-tclX/Makefile

93 lines
2.7 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.34 2007/01/07 09:13:57 rillig Exp $
#
- Update {tcl,tk}-tclX to 8.3.5. - Bl3ify. - Enable pkgviews installation. OK'ed by jwise@, the maintainer. Changes since 8.2: * got "make buildhelp" working * tcl/generic/tclXgeneral.c (TclX_EchoObjCmd): use encoding aware functions in 8.1+. [Bug #514053] * win/Makefile.in: * win/configure.in: * win/configure: Changed to use TCL_LIBS and TK_LIBS as the source for the list of Windows libraries to link against. Fixes #501990. * tcl/generic/tclXlib.c (MakeAbsFile): Replaced a call to the internal 'TclpGetCwd' with an access to the public API 'Tcl_GetCwd'. [457266]. Reported by Vincent Darley. * doc/TclX.n: * tcl/generic/tclXoscmds.c: allowed sleep to accept double values, to match the Expect sleep command. This prevents conflicts that depended on the order of package requires. [Patch #444332] * unix/tools/tclmanpages: Added "re_syntax.n" to the list of processed manpages [#405956]. * All of the changes below are there to fix bug [418295]. * tcl/generic/tclXoscmds.c (TclX_OsCmdsInit): "system" and "sleep" now use the new command creation procedure. * tcl/generic/tclXprocess.c (TclX_ProcessInit): "fork" and "wait" now use the new command creation procedure. * tcl/generic/tclXutil.c (TclX_CreateObjCommand): Added the implementation of this new procedure. * tcl/generic/tclExtdInt.h: Added TclX_CreateObjCommand to encapsulate the logic for the creation of commands FOO and tclx_FOO. * tcl/generic/tclXlist.c (TclX_LassignObjCmd): Added TCL_LEAVE_ERR_MSG to call of 'Tcl_SetVar2Ex'. This fixes the bug [227478]. * tcl/generic/tclXgeneral.c (TclX_LoopObjCmd): Changed 'Tcl_AppendStringsToObj' into 'Tcl_AddErrorInfo'. Fixes bug [226388]. Associated patch is [403050]. No need to extend the testsuite, it already contained a test exercising the bug. * tcl/unix/Makefile.in: * tk/unix/Makefile.in: Fixed bogus "test -f" on the new HELP_DIR directory, which should be "test -d". * win/Makefile.in - fixed because of new definition of TCL_SRC_DIR and TK_SRC_DIR * Changed the HELP_DIR to be configurable so I could have parallel builds not all trying to create the same help files. * tcl/win/configure.in, common.bc, common.vc Fixed version number to 8.3 * {tcl,tk}/unix/Makefile.in, tweaks to get references to LIB_RUNTIME_DIR properly expanded on irix builds. Also added BUILDHELP macro that is conditional on nroff being present so we don't try to build help files on systems with out nroff. * tcl/win/tclXAppInit.c, tk/generic/tkXshell.c, tk/win/tkXAppInit.c - turn off USE_TCL_STUBS * win/Makefile.in, win/configure.in: Cleanup use of stubs library. * tcl/win/tclXwinOS.c (TclXOSkill): Added support for "kill" command on Windows platforms.
2004-05-14 00:06:03 +02:00
DISTNAME= tclx8.3.5-src
PKGNAME= tk-tclX-8.3.5
PKGREVISION= 3
CATEGORIES= lang tcl tk
- Update {tcl,tk}-tclX to 8.3.5. - Bl3ify. - Enable pkgviews installation. OK'ed by jwise@, the maintainer. Changes since 8.2: * got "make buildhelp" working * tcl/generic/tclXgeneral.c (TclX_EchoObjCmd): use encoding aware functions in 8.1+. [Bug #514053] * win/Makefile.in: * win/configure.in: * win/configure: Changed to use TCL_LIBS and TK_LIBS as the source for the list of Windows libraries to link against. Fixes #501990. * tcl/generic/tclXlib.c (MakeAbsFile): Replaced a call to the internal 'TclpGetCwd' with an access to the public API 'Tcl_GetCwd'. [457266]. Reported by Vincent Darley. * doc/TclX.n: * tcl/generic/tclXoscmds.c: allowed sleep to accept double values, to match the Expect sleep command. This prevents conflicts that depended on the order of package requires. [Patch #444332] * unix/tools/tclmanpages: Added "re_syntax.n" to the list of processed manpages [#405956]. * All of the changes below are there to fix bug [418295]. * tcl/generic/tclXoscmds.c (TclX_OsCmdsInit): "system" and "sleep" now use the new command creation procedure. * tcl/generic/tclXprocess.c (TclX_ProcessInit): "fork" and "wait" now use the new command creation procedure. * tcl/generic/tclXutil.c (TclX_CreateObjCommand): Added the implementation of this new procedure. * tcl/generic/tclExtdInt.h: Added TclX_CreateObjCommand to encapsulate the logic for the creation of commands FOO and tclx_FOO. * tcl/generic/tclXlist.c (TclX_LassignObjCmd): Added TCL_LEAVE_ERR_MSG to call of 'Tcl_SetVar2Ex'. This fixes the bug [227478]. * tcl/generic/tclXgeneral.c (TclX_LoopObjCmd): Changed 'Tcl_AppendStringsToObj' into 'Tcl_AddErrorInfo'. Fixes bug [226388]. Associated patch is [403050]. No need to extend the testsuite, it already contained a test exercising the bug. * tcl/unix/Makefile.in: * tk/unix/Makefile.in: Fixed bogus "test -f" on the new HELP_DIR directory, which should be "test -d". * win/Makefile.in - fixed because of new definition of TCL_SRC_DIR and TK_SRC_DIR * Changed the HELP_DIR to be configurable so I could have parallel builds not all trying to create the same help files. * tcl/win/configure.in, common.bc, common.vc Fixed version number to 8.3 * {tcl,tk}/unix/Makefile.in, tweaks to get references to LIB_RUNTIME_DIR properly expanded on irix builds. Also added BUILDHELP macro that is conditional on nroff being present so we don't try to build help files on systems with out nroff. * tcl/win/tclXAppInit.c, tk/generic/tkXshell.c, tk/win/tkXAppInit.c - turn off USE_TCL_STUBS * win/Makefile.in, win/configure.in: Cleanup use of stubs library. * tcl/win/tclXwinOS.c (TclXOSkill): Added support for "kill" command on Windows platforms.
2004-05-14 00:06:03 +02:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tclx/}
2003-07-17 23:41:05 +02:00
MAINTAINER= jwise@NetBSD.org
HOMEPAGE= http://tclx.sourceforge.net/
COMMENT= Extended Tcl (TclX), a set of Tcl extensions for system programming
.include "../../lang/tcl/Makefile.version"
.include "../../x11/tk/Makefile.version"
CONFLICTS+= tclX-[0-9]*
- Update {tcl,tk}-tclX to 8.3.5. - Bl3ify. - Enable pkgviews installation. OK'ed by jwise@, the maintainer. Changes since 8.2: * got "make buildhelp" working * tcl/generic/tclXgeneral.c (TclX_EchoObjCmd): use encoding aware functions in 8.1+. [Bug #514053] * win/Makefile.in: * win/configure.in: * win/configure: Changed to use TCL_LIBS and TK_LIBS as the source for the list of Windows libraries to link against. Fixes #501990. * tcl/generic/tclXlib.c (MakeAbsFile): Replaced a call to the internal 'TclpGetCwd' with an access to the public API 'Tcl_GetCwd'. [457266]. Reported by Vincent Darley. * doc/TclX.n: * tcl/generic/tclXoscmds.c: allowed sleep to accept double values, to match the Expect sleep command. This prevents conflicts that depended on the order of package requires. [Patch #444332] * unix/tools/tclmanpages: Added "re_syntax.n" to the list of processed manpages [#405956]. * All of the changes below are there to fix bug [418295]. * tcl/generic/tclXoscmds.c (TclX_OsCmdsInit): "system" and "sleep" now use the new command creation procedure. * tcl/generic/tclXprocess.c (TclX_ProcessInit): "fork" and "wait" now use the new command creation procedure. * tcl/generic/tclXutil.c (TclX_CreateObjCommand): Added the implementation of this new procedure. * tcl/generic/tclExtdInt.h: Added TclX_CreateObjCommand to encapsulate the logic for the creation of commands FOO and tclx_FOO. * tcl/generic/tclXlist.c (TclX_LassignObjCmd): Added TCL_LEAVE_ERR_MSG to call of 'Tcl_SetVar2Ex'. This fixes the bug [227478]. * tcl/generic/tclXgeneral.c (TclX_LoopObjCmd): Changed 'Tcl_AppendStringsToObj' into 'Tcl_AddErrorInfo'. Fixes bug [226388]. Associated patch is [403050]. No need to extend the testsuite, it already contained a test exercising the bug. * tcl/unix/Makefile.in: * tk/unix/Makefile.in: Fixed bogus "test -f" on the new HELP_DIR directory, which should be "test -d". * win/Makefile.in - fixed because of new definition of TCL_SRC_DIR and TK_SRC_DIR * Changed the HELP_DIR to be configurable so I could have parallel builds not all trying to create the same help files. * tcl/win/configure.in, common.bc, common.vc Fixed version number to 8.3 * {tcl,tk}/unix/Makefile.in, tweaks to get references to LIB_RUNTIME_DIR properly expanded on irix builds. Also added BUILDHELP macro that is conditional on nroff being present so we don't try to build help files on systems with out nroff. * tcl/win/tclXAppInit.c, tk/generic/tkXshell.c, tk/win/tkXAppInit.c - turn off USE_TCL_STUBS * win/Makefile.in, win/configure.in: Cleanup use of stubs library. * tcl/win/tclXwinOS.c (TclXOSkill): Added support for "kill" command on Windows platforms.
2004-05-14 00:06:03 +02:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}/unix
USE_TOOLS+= gtar
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared \
--with-tcl=${BUILDLINK_PREFIX.tcl}/lib \
--with-tk=${BUILDLINK_PREFIX.tk}/lib
TEST_DIRS= ${WRKSRC}/../tk/unix
TEST_TARGET= test
.include "../../mk/bsd.prefs.mk"
PKGSRCDIR.tcl= ${.CURDIR}/../../lang/tcl
PKGSRCDIR.tk= ${.CURDIR}/../../x11/tk
WRKSRC.tcl_cmd= \
cd ${PKGSRCDIR.tcl} && ${MAKE} show-var VARNAME=WRKSRC
WRKSRC.tk_cmd= \
cd ${PKGSRCDIR.tk} && ${MAKE} show-var VARNAME=WRKSRC
PKGSRC_TCL_SRC_DIR= ${WRKSRC.tcl_cmd:sh}
PKGSRC_TK_SRC_DIR= ${WRKSRC.tk_cmd:sh}
CONFIGURE_ENV+= PKGSRC_TCL_SRC_DIR=${PKGSRC_TCL_SRC_DIR:Q} \
PKGSRC_TK_SRC_DIR=${PKGSRC_TK_SRC_DIR:Q}
MAKE_ENV+= GTAR=${GTAR:Q} CHOWN=${CHOWN:Q} CHMOD=${CHMOD:Q} \
SHAREMODE=${SHAREMODE:Q} SHAREOWN=${SHAREOWN:Q} \
SHAREGRP=${SHAREGRP:Q} \
- Update {tcl,tk}-tclX to 8.3.5. - Bl3ify. - Enable pkgviews installation. OK'ed by jwise@, the maintainer. Changes since 8.2: * got "make buildhelp" working * tcl/generic/tclXgeneral.c (TclX_EchoObjCmd): use encoding aware functions in 8.1+. [Bug #514053] * win/Makefile.in: * win/configure.in: * win/configure: Changed to use TCL_LIBS and TK_LIBS as the source for the list of Windows libraries to link against. Fixes #501990. * tcl/generic/tclXlib.c (MakeAbsFile): Replaced a call to the internal 'TclpGetCwd' with an access to the public API 'Tcl_GetCwd'. [457266]. Reported by Vincent Darley. * doc/TclX.n: * tcl/generic/tclXoscmds.c: allowed sleep to accept double values, to match the Expect sleep command. This prevents conflicts that depended on the order of package requires. [Patch #444332] * unix/tools/tclmanpages: Added "re_syntax.n" to the list of processed manpages [#405956]. * All of the changes below are there to fix bug [418295]. * tcl/generic/tclXoscmds.c (TclX_OsCmdsInit): "system" and "sleep" now use the new command creation procedure. * tcl/generic/tclXprocess.c (TclX_ProcessInit): "fork" and "wait" now use the new command creation procedure. * tcl/generic/tclXutil.c (TclX_CreateObjCommand): Added the implementation of this new procedure. * tcl/generic/tclExtdInt.h: Added TclX_CreateObjCommand to encapsulate the logic for the creation of commands FOO and tclx_FOO. * tcl/generic/tclXlist.c (TclX_LassignObjCmd): Added TCL_LEAVE_ERR_MSG to call of 'Tcl_SetVar2Ex'. This fixes the bug [227478]. * tcl/generic/tclXgeneral.c (TclX_LoopObjCmd): Changed 'Tcl_AppendStringsToObj' into 'Tcl_AddErrorInfo'. Fixes bug [226388]. Associated patch is [403050]. No need to extend the testsuite, it already contained a test exercising the bug. * tcl/unix/Makefile.in: * tk/unix/Makefile.in: Fixed bogus "test -f" on the new HELP_DIR directory, which should be "test -d". * win/Makefile.in - fixed because of new definition of TCL_SRC_DIR and TK_SRC_DIR * Changed the HELP_DIR to be configurable so I could have parallel builds not all trying to create the same help files. * tcl/win/configure.in, common.bc, common.vc Fixed version number to 8.3 * {tcl,tk}/unix/Makefile.in, tweaks to get references to LIB_RUNTIME_DIR properly expanded on irix builds. Also added BUILDHELP macro that is conditional on nroff being present so we don't try to build help files on systems with out nroff. * tcl/win/tclXAppInit.c, tk/generic/tkXshell.c, tk/win/tkXAppInit.c - turn off USE_TCL_STUBS * win/Makefile.in, win/configure.in: Cleanup use of stubs library. * tcl/win/tclXwinOS.c (TclXOSkill): Added support for "kill" command on Windows platforms.
2004-05-14 00:06:03 +02:00
TCLX_PREFIX=${BUILDLINK_PREFIX.tcl-tclX}
FILESDIR= ${.CURDIR}/../../lang/tcl-tclX/files
PATCHDIR= ${.CURDIR}/../../lang/tcl-tclX/patches
- Update {tcl,tk}-tclX to 8.3.5. - Bl3ify. - Enable pkgviews installation. OK'ed by jwise@, the maintainer. Changes since 8.2: * got "make buildhelp" working * tcl/generic/tclXgeneral.c (TclX_EchoObjCmd): use encoding aware functions in 8.1+. [Bug #514053] * win/Makefile.in: * win/configure.in: * win/configure: Changed to use TCL_LIBS and TK_LIBS as the source for the list of Windows libraries to link against. Fixes #501990. * tcl/generic/tclXlib.c (MakeAbsFile): Replaced a call to the internal 'TclpGetCwd' with an access to the public API 'Tcl_GetCwd'. [457266]. Reported by Vincent Darley. * doc/TclX.n: * tcl/generic/tclXoscmds.c: allowed sleep to accept double values, to match the Expect sleep command. This prevents conflicts that depended on the order of package requires. [Patch #444332] * unix/tools/tclmanpages: Added "re_syntax.n" to the list of processed manpages [#405956]. * All of the changes below are there to fix bug [418295]. * tcl/generic/tclXoscmds.c (TclX_OsCmdsInit): "system" and "sleep" now use the new command creation procedure. * tcl/generic/tclXprocess.c (TclX_ProcessInit): "fork" and "wait" now use the new command creation procedure. * tcl/generic/tclXutil.c (TclX_CreateObjCommand): Added the implementation of this new procedure. * tcl/generic/tclExtdInt.h: Added TclX_CreateObjCommand to encapsulate the logic for the creation of commands FOO and tclx_FOO. * tcl/generic/tclXlist.c (TclX_LassignObjCmd): Added TCL_LEAVE_ERR_MSG to call of 'Tcl_SetVar2Ex'. This fixes the bug [227478]. * tcl/generic/tclXgeneral.c (TclX_LoopObjCmd): Changed 'Tcl_AppendStringsToObj' into 'Tcl_AddErrorInfo'. Fixes bug [226388]. Associated patch is [403050]. No need to extend the testsuite, it already contained a test exercising the bug. * tcl/unix/Makefile.in: * tk/unix/Makefile.in: Fixed bogus "test -f" on the new HELP_DIR directory, which should be "test -d". * win/Makefile.in - fixed because of new definition of TCL_SRC_DIR and TK_SRC_DIR * Changed the HELP_DIR to be configurable so I could have parallel builds not all trying to create the same help files. * tcl/win/configure.in, common.bc, common.vc Fixed version number to 8.3 * {tcl,tk}/unix/Makefile.in, tweaks to get references to LIB_RUNTIME_DIR properly expanded on irix builds. Also added BUILDHELP macro that is conditional on nroff being present so we don't try to build help files on systems with out nroff. * tcl/win/tclXAppInit.c, tk/generic/tkXshell.c, tk/win/tkXAppInit.c - turn off USE_TCL_STUBS * win/Makefile.in, win/configure.in: Cleanup use of stubs library. * tcl/win/tclXwinOS.c (TclXOSkill): Added support for "kill" command on Windows platforms.
2004-05-14 00:06:03 +02:00
DISTINFO_FILE= ${.CURDIR}/../../lang/tcl-tclX/distinfo
- Update {tcl,tk}-tclX to 8.3.5. - Bl3ify. - Enable pkgviews installation. OK'ed by jwise@, the maintainer. Changes since 8.2: * got "make buildhelp" working * tcl/generic/tclXgeneral.c (TclX_EchoObjCmd): use encoding aware functions in 8.1+. [Bug #514053] * win/Makefile.in: * win/configure.in: * win/configure: Changed to use TCL_LIBS and TK_LIBS as the source for the list of Windows libraries to link against. Fixes #501990. * tcl/generic/tclXlib.c (MakeAbsFile): Replaced a call to the internal 'TclpGetCwd' with an access to the public API 'Tcl_GetCwd'. [457266]. Reported by Vincent Darley. * doc/TclX.n: * tcl/generic/tclXoscmds.c: allowed sleep to accept double values, to match the Expect sleep command. This prevents conflicts that depended on the order of package requires. [Patch #444332] * unix/tools/tclmanpages: Added "re_syntax.n" to the list of processed manpages [#405956]. * All of the changes below are there to fix bug [418295]. * tcl/generic/tclXoscmds.c (TclX_OsCmdsInit): "system" and "sleep" now use the new command creation procedure. * tcl/generic/tclXprocess.c (TclX_ProcessInit): "fork" and "wait" now use the new command creation procedure. * tcl/generic/tclXutil.c (TclX_CreateObjCommand): Added the implementation of this new procedure. * tcl/generic/tclExtdInt.h: Added TclX_CreateObjCommand to encapsulate the logic for the creation of commands FOO and tclx_FOO. * tcl/generic/tclXlist.c (TclX_LassignObjCmd): Added TCL_LEAVE_ERR_MSG to call of 'Tcl_SetVar2Ex'. This fixes the bug [227478]. * tcl/generic/tclXgeneral.c (TclX_LoopObjCmd): Changed 'Tcl_AppendStringsToObj' into 'Tcl_AddErrorInfo'. Fixes bug [226388]. Associated patch is [403050]. No need to extend the testsuite, it already contained a test exercising the bug. * tcl/unix/Makefile.in: * tk/unix/Makefile.in: Fixed bogus "test -f" on the new HELP_DIR directory, which should be "test -d". * win/Makefile.in - fixed because of new definition of TCL_SRC_DIR and TK_SRC_DIR * Changed the HELP_DIR to be configurable so I could have parallel builds not all trying to create the same help files. * tcl/win/configure.in, common.bc, common.vc Fixed version number to 8.3 * {tcl,tk}/unix/Makefile.in, tweaks to get references to LIB_RUNTIME_DIR properly expanded on irix builds. Also added BUILDHELP macro that is conditional on nroff being present so we don't try to build help files on systems with out nroff. * tcl/win/tclXAppInit.c, tk/generic/tkXshell.c, tk/win/tkXAppInit.c - turn off USE_TCL_STUBS * win/Makefile.in, win/configure.in: Cleanup use of stubs library. * tcl/win/tclXwinOS.c (TclXOSkill): Added support for "kill" command on Windows platforms.
2004-05-14 00:06:03 +02:00
INSTALLATION_DIRS= bin include
- Update {tcl,tk}-tclX to 8.3.5. - Bl3ify. - Enable pkgviews installation. OK'ed by jwise@, the maintainer. Changes since 8.2: * got "make buildhelp" working * tcl/generic/tclXgeneral.c (TclX_EchoObjCmd): use encoding aware functions in 8.1+. [Bug #514053] * win/Makefile.in: * win/configure.in: * win/configure: Changed to use TCL_LIBS and TK_LIBS as the source for the list of Windows libraries to link against. Fixes #501990. * tcl/generic/tclXlib.c (MakeAbsFile): Replaced a call to the internal 'TclpGetCwd' with an access to the public API 'Tcl_GetCwd'. [457266]. Reported by Vincent Darley. * doc/TclX.n: * tcl/generic/tclXoscmds.c: allowed sleep to accept double values, to match the Expect sleep command. This prevents conflicts that depended on the order of package requires. [Patch #444332] * unix/tools/tclmanpages: Added "re_syntax.n" to the list of processed manpages [#405956]. * All of the changes below are there to fix bug [418295]. * tcl/generic/tclXoscmds.c (TclX_OsCmdsInit): "system" and "sleep" now use the new command creation procedure. * tcl/generic/tclXprocess.c (TclX_ProcessInit): "fork" and "wait" now use the new command creation procedure. * tcl/generic/tclXutil.c (TclX_CreateObjCommand): Added the implementation of this new procedure. * tcl/generic/tclExtdInt.h: Added TclX_CreateObjCommand to encapsulate the logic for the creation of commands FOO and tclx_FOO. * tcl/generic/tclXlist.c (TclX_LassignObjCmd): Added TCL_LEAVE_ERR_MSG to call of 'Tcl_SetVar2Ex'. This fixes the bug [227478]. * tcl/generic/tclXgeneral.c (TclX_LoopObjCmd): Changed 'Tcl_AppendStringsToObj' into 'Tcl_AddErrorInfo'. Fixes bug [226388]. Associated patch is [403050]. No need to extend the testsuite, it already contained a test exercising the bug. * tcl/unix/Makefile.in: * tk/unix/Makefile.in: Fixed bogus "test -f" on the new HELP_DIR directory, which should be "test -d". * win/Makefile.in - fixed because of new definition of TCL_SRC_DIR and TK_SRC_DIR * Changed the HELP_DIR to be configurable so I could have parallel builds not all trying to create the same help files. * tcl/win/configure.in, common.bc, common.vc Fixed version number to 8.3 * {tcl,tk}/unix/Makefile.in, tweaks to get references to LIB_RUNTIME_DIR properly expanded on irix builds. Also added BUILDHELP macro that is conditional on nroff being present so we don't try to build help files on systems with out nroff. * tcl/win/tclXAppInit.c, tk/generic/tkXshell.c, tk/win/tkXAppInit.c - turn off USE_TCL_STUBS * win/Makefile.in, win/configure.in: Cleanup use of stubs library. * tcl/win/tclXwinOS.c (TclXOSkill): Added support for "kill" command on Windows platforms.
2004-05-14 00:06:03 +02:00
.include "../../lang/tcl/buildlink3.mk"
.include "../../lang/tcl-tclX/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
post-extract:
${MV} ${WRKSRC}/../doc/Memory.n ${WRKSRC}/../doc/TclXMemory.n
@if [ ! -r ${PKGSRC_TCL_SRC_DIR} ]; then \
cd ${PKGSRCDIR.tcl} && ${MAKE} extract; \
fi
@if [ ! -r ${PKGSRC_TK_SRC_DIR} ]; then \
cd ${PKGSRCDIR.tk} && ${MAKE} extract; \
fi
pre-clean:
@cd ../../lang/tcl && ${MAKE} clean
@cd ../../x11/tk && ${MAKE} clean
do-build:
@cd ${WRKSRC}/../tk/unix && ${MAKE_ENV} ${MAKE}
do-install:
@cd ${WRKSRC}/../tk/unix && ${MAKE_ENV} ${MAKE} install
post-build:
cd ${WRKSRC}/../tk/unix && ${MAKE_ENV} ${MAKE} buildhelp
post-install:
${FIND} ${PREFIX}/lib/tcl/tclX8.3/help -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
${FIND} ${PREFIX}/lib/tcl/tclX8.3/help -type f -print | ${XARGS} ${CHMOD} ${DOCMODE}
# @${RM} ${PREFIX}/${PKGMANDIR}/man3/TkX_Main.3
# @${RM} ${PREFIX}/${PKGMANDIR}/man3/Tkx_Init.3
# the above links are installed based on the contents of the man page.
# we don't want to modify the man page, as it is also used by ../tk-tclX,
# so...
.include "../../mk/bsd.pkg.mk"