From e655762fb793a09bcd629a5ee8889dfe5b1550a0 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 3 Mar 2008 17:45:33 +0000 Subject: Mechanical changes to add DESTDIR support to packages that install their files via a custom do-install target. --- devel/tkdiff/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'devel/tkdiff') 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" -- cgit v1.2.3