summaryrefslogtreecommitdiff
path: root/graphics/tkpiechart/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 15:39:09 +0000
committerjlam <jlam>2008-03-04 15:39:09 +0000
commitb5f6311af8bceb6f6ffa993ab73f802a0907c782 (patch)
tree59c0548a0298c3f264975f618451fab4e14e6b25 /graphics/tkpiechart/Makefile
parent6bbd21113d6839286420c35137f9be60efb9389e (diff)
downloadpkgsrc-b5f6311af8bceb6f6ffa993ab73f802a0907c782.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'graphics/tkpiechart/Makefile')
-rw-r--r--graphics/tkpiechart/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/tkpiechart/Makefile b/graphics/tkpiechart/Makefile
index a98ea5d0780..6567c2cd4d8 100644
--- a/graphics/tkpiechart/Makefile
+++ b/graphics/tkpiechart/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/04/22 09:22:09 rillig Exp $
+# $NetBSD: Makefile,v 1.17 2008/03/04 15:39:11 jlam Exp $
DISTNAME= tkpiechart-5.4
PKGREVISION= 1
@@ -13,6 +13,7 @@ DEPENDS+= tk>=8.3.2:../../x11/tk
DEPENDS+= stooop>=3.7:../../devel/stooop
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
NO_CONFIGURE= yes
NO_BUILD= yes
@@ -28,7 +29,7 @@ post-patch:
${CHMOD} a+x ${WRKSRC}/instapkg.tcl
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/tcl/tkpiechart
- cd ${WRKSRC}; ./instapkg.tcl ${PREFIX}/lib/tcl/tkpiechart
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/tcl/tkpiechart
+ cd ${WRKSRC}; ./instapkg.tcl ${DESTDIR}${PREFIX}/lib/tcl/tkpiechart
.include "../../mk/bsd.pkg.mk"