summaryrefslogtreecommitdiff
path: root/misc/wdic
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
commit39843c2c61acd3e8f1b7d0fa6eb0f76884067d10 (patch)
tree49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/wdic
parent0523c1825d9b781d6f10c2ef70daf0a164e0f142 (diff)
downloadpkgsrc-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/wdic')
-rw-r--r--misc/wdic/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/wdic/Makefile b/misc/wdic/Makefile
index 0ac9c506b53..492c6f701dd 100644
--- a/misc/wdic/Makefile
+++ b/misc/wdic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/03/07 14:48:09 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2008/03/04 19:21:12 jlam Exp $
#
DISTNAME= wdic_wob_v3.0
@@ -11,12 +11,13 @@ HOMEPAGE= http://kldp.net/projects/wdic/
COMMENT= English dictionary for Korean
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/wdic ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/wdic ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"