diff options
author | joerg <joerg> | 2010-01-27 20:19:36 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-01-27 20:19:36 +0000 |
commit | 131abf1340a20e327afc6b70b8043aebef7685d6 (patch) | |
tree | 4b501686cace75cca77135cd1554daf59bf7559a /sysutils/tkcron | |
parent | 8baa1ca58b937b3366fc7053243492deda2ec739 (diff) | |
download | pkgsrc-131abf1340a20e327afc6b70b8043aebef7685d6.tar.gz |
DESTDIR support
Diffstat (limited to 'sysutils/tkcron')
-rw-r--r-- | sysutils/tkcron/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/tkcron/Makefile b/sysutils/tkcron/Makefile index cf8956e4ba2..658b8801dee 100644 --- a/sysutils/tkcron/Makefile +++ b/sysutils/tkcron/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2007/02/15 14:47:20 joerg Exp $ +# $NetBSD: Makefile,v 1.17 2010/01/27 20:20:06 joerg Exp $ # DISTNAME= tkcron-2.12 @@ -10,6 +10,8 @@ EXTRACT_SUFX= .tcl.gz MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Graphical frontend to crontab +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= tk>=8.3.2:../../x11/tk WRKSRC= ${WRKDIR} @@ -21,6 +23,6 @@ do-build: ${SED} -e "\:/usr/local/bin/wish: s;;${LOCALBASE}/bin/wish;g" ${WRKSRC}/tkcron.tcl > ${WRKSRC}/tkcron do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/tkcron ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/tkcron ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" |