aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/FreeWnn-server/Makefile
blob: 29a5c21cd09e6cb337fcf3e313ad867f06613187 (plain) (blame)
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
# Created by: Satoshi TAOKA <taoka@FreeBSD.org>
# $FreeBSD$

PORTNAME=   FreeWnn
PORTVERSION=    1.1.1.a021
PORTREVISION=   14
CATEGORIES?=    japanese
MASTER_SITES=   ftp://ftp.freewnn.org/pub/FreeWnn/alpha/ \
        OSDN/freewnn/17724
PKGNAMESUFFIX=  -server
DISTNAME=   ${PORTNAME}-1.1.1-a021

MAINTAINER= hrs@FreeBSD.org
COMMENT?=   Japanese/Chinese/Korean input method (Japanese server)

OPTIONS_DEFAULT?=   WNN SERVER
MANLANG?=       ja
USERS=          wnn

.include "${.CURDIR}/../../japanese/FreeWnn-lib/Makefile.common"

WNN_LIB_DEPENDS+=   libwnn.so:japanese/FreeWnn-lib
WNN_CONFIGURE_ON+=  --with-libwnn=-lwnn \
            --with-wnn-libraries="${PREFIX}/lib"
WNN_USE=    RC_SUBR=wnn

CWNN_LIB_DEPENDS+=  libcwnn.so:chinese/FreeWnn-lib
CWNN_CONFIGURE_ON+= --with-libcwnn=-lcwnn \
            --with-cwnn-libraries="${PREFIX}/lib"
CWNN_USE=   RC_SUBR=cwnn RC_SUBR=twnn

KWNN_LIB_DEPENDS+=  libkwnn.so:korean/FreeWnn-lib
KWNN_CONFIGURE_ON+= --with-libkwnn=-lkwnn \
            --with-kwnn-libraries="${PREFIX}/lib"
KWNN_USE=   RC_SUBR=kwnn

.include <bsd.port.mk>