pkgsrc/sysutils/tkdesk/Makefile
2016-10-21 01:47:01 +00:00

41 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.27 2016/10/21 01:47:01 kamil Exp $
#
DISTNAME= tkdesk-2.0
PKGNAME= ${DISTNAME}p2
PKGREVISION= 1
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/itcl${ITCL_VERSION} \
--with-blt=${BUILDLINK_PREFIX.blt}/lib
MAKE_ENV+= LIB_RUNTIME_DIR=${BUILDLINK_PREFIX.tcl}/lib/itcl${ITCL_VERSION}
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"