diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 20:19:36 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 20:19:36 +0000 |
commit | 53d200c3f73658d2cfddade11715ac2277f540ae (patch) | |
tree | 4b501686cace75cca77135cd1554daf59bf7559a /sysutils/tkcron | |
parent | 21fd22905a7059ba10f5c7ef38f516c17a388575 (diff) | |
download | pkgsrc-53d200c3f73658d2cfddade11715ac2277f540ae.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" |