summaryrefslogtreecommitdiff
path: root/misc/dvorakng
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 19:21:10 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 19:21:10 +0000
commit2ff2716acf781c9b1b039a6b95e38ecb3d95ed08 (patch)
tree49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/dvorakng
parentb7a420b59c401cc1e9a58c6d5a9f19b4f93074f8 (diff)
downloadpkgsrc-2ff2716acf781c9b1b039a6b95e38ecb3d95ed08.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"