aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/FreeWnn-lib
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2014-03-11 14:49:56 +0800
committerhrs <hrs@FreeBSD.org>2014-03-11 14:49:56 +0800
commit9425b9f44e6297521111ca818c2b0ac9c0af8db0 (patch)
treec5a082acef18e691c7cb7587e0bf28b3d772fc78 /japanese/FreeWnn-lib
parent2b47c6e7081694f58c105c44f166e43aa8d27a80 (diff)
downloadfreebsd-ports-gnome-9425b9f44e6297521111ca818c2b0ac9c0af8db0.tar.gz
freebsd-ports-gnome-9425b9f44e6297521111ca818c2b0ac9c0af8db0.tar.zst
freebsd-ports-gnome-9425b9f44e6297521111ca818c2b0ac9c0af8db0.zip
- STAGEDIR support
- Eliminate duplicate files installed by each */FreeWnn-lib. - Bump PORTREVISION because of dependency and pkg-plist changes.
Diffstat (limited to 'japanese/FreeWnn-lib')
-rw-r--r--japanese/FreeWnn-lib/Makefile96
-rw-r--r--japanese/FreeWnn-lib/Makefile.common28
-rw-r--r--japanese/FreeWnn-lib/pkg-plist159
3 files changed, 190 insertions, 93 deletions
diff --git a/japanese/FreeWnn-lib/Makefile b/japanese/FreeWnn-lib/Makefile
index deb2726c47a3..3d98fae2dd86 100644
--- a/japanese/FreeWnn-lib/Makefile
+++ b/japanese/FreeWnn-lib/Makefile
@@ -15,98 +15,8 @@ DISTNAME= ${PORTNAME}-1.1.1-a021
MAINTAINER= hrs@FreeBSD.org
COMMENT?= Japanese/Chinese/Korean input method (Japanese client libraries)
-GNU_CONFIGURE= yes
-USES= libtool
-USE_AUTOTOOLS= aclocal autoheader autoconf libtoolize
-LIBTOOLIZE_ARGS=-i -c -f
-USE_BZIP2= yes
-USE_LDCONFIG= yes
-MAKE_ARGS= MANLANG="${MANLANG}" CDEBUGFLAGS="${CFLAGS}" \
- LIBRARY_WNNMANDIR="3.libwnn" \
- SERVER_WNNMANDIR=""
-ALL_TARGET= includes all
-INSTALL_TARGET= install install.man
-MAKE_JOBS_UNSAFE= yes
+OPTIONS_DEFAULT?= LIB WNN
+MANLANG?= ja
-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
-
-NO_STAGE= yes
+.include "${.CURDIR}/../../japanese/FreeWnn-lib/Makefile.common"
.include <bsd.port.mk>
diff --git a/japanese/FreeWnn-lib/Makefile.common b/japanese/FreeWnn-lib/Makefile.common
new file mode 100644
index 000000000000..1c50f314b340
--- /dev/null
+++ b/japanese/FreeWnn-lib/Makefile.common
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+GNU_CONFIGURE= yes
+USES= libtool
+USE_AUTOTOOLS= aclocal autoheader autoconf libtoolize
+LIBTOOLIZE_ARGS=-i -c -f
+USE_BZIP2= yes
+USE_LDCONFIG= yes
+MAKE_ARGS= MANLANG="${MANLANG}" CDEBUGFLAGS="${CFLAGS}" \
+ LIBRARY_WNNMANDIR="3.libwnn" \
+ SERVER_WNNMANDIR=""
+ALL_TARGET= includes all
+INSTALL_TARGET= install install.man
+MAKE_JOBS_UNSAFE= yes
+
+OPTIONS_SINGLE= TYPE LANG
+OPTIONS_SINGLE_TYPE= SERVER LIB
+OPTIONS_SINGLE_LANG= WNN KWNN CWNN
+OPTIONS_DEFAULT?= SERVER WNN
+
+IPV6_CONFIGURE_ON= --enable-ipv6
+WNN_CONFIGURE_ON= --enable-cWnn=no --enable-kWnn=no
+CWNN_CONFIGURE_ON= --enable-Wnn=no --enable-kWnn=no
+CWNN_LIB_DEPENDS= libwnn.so:${PORTSDIR}/japanese/FreeWnn-lib
+KWNN_CONFIGURE_ON= --enable-Wnn=no --enable-cWnn=no
+KWNN_LIB_DEPENDS= libwnn.so:${PORTSDIR}/japanese/FreeWnn-lib
+SERVER_CONFIGURE_ON= --enable-server=yes --enable-libraries=no
+LIB_CONFIGURE_ON= --enable-server=no --enable-libraries=yes
diff --git a/japanese/FreeWnn-lib/pkg-plist b/japanese/FreeWnn-lib/pkg-plist
index 160efcfbeee4..61a0ef1aa60d 100644
--- a/japanese/FreeWnn-lib/pkg-plist
+++ b/japanese/FreeWnn-lib/pkg-plist
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
include/wnn/commonhd.h
include/wnn/config.h
include/wnn/cplib.h
@@ -88,3 +89,161 @@ lib/libwnn.so.0.0.0
@dirrm lib/wnn/lt_LN/rk
@dirrm lib/wnn/lt_LN
@dirrmtry lib/wnn
+man/ja/man3/jl_bun_suu.3.gz
+man/ja/man3/jl_c_zenkouho.3.gz
+man/ja/man3/jl_close.3.gz
+man/ja/man3/jl_connect.3.gz
+man/ja/man3/jl_connect_lang.3.gz
+man/ja/man3/jl_dai_top.3.gz
+man/ja/man3/jl_dic_add.3.gz
+man/ja/man3/jl_dic_add_e.3.gz
+man/ja/man3/jl_dic_comment_set.3.gz
+man/ja/man3/jl_dic_comment_set_e.3.gz
+man/ja/man3/jl_dic_delete.3.gz
+man/ja/man3/jl_dic_delete_e.3.gz
+man/ja/man3/jl_dic_list.3.gz
+man/ja/man3/jl_dic_list_e.3.gz
+man/ja/man3/jl_dic_save.3.gz
+man/ja/man3/jl_dic_save_all.3.gz
+man/ja/man3/jl_dic_save_all_e.3.gz
+man/ja/man3/jl_dic_save_e.3.gz
+man/ja/man3/jl_dic_use.3.gz
+man/ja/man3/jl_dic_use_e.3.gz
+man/ja/man3/jl_disconnect.3.gz
+man/ja/man3/jl_env.3.gz
+man/ja/man3/jl_env_get.3.gz
+man/ja/man3/jl_env_set.3.gz
+man/ja/man3/jl_env_sticky.3.gz
+man/ja/man3/jl_env_sticky_e.3.gz
+man/ja/man3/jl_env_un_sticky.3.gz
+man/ja/man3/jl_env_un_sticky_e.3.gz
+man/ja/man3/jl_fuzokugo_get.3.gz
+man/ja/man3/jl_fuzokugo_get_e.3.gz
+man/ja/man3/jl_fuzokugo_set.3.gz
+man/ja/man3/jl_fuzokugo_set_e.3.gz
+man/ja/man3/jl_get_kanji.3.gz
+man/ja/man3/jl_get_yomi.3.gz
+man/ja/man3/jl_get_zenkouho_kanji.3.gz
+man/ja/man3/jl_hinsi_dicts.3.gz
+man/ja/man3/jl_hinsi_dicts_e.3.gz
+man/ja/man3/jl_hinsi_list.3.gz
+man/ja/man3/jl_hinsi_list_e.3.gz
+man/ja/man3/jl_hinsi_name.3.gz
+man/ja/man3/jl_hinsi_name_e.3.gz
+man/ja/man3/jl_hinsi_number.3.gz
+man/ja/man3/jl_hinsi_number_e.3.gz
+man/ja/man3/jl_inspect.3.gz
+man/ja/man3/jl_isconnect.3.gz
+man/ja/man3/jl_isconnect_e.3.gz
+man/ja/man3/jl_jiri_len.3.gz
+man/ja/man3/jl_kanji_len.3.gz
+man/ja/man3/jl_kill.3.gz
+man/ja/man3/jl_next.3.gz
+man/ja/man3/jl_next_dai.3.gz
+man/ja/man3/jl_nobi_conv.3.gz
+man/ja/man3/jl_open.3.gz
+man/ja/man3/jl_open_lang.3.gz
+man/ja/man3/jl_param_get.3.gz
+man/ja/man3/jl_param_get_e.3.gz
+man/ja/man3/jl_param_set.3.gz
+man/ja/man3/jl_param_set_e.3.gz
+man/ja/man3/jl_previous.3.gz
+man/ja/man3/jl_previous_dai.3.gz
+man/ja/man3/jl_ren_conv.3.gz
+man/ja/man3/jl_set_env_wnnrc.3.gz
+man/ja/man3/jl_set_jikouho.3.gz
+man/ja/man3/jl_set_jikouho_dai.3.gz
+man/ja/man3/jl_tan_conv.3.gz
+man/ja/man3/jl_update_hindo.3.gz
+man/ja/man3/jl_word_add.3.gz
+man/ja/man3/jl_word_add_e.3.gz
+man/ja/man3/jl_word_comment_set.3.gz
+man/ja/man3/jl_word_comment_set_e.3.gz
+man/ja/man3/jl_word_delete.3.gz
+man/ja/man3/jl_word_delete_e.3.gz
+man/ja/man3/jl_word_info.3.gz
+man/ja/man3/jl_word_info_e.3.gz
+man/ja/man3/jl_word_search.3.gz
+man/ja/man3/jl_word_search_by_env.3.gz
+man/ja/man3/jl_word_search_by_env_e.3.gz
+man/ja/man3/jl_word_search_e.3.gz
+man/ja/man3/jl_word_use.3.gz
+man/ja/man3/jl_word_use_e.3.gz
+man/ja/man3/jl_yomi_len.3.gz
+man/ja/man3/jl_zenkouho.3.gz
+man/ja/man3/jl_zenkouho_bun.3.gz
+man/ja/man3/jl_zenkouho_dai.3.gz
+man/ja/man3/jl_zenkouho_daip.3.gz
+man/ja/man3/jl_zenkouho_suu.3.gz
+man/ja/man3/js_access.3.gz
+man/ja/man3/js_close.3.gz
+man/ja/man3/js_connect.3.gz
+man/ja/man3/js_dic_add.3.gz
+man/ja/man3/js_dic_delete.3.gz
+man/ja/man3/js_dic_file_create.3.gz
+man/ja/man3/js_dic_file_create_client.3.gz
+man/ja/man3/js_dic_info.3.gz
+man/ja/man3/js_dic_list.3.gz
+man/ja/man3/js_dic_list_all.3.gz
+man/ja/man3/js_dic_use.3.gz
+man/ja/man3/js_disconnect.3.gz
+man/ja/man3/js_env_exist.3.gz
+man/ja/man3/js_env_list.3.gz
+man/ja/man3/js_env_sticky.3.gz
+man/ja/man3/js_env_un_sticky.3.gz
+man/ja/man3/js_file_comment_set.3.gz
+man/ja/man3/js_file_discard.3.gz
+man/ja/man3/js_file_info.3.gz
+man/ja/man3/js_file_list.3.gz
+man/ja/man3/js_file_list_all.3.gz
+man/ja/man3/js_file_loaded.3.gz
+man/ja/man3/js_file_loaded_local.3.gz
+man/ja/man3/js_file_password_set.3.gz
+man/ja/man3/js_file_read.3.gz
+man/ja/man3/js_file_receive.3.gz
+man/ja/man3/js_file_remove.3.gz
+man/ja/man3/js_file_remove_client.3.gz
+man/ja/man3/js_file_send.3.gz
+man/ja/man3/js_file_stat.3.gz
+man/ja/man3/js_file_write.3.gz
+man/ja/man3/js_fuzokugo_get.3.gz
+man/ja/man3/js_fuzokugo_set.3.gz
+man/ja/man3/js_get_lang.3.gz
+man/ja/man3/js_hindo_file_create.3.gz
+man/ja/man3/js_hindo_file_create_client.3.gz
+man/ja/man3/js_hindo_set.3.gz
+man/ja/man3/js_hinsi_dicts.3.gz
+man/ja/man3/js_hinsi_list.3.gz
+man/ja/man3/js_hinsi_name.3.gz
+man/ja/man3/js_hinsi_number.3.gz
+man/ja/man3/js_hinsi_table_set.3.gz
+man/ja/man3/js_isconnect.3.gz
+man/ja/man3/js_kanren.3.gz
+man/ja/man3/js_kantan_dai.3.gz
+man/ja/man3/js_kantan_sho.3.gz
+man/ja/man3/js_kanzen_dai.3.gz
+man/ja/man3/js_kanzen_sho.3.gz
+man/ja/man3/js_kill.3.gz
+man/ja/man3/js_mkdir.3.gz
+man/ja/man3/js_open.3.gz
+man/ja/man3/js_open_lang.3.gz
+man/ja/man3/js_param_get.3.gz
+man/ja/man3/js_param_set.3.gz
+man/ja/man3/js_set_lang.3.gz
+man/ja/man3/js_version.3.gz
+man/ja/man3/js_who.3.gz
+man/ja/man3/js_word_add.3.gz
+man/ja/man3/js_word_comment_set.3.gz
+man/ja/man3/js_word_delete.3.gz
+man/ja/man3/js_word_info.3.gz
+man/ja/man3/js_word_search.3.gz
+man/ja/man3/js_word_search_by_env.3.gz
+man/ja/man3/msg_close.3.gz
+man/ja/man3/msg_get.3.gz
+man/ja/man3/msg_open.3.gz
+man/ja/man3/romkan_clear.3.gz
+man/ja/man3/romkan_dispmode.3.gz
+man/ja/man3/romkan_getc.3.gz
+man/ja/man3/romkan_init.3.gz
+man/ja/man3/romkan_next.3.gz
+man/ja/man3/romkan_ungetc.3.gz