pkgsrc/sysutils/tkdesk/Makefile
obache d85e9410c0 Update fkdesk to 2.0p2, apply upstream patches, with fixes build with TCL 8.6,
Itcl 4.0.0 is bundled.
XXX: but not works well yet.

2.0p1  04/16/2004
Compilation of the file libdesk/tixImgXpm.c fails when using a Tk version lower than 8.3.

2.0p2  04/20/2004
Some Linux distributions are using newer "unofficial" versions of Incr Tcl
(Itcl). Though TkDesk 2.0 works with the official Itcl 3.2.1 release, these
newer Itcl installations disable backwards compatibility for some older Itcl
syntax that TkDesk still requires. The typical symptom of this problem is this
error message when TkDesk is started:
Error in startup script: can't rename "itcl_class": command doesn't exist...
2014-02-22 07:53:47 +00:00

40 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.26 2014/02/22 07:53:47 obache Exp $
#
DISTNAME= tkdesk-2.0
PKGNAME= ${DISTNAME}p2
CATEGORIES= sysutils
MASTER_SITES= http://tkdesk.sourceforge.net/dist/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://tkdesk.sourceforge.net/
COMMENT= Graphical file manager
PATCHFILES= ${DISTNAME}p1.patch ${DISTNAME}p2.patch
PATCH_DIST_STRIP= -p1
PATCH_SITES= http://tkdesk.sourceforge.net/patches/
USE_TOOLS+= pax
GNU_CONFIGURE= YES
CONFIGURE_ARGS+=--with-tcl=${BUILDLINK_PREFIX.tcl}/lib \
--with-tk=${BUILDLINK_PREFIX.tk}/lib \
--with-itcl=${BUILDLINK_PREFIX.tcl}/lib/itcl4.0.0 \
--with-blt=${BUILDLINK_PREFIX.blt}/lib
MAKE_ENV+= LIB_RUNTIME_DIR=${BUILDLINK_PREFIX.tcl}/lib/itcl4.0.0
CFLAGS+= -DUSE_INTERP_RESULT
DESTDIR_VARNAME= INSTALL_ROOT
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/blt/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
pre-install:
${RM} -Rf ${WRKSRC}/tcldesk/configs/.trash
${FIND} ${WRKSRC}/tcldesk -type f \( -name '*.orig' -or -name '*.orig_dist' \) -print | ${XARGS} ${RM} -rf
${FIND} ${WRKSRC}/tcldesk -type f -print | ${XARGS} ${TOUCH}
.include "../../mk/bsd.pkg.mk"