diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 19:21:10 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 19:21:10 +0000 |
commit | 39843c2c61acd3e8f1b7d0fa6eb0f76884067d10 (patch) | |
tree | 49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/dvorakng/Makefile | |
parent | 0523c1825d9b781d6f10c2ef70daf0a164e0f142 (diff) | |
download | pkgsrc-39843c2c61acd3e8f1b7d0fa6eb0f76884067d10.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/Makefile')
-rw-r--r-- | misc/dvorakng/Makefile | 5 |
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" |