summaryrefslogtreecommitdiff
path: root/sysutils/tkcron
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 20:19:36 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 20:19:36 +0000
commit84ac22cddf689207bab11408d7d7f9a0e909f8b6 (patch)
tree4b501686cace75cca77135cd1554daf59bf7559a /sysutils/tkcron
parent9dd6ba758eeb9d583568032b5a52345af721c0c6 (diff)
downloadpkgsrc-84ac22cddf689207bab11408d7d7f9a0e909f8b6.tar.gz
DESTDIR support
Diffstat (limited to 'sysutils/tkcron')
-rw-r--r--sysutils/tkcron/Makefile6
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"