1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
6 KEYWORDS= textproc devel
8 SDESC[standard]= Multilingual text processing library
9 HOMEPAGE= http://www.nongnu.org/m17n/
13 SITES[main]= SAVANNAH/m17n
14 DISTFILE[1]= m17n-lib-1.8.0.tar.gz:main
16 SPKGS[standard]= single
18 OPTIONS_AVAILABLE= none
19 OPTIONS_STANDARD= none
21 BUILD_DEPENDS= bison:primary:standard
22 BUILDRUN_DEPENDS= fontconfig:primary:standard
23 freetype:primary:standard
24 fribidi:single:standard
26 libotf:single:standard
27 m17n-db:single:standard
29 USES= autoreconf gettext-tools libtool pkgconfig
30 GNOME_COMPONENTS= libxml2
31 XORG_COMPONENTS= ice sm x11 xaw xft xmu xrender xt
33 LICENSE= LGPL21+:single
34 LICENSE_TERMS= single:{{WRKDIR}}/TERMS
35 LICENSE_FILE= LGPL21+:{{WRKSRC}}/COPYING
36 LICENSE_AWK= TERMS:"_M17N_H_"
37 LICENSE_SOURCE= TERMS:{{WRKSRC}}/src/m17n.h
40 FPC_EQUIVALENT= devel/m17n-lib
43 CONFIGURE_ARGS= --disable-nls
50 INSTALL_TARGET= install-strip
51 INSTALL_REQ_TOOLCHAIN= yes
55 ${REINPLACE_CMD} -e 's/ -ldl//' ${WRKSRC}/src/Makefile.am
57 [FILE:730:descriptions/desc.single]
58 The m17n library provides following facilities to handle multilingual
61 * M-text: A data structure for a multilingual text. It is
62 basically a string but with attributes called text property, and
63 is designed to substitute for the C string. It is the most
64 important object of the m17n library.
66 * Functions for creating and processing M-texts.
68 * Functions for converting M-texts from/to strings encoded in
69 various existing formats.
71 * A huge character space, which contains all the Unicode
72 characters and more non-Unicode characters.
74 * Chartable: A data structure that contains per-character
75 information efficiently.
77 * Functions for inputting and displaying M-text on a window system.
82 78bacae7451822dfff62482ce4f9433c5ae82846e4c64b590541e29e800fe64a 1091731 m17n-lib-1.8.0.tar.gz
85 [FILE:698:manifests/plist.single]
102 libm17n-core.so.%%SOMAJOR%%
103 libm17n-core.so.%%SOVERSION%%
106 libm17n-flt.so.%%SOMAJOR%%
107 libm17n-flt.so.%%SOVERSION%%
110 libm17n-gui.so.%%SOMAJOR%%
111 libm17n-gui.so.%%SOVERSION%%
114 libm17n.so.%%SOMAJOR%%
115 libm17n.so.%%SOVERSION%%
132 [FILE:1636:patches/patch-configure.ac]
133 --- configure.ac.orig 2017-12-08 12:13:45 UTC
135 @@ -344,6 +344,10 @@ LIBS="$save_LIBS"
136 AC_SUBST(XML2_LD_FLAGS)
138 dnl Check for Anthy usability.
140 + AC_HELP_STRING([--with-anthy],
141 + [with Anthy library (default is YES)]))
142 +if test "x$with_anthy" != "xno"; then
144 PKG_CHECK_MODULES(ANTHY, anthy, HAVE_ANTHY=yes, HAVE_ANTHY=no)
145 if test "x$HAVE_ANTHY" = "xyes"; then
146 @@ -353,6 +357,8 @@ if test "x$HAVE_ANTHY" = "xyes"; then
147 ANTHY_LD_FLAGS="$ANTHY_LIBS"
148 CONFIG_FLAGS="$CONFIG_FLAGS -DHAVE_ANTHY"
152 AC_SUBST(ANTHY_LD_FLAGS)
154 dnl Check for Ispell usability.
155 @@ -367,11 +373,15 @@ dnl Check for Thai word-segmentation lib
156 dnl If we have one, define HAVE_THAI_WORDSEG and one of these:
157 dnl HAVE_LIBTHAI, HAVE_WORDCUT, or HAVE_WORDCUT_OLD
158 dnl In addition, set THAI_WORDSEG_LD_FLAGS to a proper value.
159 +AC_ARG_WITH(libthai,
160 + AC_HELP_STRING([--with-libthai],
161 + [with libThai library (default is YES)]))
162 +if test "x$with_libthai" != "xno"; then
164 PKG_CHECK_MODULES(LIBTHAI, libthai, HAVE_LIBTHAI=yes, HAVE_LIBTHAI=no)
165 PKG_CHECK_MODULES(WORDCUT, wordcut, HAVE_WORDCUT=yes, HAVE_WORDCUT=no)
167 -if test "x$HAVE_LIBTHAI" == "xyes"; then
168 +if test "x$HAVE_LIBTHAI" = "xyes"; then
170 AC_DEFINE(HAVE_LIBTHAI, 1, [Define if you have libthai])
171 THAI_WORDSEG_LD_FLAGS="$LIBTHAI_LIBS"
172 @@ -427,6 +437,8 @@ if test "x$HAVE_THAI_WORDSEG" = "xyes";
173 AC_DEFINE(HAVE_THAI_WORDSEG, 1,
174 [Define if you have some Thai word-segmentation library])
178 AC_SUBST(THAI_WORDSEG_LD_FLAGS)
180 AC_SUBST(CONFIG_FLAGS)
183 [FILE:260:files/special.mk]
184 # Strip -ldl from all platforms except linux
186 .if "${OPSYS}" != "Linux"
187 _USES_configure+= 452:remove_libdl
191 @echo "BSD: Remove -ldl linkage"
192 ${REINPLACE_CMD} -e 's| -ldl||' \
193 ${WRKSRC}/example/Makefile.am \
194 ${WRKSRC}/src/Makefile.am