summaryrefslogtreecommitdiff
path: root/editors/heme
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 18:25:52 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 18:25:52 +0000
commitdcae08b64c9bcbf2c8a6ba4bec34bd2c803eed82 (patch)
tree94991d2182e36c43f4a6dac0f35a6023230a4d45 /editors/heme
parent8215a798c07643e82100e93a0dd116651232835f (diff)
downloadpkgsrc-dcae08b64c9bcbf2c8a6ba4bec34bd2c803eed82.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'editors/heme')
-rw-r--r--editors/heme/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/editors/heme/Makefile b/editors/heme/Makefile
index 8dc39b88de0..dcb942a3fd4 100644
--- a/editors/heme/Makefile
+++ b/editors/heme/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2007/01/07 09:13:52 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2008/03/03 18:25:52 jlam Exp $
#
DISTNAME= heme-0.4
@@ -11,6 +11,7 @@ HOMEPAGE= http://sourceforge.net/projects/heme/
COMMENT= Fast and portable console hex editor
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
BUILD_TARGET= heme
USE_NCURSES= # mvwchgat
@@ -21,7 +22,7 @@ INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
.include "../../devel/ncurses/buildlink3.mk"
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/heme ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/heme.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/heme ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/heme.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"