blob: 695946ab91072384a90ec7f58dc8045a314153f0 (
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
|
# $NetBSD: Makefile,v 1.17 2014/10/19 22:27:46 alnsn Exp $
.include "../../inputmethod/sj3/Makefile.common"
PKGNAME= ${DISTNAME:S/sj3-/sj3-server-/}
PKGREVISION= 5
COMMENT= SJ3 Japanese input method server
CONFLICTS= sj3-dict-[0-9]* sj3-server-bin-[0-9]*
USE_TOOLS+= pkg-config
CONFIGURE_ARGS+= --with-external-lua
CONFIGURE_ARGS+= --enable-server
CONFIGURE_ARGS+= --enable-dict
CONF_FILES+= share/examples/sj3/sj3proxy.lua.example \
${PKG_SYSCONFDIR}/sj3proxy.lua
CONF_FILES+= share/examples/sj3/sj3serv.lua.example \
${PKG_SYSCONFDIR}/sj3serv.lua
OWN_DIRS_PERMS+= ${VARBASE}/sj3/run ${SJ3OWNER} ${SJ3GROUP} 755
OWN_DIRS_PERMS+= ${VARBASE}/sj3/dict/user ${SJ3OWNER} ${SJ3GROUP} 700
CONF_FILES_PERMS+= libdata/sj3main.dic \
${VARBASE}/sj3/dict/sj3main.dic \
${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 644
RCD_SCRIPTS= sj3proxy sj3serv
INSTALLATION_DIRS+= libdata
post-install:
${INSTALL_DATA} ${WRKSRC}/dict/sj3main.dic \
${DESTDIR}${PREFIX}/libdata/sj3main.dic
.include "../../lang/lua/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|