summaryrefslogtreecommitdiff
path: root/inputmethod/skk/Makefile
blob: 291769d62ca41db8ffc1f7a0075b2778ae09a5fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# $NetBSD: Makefile,v 1.15 2007/10/29 13:25:26 uebayasi Exp $
#

DISTNAME=	ddskk-20071028
PKGNAME=	${EMACS_PKGNAME_PREFIX}${DISTNAME:S/^ddskk/skk/}
CATEGORIES=	japanese inputmethod
MASTER_SITES=	http://openlab.ring.gr.jp/skk/maintrunk/

MAINTAINER=	uebayasi@NetBSD.org
HOMEPAGE=	http://openlab.ring.gr.jp/skk/index.html
COMMENT=	Japanese input methods for Emacs

CONFLICTS=	ddskk-[0-9]*

EMACS_MODULES+=	base leim

MAKEFLAGS+=	EMACS=${EMACS_BIN: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

.include "options.mk"

.include "../../mk/emacs.mk"

.include "../../devel/apel/buildlink3.mk"
.include "../../editors/mule-ucs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"