summaryrefslogtreecommitdiff
path: root/misc/dvorakng
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 19:21:10 +0000
committerjlam <jlam>2008-03-04 19:21:10 +0000
commitcfcb73a7daae0a4628a69e74119df08f06aea0a7 (patch)
tree49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/dvorakng
parent75e62b0b49c3ce7b99b2416889b080608416d847 (diff)
downloadpkgsrc-cfcb73a7daae0a4628a69e74119df08f06aea0a7.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'misc/dvorakng')
-rw-r--r--misc/dvorakng/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/dvorakng/Makefile b/misc/dvorakng/Makefile
index 3e21134300e..4b533f66508 100644
--- a/misc/dvorakng/Makefile
+++ b/misc/dvorakng/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2007/02/22 19:26:49 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2008/03/04 19:21:11 jlam Exp $
#
DISTNAME= dvorakng-0.6.0rc1
@@ -12,6 +12,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= US English Dvorak keyboard tutor
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_NCURSES= # strange keyboard handling
@@ -20,7 +21,7 @@ INSTALLATION_DIRS= bin
USE_LANGUAGES= c++
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/dvorakng ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/dvorakng ${DESTDIR}${PREFIX}/bin
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"