summaryrefslogtreecommitdiff
path: root/inputmethod/skk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'inputmethod/skk/Makefile')
-rw-r--r--inputmethod/skk/Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/inputmethod/skk/Makefile b/inputmethod/skk/Makefile
index b973eb52e02..89939c379c5 100644
--- a/inputmethod/skk/Makefile
+++ b/inputmethod/skk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2008/05/30 16:03:17 brook Exp $
+# $NetBSD: Makefile,v 1.18 2008/10/11 09:31:57 uebayasi Exp $
#
DISTNAME= ddskk-20080309
@@ -11,32 +11,29 @@ MAINTAINER= uebayasi@NetBSD.org
HOMEPAGE= http://openlab.ring.gr.jp/skk/index.html
COMMENT= Japanese input methods for Emacs
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= ddskk-[0-9]*
EMACS_MODULES+= base leim
MAKEFLAGS+= EMACS=${EMACS_BIN:Q}
+MAKE_ENV= prefix=${DESTDIR:Q}${PREFIX:Q} \
+ EMACS_INFOPREFIX=${DESTDIR:Q}${EMACS_INFOPREFIX:Q} \
+ EMACS_LISPPREFIX=${DESTDIR:Q}${EMACS_LISPPREFIX:Q}
BUILD_TARGET= elc
INFO_FILES= # PLIST
-# SKK-CFG was copied from ${FILESDIR} during post-extract.
-SUBST_CLASSES+= cfg
-SUBST_STAGE.cfg= do-configure
-SUBST_FILES.cfg= SKK-CFG
-SUBST_SED.cfg= -e 's|@PREFIX@|${PREFIX}|g' \
- -e 's|@EMACS_INFOPREFIX@|${EMACS_INFOPREFIX}|g' \
- -e 's|@EMACS_LISPPREFIX@|${EMACS_LISPPREFIX}|g'
-
# Substitute directory definitions during do-configure.
post-extract:
@${MV} ${WRKSRC}/SKK-CFG ${WRKSRC}/SKK-CFG.orig
@${CP} ${FILESDIR}/SKK-CFG ${WRKSRC}
- @${CHMOD} +w ${WRKSRC}/doc/skk.texi
+ @${CHMOD} +w ${WRKSRC}/skk-dic.* ${WRKSRC}/doc/skk.texi
.include "options.mk"
-.include "../../mk/emacs.mk"
+.include "../../editors/emacs/modules.mk"
.include "../../devel/apel/buildlink3.mk"
.include "../../editors/mule-ucs/buildlink3.mk"