diff options
author | jlam <jlam> | 2008-03-03 17:45:33 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 17:45:33 +0000 |
commit | 6382667881b228651106070be0587fe300bf858b (patch) | |
tree | 620d08cc8bf79f9bacb7746632192670c7d6350d /devel/tkdiff | |
parent | 2faf5f3f31238b3c0a70766d4e716138a636c86b (diff) | |
download | pkgsrc-6382667881b228651106070be0587fe300bf858b.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" |