summaryrefslogtreecommitdiff
path: root/inputmethod/skkfep/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 15:55:13 +0000
committerjlam <jlam>2008-03-04 15:55:13 +0000
commit386367bbd5760eb78f5d4eb08a9d57875f3b14a9 (patch)
treedbf82d88f69c900ca1397ba85bdd84959b71d3d9 /inputmethod/skkfep/Makefile
parentbed92ff248487210303144667bca05b7c46deb28 (diff)
downloadpkgsrc-386367bbd5760eb78f5d4eb08a9d57875f3b14a9.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'inputmethod/skkfep/Makefile')
-rw-r--r--inputmethod/skkfep/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/inputmethod/skkfep/Makefile b/inputmethod/skkfep/Makefile
index 3dbade08e4b..c3e3f8cf093 100644
--- a/inputmethod/skkfep/Makefile
+++ b/inputmethod/skkfep/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2007/09/07 22:12:12 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/04 15:55:14 jlam Exp $
DISTNAME= skkfep0.86c
PKGNAME= skkfep-0.86c
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ei5nazha.yz.yamagata-u.ac.jp/~aito/aito-soft.html
COMMENT= Terminal based SKK-like Kana-to-Kanji FrontEnd Processor
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_DEFS+= IPV6_READY
WRKSRC= ${WRKDIR}/skkfep
@@ -21,9 +23,11 @@ INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
CONF_FILES+= ${PREFIX}/share/examples/skk/skk.conf ${PKG_SYSCONFDIR}/skk.conf
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/skkfep ${PREFIX}/bin/skkfep
- ${INSTALL_MAN} ${WRKSRC}/skkfep.1 ${PREFIX}/${PKGMANDIR}/man1/skkfep.1
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/skk
- ${INSTALL_DATA} ${FILESDIR}/skk.conf ${PREFIX}/share/examples/skk/skk.conf
+ ${INSTALL_PROGRAM} ${WRKSRC}/skkfep ${DESTDIR}${PREFIX}/bin/skkfep
+ ${INSTALL_MAN} ${WRKSRC}/skkfep.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/skkfep.1
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/skk
+ ${INSTALL_DATA} ${FILESDIR}/skk.conf \
+ ${DESTDIR}${PREFIX}/share/examples/skk/skk.conf
.include "../../mk/bsd.pkg.mk"