summaryrefslogtreecommitdiff
path: root/graphics/tkpiechart
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 15:39:09 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 15:39:09 +0000
commit4b86e2bfab114a3edb0ceea2883a66b1745f9f06 (patch)
tree59c0548a0298c3f264975f618451fab4e14e6b25 /graphics/tkpiechart
parenta6923789124411b85aaa9c9d97b6522350124999 (diff)
downloadpkgsrc-4b86e2bfab114a3edb0ceea2883a66b1745f9f06.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')
-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"