summaryrefslogtreecommitdiff
path: root/converters/qkc/Makefile
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
commit43112f64cf453f5e24fc1a811650c98f7db2fe76 (patch)
tree4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/qkc/Makefile
parent3b34772d7f8c87aaf463b2f9127224a7d6490225 (diff)
downloadpkgsrc-43112f64cf453f5e24fc1a811650c98f7db2fe76.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/Makefile')
-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"