aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/FreeWnn-lib/Makefile
blob: 74a6e49a3812482c4a6e3c7822fdea852746923e (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# New ports collection makefile for:    FreeWnn for Japanese
# Date created:     20 July 1997
# Whom:         Satoshi Taoka <taoka@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   FreeWnn
PORTVERSION=    1.1.1.a021
PORTREVISION=   7
CATEGORIES?=    japanese
MASTER_SITES=   ftp://ftp.freewnn.org/pub/%SUBDIR%/ \
        ${MASTER_SITE_SOURCEFORGE_JP}
MASTER_SITE_SUBDIR= FreeWnn/alpha \
            freewnn/17724
PKGNAMESUFFIX=  -lib
DISTNAME=   ${PORTNAME}-1.1.1-a021

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

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USE_AUTOTOOLS=  autoconf:262 libtool:22
USE_LDCONFIG=   yes
MAKE_ARGS=  MANLANG="${MANLANG}" CDEBUGFLAGS="${CFLAGS}"
ALL_TARGET= includes all
INSTALL_TARGET= install install.man
MAKE_JOBS_UNSAFE=   yes

WNNTYPE?=   WNN
CONFIGURE_ARGS= --enable-server=no \
        ${CONFIGURE_ARGS.${WNNTYPE}}
.if !defined(WITHOUT_INET6)
CONFIGURE_ARGS+=--enable-ipv6
.endif

CONFIGURE_ARGS.CWNN+=   --enable-Wnn=no --enable-kWnn=no
CONFIGURE_ARGS.KWNN+=   --enable-Wnn=no --enable-cWnn=no
CONFIGURE_ARGS.WNN+=    --enable-cWnn=no --enable-kWnn=no

MANLANG.WNN=    ja
MAN3.WNN+= jl_bun_suu.3 jl_c_zenkouho.3 jl_close.3 jl_connect.3     \
    jl_connect_lang.3 jl_dai_top.3 jl_dic_add.3         \
    jl_dic_comment_set.3 jl_dic_delete.3 jl_dic_list.3      \
    jl_dic_save.3 jl_dic_use.3 jl_disconnect.3 jl_env.3     \
    jl_env_get.3 jl_env_sticky.3 jl_fuzokugo_get.3          \
    jl_fuzokugo_set.3 jl_get_kanji.3 jl_get_zenkouho_kanji.3    \
    jl_hinsi_dicts.3 jl_hinsi_list.3 jl_hinsi_name.3        \
    jl_hinsi_number.3 jl_inspect.3 jl_isconnect.3 jl_jiri_len.3 \
    jl_kanji_len.3 jl_kill.3 jl_next.3 jl_nobi_conv.3 jl_open.3 \
    jl_open_lang.3 jl_param_get.3 jl_ren_conv.3 jl_set_env_wnnrc.3  \
    jl_set_jikouho.3 jl_tan_conv.3 jl_update_hindo.3 jl_word_add.3  \
    jl_word_comment_set.3 jl_word_delete.3 jl_word_info.3       \
    jl_word_search.3 jl_word_use.3 jl_zenkouho.3 jl_zenkouho_bun.3  \
    jl_zenkouho_dai.3 jl_zenkouho_daip.3 jl_zenkouho_suu.3      \
    js_access.3 js_close.3 js_connect.3 js_dic_add.3        \
    js_dic_delete.3 js_dic_file_create.3                \
    js_dic_file_create_client.3 js_dic_info.3 js_dic_list.3     \
    js_dic_list_all.3 js_dic_use.3 js_disconnect.3 js_env_exist.3   \
    js_env_list.3 js_env_sticky.3 js_file_comment_set.3     \
    js_file_discard.3 js_file_info.3 js_file_list.3         \
    js_file_list_all.3 js_file_loaded.3 js_file_loaded_local.3  \
    js_file_password_set.3 js_file_read.3 js_file_receive.3     \
    js_file_remove.3 js_file_remove_client.3 js_file_send.3     \
    js_file_stat.3 js_file_write.3 js_fuzokugo_get.3        \
    js_fuzokugo_set.3 js_hindo_file_create.3            \
    js_hindo_file_create_client.3 js_hindo_set.3 js_hinsi_dicts.3   \
    js_hinsi_list.3 js_hinsi_name.3 js_hinsi_number.3       \
    js_hinsi_table_set.3 js_isconnect.3 js_kanren.3         \
    js_kantan_dai.3 js_kantan_sho.3 js_kanzen_dai.3         \
    js_kanzen_sho.3 js_kill.3 js_mkdir.3 js_open.3 js_open_lang.3   \
    js_param_get.3 js_set_lang.3 js_version.3 js_who.3      \
    js_word_add.3 js_word_comment_set.3 js_word_delete.3        \
    js_word_info.3 js_word_search.3 msg_close.3 msg_get.3       \
    msg_open.3 romkan_clear.3 romkan_dispmode.3 romkan_getc.3   \
    romkan_init.3 romkan_next.3 romkan_ungetc.3

MLINKS.WNN= jl_dic_add.3 jl_dic_add_e.3 jl_dic_comment_set.3        \
    jl_dic_comment_set_e.3 jl_dic_delete.3 jl_dic_delete_e.3    \
    jl_dic_list.3 jl_dic_list_e.3 jl_dic_save.3 jl_dic_save_all.3   \
    jl_dic_save.3 jl_dic_save_all_e.3 jl_dic_save.3         \
    jl_dic_save_e.3 jl_dic_use.3 jl_dic_use_e.3 jl_env_get.3    \
    jl_env_set.3 jl_env_sticky.3 jl_env_sticky_e.3 jl_env_sticky.3  \
    jl_env_un_sticky.3 jl_env_sticky.3 jl_env_un_sticky_e.3     \
    jl_fuzokugo_get.3 jl_fuzokugo_get_e.3 jl_fuzokugo_set.3     \
    jl_fuzokugo_set_e.3 jl_get_kanji.3 jl_get_yomi.3        \
    jl_hinsi_dicts.3 jl_hinsi_dicts_e.3 jl_hinsi_list.3     \
    jl_hinsi_list_e.3 jl_hinsi_name.3 jl_hinsi_name_e.3     \
    jl_hinsi_number.3 jl_hinsi_number_e.3 jl_isconnect.3        \
    jl_isconnect_e.3 jl_next.3 jl_next_dai.3 jl_param_get.3     \
    jl_param_get_e.3 jl_param_get.3 jl_param_set.3 jl_param_get.3   \
    jl_param_set_e.3 jl_next.3 jl_previous.3 jl_next.3      \
    jl_previous_dai.3 jl_set_jikouho.3 jl_set_jikouho_dai.3     \
    jl_word_add.3 jl_word_add_e.3 jl_word_comment_set.3     \
    jl_word_comment_set_e.3 jl_word_delete.3 jl_word_delete_e.3 \
    jl_word_info.3 jl_word_info_e.3 jl_word_search.3        \
    jl_word_search_by_env.3 jl_word_search.3            \
    jl_word_search_by_env_e.3 jl_word_search.3 jl_word_search_e.3   \
    jl_word_use.3 jl_word_use_e.3 jl_kanji_len.3 jl_yomi_len.3  \
    js_env_sticky.3 js_env_un_sticky.3 js_set_lang.3 js_get_lang.3  \
    js_param_get.3 js_param_set.3 js_word_search.3          \
    js_word_search_by_env.3

.for M in MAN3 MLINKS MANLANG
. if defined(${M}.${WNNTYPE})
${M}+=  ${${M}.${WNNTYPE}}
. endif
.endfor

.include <bsd.port.mk>