summaryrefslogtreecommitdiff
path: root/inputmethod/skkfep
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 15:55:13 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 15:55:13 +0000
commit56b6af428423c4de57e42b39c712b29a75b2dfda (patch)
treedbf82d88f69c900ca1397ba85bdd84959b71d3d9 /inputmethod/skkfep
parent33cef9b4f51b52a3b30d8d656a62d2a1ad952487 (diff)
downloadpkgsrc-56b6af428423c4de57e42b39c712b29a75b2dfda.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')
-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"