diff options
author | abs <abs@pkgsrc.org> | 2009-12-17 17:59:09 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2009-12-17 17:59:09 +0000 |
commit | 9936111b632f824ab770b2c7b98509ddbc3ac9ff (patch) | |
tree | ee6fa4b572f9e442ecf6039c490bcb1c37bc43eb /x11/tkinfo | |
parent | cc8b3224c004d0275b3b2e5b5ebe6184b8dce6a2 (diff) | |
download | pkgsrc-9936111b632f824ab770b2c7b98509ddbc3ac9ff.tar.gz |
PKG_DESTDIR_SUPPORT
Diffstat (limited to 'x11/tkinfo')
-rw-r--r-- | x11/tkinfo/Makefile | 7 |
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" |