summaryrefslogtreecommitdiff
path: root/inputmethod/ja-freewnn-lib/Makefile.common
blob: 6aec31920a3750d93aeece4eba2793c23c9da129 (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
# $NetBSD: Makefile.common,v 1.22 2017/01/19 18:52:13 agc Exp $
# used by inputmethod/ja-freewnn-server/Makefile
# used by inputmethod/ja-freewnn-lib/Makefile

DISTNAME=	FreeWnn-1.1.1-a023
MASTER_SITES=   ${MASTER_SITE_OSDN:=freewnn/63271/}
MASTER_SITES+=	ftp://ftp.st.ryukoku.ac.jp/pub/japanese-im/FreeWnn/
CATEGORIES=	inputmethod

MAINTAINER=	tech-pkg-ja@jp.NetBSD.org
HOMEPAGE=	http://freewnn.osdn.jp/
COMMENT=	Japanese/Chinese/Korean input method
LICENSE=	gnu-gpl-v2

USE_LIBTOOL=	YES
GNU_CONFIGURE=	YES

FILESDIR=       ${.CURDIR}/../../inputmethod/ja-freewnn-lib/files
DISTINFO_FILE=  ${.CURDIR}/../../inputmethod/ja-freewnn-lib/distinfo
PATCHDIR=       ${.CURDIR}/../../inputmethod/ja-freewnn-lib/patches

# will be taka care with pkg INSTALL script
INSTALL_MAKE_FLAGS+=	WNNTOUCH=${TRUE}
INSTALL_MAKE_FLAGS+=	WNNOWNER=${ROOT_USER}

WNNDICTDIR=		${IMDICTDIR}/wnn
FILES_SUBST=		WNNDICTDIR=${WNNDICTDIR}

SUBST_CLASSES+=		imdictdir
SUBST_STAGE.imdictdir=	post-extract
SUBST_SED.imdictdir=	-e 's|@LIBDIR/@LANG/dic|${WNNDICTDIR}/@LANG|'
SUBST_FILES.imdictdir=	Wnn/jd/jserverrc