diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
commit | e655762fb793a09bcd629a5ee8889dfe5b1550a0 (patch) | |
tree | 620d08cc8bf79f9bacb7746632192670c7d6350d /devel/tkdiff | |
parent | 2d370b7fe4d16560d65355fc39f74d9ef5e1f0c9 (diff) | |
download | pkgsrc-e655762fb793a09bcd629a5ee8889dfe5b1550a0.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/tkdiff')
-rw-r--r-- | devel/tkdiff/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/tkdiff/Makefile b/devel/tkdiff/Makefile index 429aad0e5aa..255dc8878c1 100644 --- a/devel/tkdiff/Makefile +++ b/devel/tkdiff/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2006/04/22 09:22:08 rillig Exp $ +# $NetBSD: Makefile,v 1.20 2008/03/03 17:45:37 jlam Exp $ # DISTNAME= tkdiff @@ -13,6 +13,7 @@ HOMEPAGE= http://sourceforge.net/projects/tkdiff/ COMMENT= Graphical 2-way diff/merge tool PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir DIST_SUBDIR= ${PKGNAME_NOREV} NO_BUILD= yes @@ -28,6 +29,6 @@ SUBST_SED.wish= -e 's,exec wish,exec ${WISH},' INSTALLATION_DIRS= bin do-install: - ${INSTALL_SCRIPT} ${WRKDIR}/tkdiff ${PREFIX}/bin/tkdiff4 + ${INSTALL_SCRIPT} ${WRKDIR}/tkdiff ${DESTDIR}${PREFIX}/bin/tkdiff4 .include "../../mk/bsd.pkg.mk" |