summaryrefslogtreecommitdiff
path: root/converters/qkc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 05:51:07 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 05:51:07 +0000
commit41aa6da5cb9b0a946c208eb3858b4455ac8462d1 (patch)
tree4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/qkc
parent4183b9ede0b9da530e4bad07b6e52bf91b8c2d66 (diff)
downloadpkgsrc-41aa6da5cb9b0a946c208eb3858b4455ac8462d1.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'converters/qkc')
-rw-r--r--converters/qkc/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/converters/qkc/Makefile b/converters/qkc/Makefile
index 21474f398d4..3d756f4cc90 100644
--- a/converters/qkc/Makefile
+++ b/converters/qkc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/03/23 03:10:25 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2008/03/03 05:51:08 jlam Exp $
DISTNAME= qkcc100
PKGNAME= qkc-1.0
@@ -12,6 +12,7 @@ HOMEPAGE= http://hp.vector.co.jp/authors/VA000501/
COMMENT= Quick Kanji code Converter
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= bin ${PKGMANDIR}/ja_JP.EUC/man1
@@ -19,7 +20,8 @@ WRKSRC= ${WRKDIR}
BUILD_TARGET= qkc
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/qkc ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/qkc.1 ${PREFIX}/${PKGMANDIR}/ja_JP.EUC/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/qkc ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/qkc.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/ja_JP.EUC/man1
.include "../../mk/bsd.pkg.mk"