summaryrefslogtreecommitdiff
path: root/inputmethod/canna-canuum/Makefile
blob: 5b6e064747220e0dfdf5ed3563ccb4ec8b2b0fd9 (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
# $NetBSD: Makefile,v 1.4 2005/06/16 06:57:59 jlam Exp $
#
.include "../../inputmethod/canna/Makefile.common"

CANNA_MODULE=	canuum

MAINTAINER=	oishi@ims.ac.jp

MAKE_ARGS+=	PREFIX=${PREFIX}

INSTALLATION_DIRS=	man/ja_JP.EUC/man1

do-configure:
	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${XMKMF_CMD}; \
		${MAKE_PROGRAM} ${MAKE_ARGS} Makefile; \
		${MAKE_PROGRAM} ${MAKE_ARGS} cannaconf.h
	@cd ${WRKSRC}/canuum; ${SETENV} ${MAKE_ENV} ${XMKMF_CMD}; \
		${MAKE_PROGRAM} ${MAKE_ARGS} Makefile; \
		${MAKE_PROGRAM} ${MAKE_ARGS} includes
	@${LN} ${WRKSRC}/cannaconf.h ${WRKSRC}/canuum
	@${LN} ${WRKSRC}/canna/ccompat.h ${WRKSRC}/canuum
	@cd ${WRKSRC}/canuum; ${MAKE_PROGRAM} ${MAKE_ARGS} depend

do-build:
	@cd ${WRKSRC}/canuum; ${MAKE_PROGRAM} ${MAKE_ARGS} all

pre-install:
	@${MKDIR} ${WRKSRC}/canuum/misc

do-install:
	@cd ${WRKSRC}/canuum; ${MAKE_PROGRAM} ${MAKE_ARGS} install

post-install:
	@${INSTALL_MAN} ${WRKSRC}/canuum/canuum.jmn \
		${PREFIX}/man/ja_JP.EUC/man1/canuum.1

.include "../../devel/nbitools/buildlink3.mk"
.include "../../inputmethod/canna-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"