summaryrefslogtreecommitdiff
path: root/x11/tkinfo/Makefile
diff options
context:
space:
mode:
authorabs <abs>2009-12-17 17:59:09 +0000
committerabs <abs>2009-12-17 17:59:09 +0000
commitcbc12e71da8732adb06786dffe77204e0fc3ffc1 (patch)
treeee6fa4b572f9e442ecf6039c490bcb1c37bc43eb /x11/tkinfo/Makefile
parent3c3bec93c4c461f9e9325ec4392bf18ede040d57 (diff)
downloadpkgsrc-cbc12e71da8732adb06786dffe77204e0fc3ffc1.tar.gz
PKG_DESTDIR_SUPPORT
Diffstat (limited to 'x11/tkinfo/Makefile')
-rw-r--r--x11/tkinfo/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/x11/tkinfo/Makefile b/x11/tkinfo/Makefile
index 44b25cb90d7..3b26fccfead 100644
--- a/x11/tkinfo/Makefile
+++ b/x11/tkinfo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2007/01/07 09:14:16 rillig Exp $
+# $NetBSD: Makefile,v 1.26 2009/12/17 18:02:29 abs Exp $
DISTNAME= tkinfo-2.8
PKGREVISION= 1
@@ -14,6 +14,7 @@ DEPENDS+= tk>=8.3.2:../../x11/tk
NO_BUILD= yes
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+PKG_DESTDIR_SUPPORT= user-destdir
post-patch:
cd ${WRKSRC}; \
@@ -24,7 +25,7 @@ post-patch:
< tkinfo.src > tkinfo
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/tkinfo ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/tkinfo.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_SCRIPT} ${WRKSRC}/tkinfo ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/tkinfo.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"