2011-09-13 09:23:16 +02:00
|
|
|
# $NetBSD: Makefile,v 1.9 2011/09/13 07:23:21 mef Exp $
|
2002-05-31 15:01:28 +02:00
|
|
|
|
2011-09-13 09:23:16 +02:00
|
|
|
.include "../../inputmethod/ja-freewnn-lib/Makefile.common"
|
2002-05-31 15:01:28 +02:00
|
|
|
|
2011-09-13 09:23:16 +02:00
|
|
|
PKGNAME= ja-FreeWnn-server-1.11alpha22
|
2002-05-31 15:01:28 +02:00
|
|
|
|
2011-09-13 09:23:16 +02:00
|
|
|
COMMENT+= (Japanese server)
|
2008-07-14 14:55:56 +02:00
|
|
|
|
2011-09-13 09:23:16 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-libraries
|
|
|
|
# Following two lines give equivalent to previous 1.10 version
|
|
|
|
CONFIGURE_ARGS+= --disable-cWnn
|
|
|
|
CONFIGURE_ARGS+= --disable-kWnn
|
2002-05-31 15:01:28 +02:00
|
|
|
|
2011-09-13 09:23:16 +02:00
|
|
|
CONFIGURE_ARGS+= --with-wnn-libraries=${BUILDLINK_PREFIX.ja-FreeWnn-lib}/lib
|
|
|
|
CONFIGURE_ARGS+= --with-libwnn=yes
|
|
|
|
CONFIGURE_ARGS+= --disable-sub-bindir
|
|
|
|
# use sbin/ instead of bin/
|
|
|
|
CONFIGURE_ARGS+= --disable-traditional-layout
|
|
|
|
|
|
|
|
INSTALL_TARGET= install install.man
|
|
|
|
|
|
|
|
RCD_SCRIPTS= ja_freewnn
|
|
|
|
|
|
|
|
BUILD_DEFS= FREEWNN_USER FREEWNN_GROUP IMDICTDIR
|
|
|
|
|
|
|
|
FREEWNN_USER= wnn
|
|
|
|
FREEWNN_GROUP= jserver
|
|
|
|
PKG_GROUPS= ${FREEWNN_GROUP}
|
|
|
|
PKG_USERS= ${FREEWNN_USER}:${FREEWNN_GROUP}
|
|
|
|
|
|
|
|
SPECIAL_PERMS+= bin/Wnn4/jserver ${FREEWNN_USER} ${FREEWNN_GROUP} 4511
|
|
|
|
SPECIAL_PERMS+= bin/Wnn4/cserver ${FREEWNN_USER} ${FREEWNN_GROUP} 4511
|
|
|
|
SPECIAL_PERMS+= bin/Wnn4/tserver ${FREEWNN_USER} ${FREEWNN_GROUP} 4511
|
|
|
|
SPECIAL_PERMS+= bin/Wnn4/kserver ${FREEWNN_USER} ${FREEWNN_GROUP} 4511
|
|
|
|
|
|
|
|
OWN_DIRS+= ${IMDICTDIR}/wnn/ja_JP
|
|
|
|
OWN_DIRS_PERMS+= ${IMDICTDIR}/wnn/ja_JP/usr ${FREEWNN_USER} ${FREEWNN_GROUP} ${PKGDIRMODE}
|
|
|
|
|
|
|
|
.include "../../inputmethod/ja-freewnn-lib/buildlink3.mk"
|
2002-06-10 12:17:12 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|