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.4.tar.gz:main
16 SPKGS[standard]= complete
21 OPTIONS_AVAILABLE= none
22 OPTIONS_STANDARD= none
24 BUILD_DEPENDS= bison:primary:standard
27 BUILDRUN_DEPENDS= fribidi:single:standard
29 libotf:single:standard
30 m17n-db:primary:standard
31 EXRUN[tools]= m17n-lib:primary:standard
33 USES= autoreconf gettext:build libtool fontconfig
35 GNOME_COMPONENTS= libxml2
36 XORG_COMPONENTS= ice sm x11 xaw xft xmu xrender xt
38 LICENSE= LGPL21+:primary
39 LICENSE_TERMS= primary:{{WRKDIR}}/TERMS
40 LICENSE_FILE= LGPL21+:{{WRKSRC}}/COPYING
41 LICENSE_AWK= TERMS:"_M17N_H_"
42 LICENSE_SOURCE= TERMS:{{WRKSRC}}/src/m17n.h
45 FPC_EQUIVALENT= devel/m17n-lib
48 CONFIGURE_ARGS= --disable-nls
55 INSTALL_TARGET= install-strip
56 INSTALL_REQ_TOOLCHAIN= yes
60 ${REINPLACE_CMD} -e 's/ -ldl//' ${WRKSRC}/src/Makefile.am
62 [FILE:730:descriptions/desc.primary]
63 The m17n library provides following facilities to handle multilingual
66 * M-text: A data structure for a multilingual text. It is
67 basically a string but with attributes called text property, and
68 is designed to substitute for the C string. It is the most
69 important object of the m17n library.
71 * Functions for creating and processing M-texts.
73 * Functions for converting M-texts from/to strings encoded in
74 various existing formats.
76 * A huge character space, which contains all the Unicode
77 characters and more non-Unicode characters.
79 * Chartable: A data structure that contains per-character
80 information efficiently.
82 * Functions for inputting and displaying M-text on a window system.
86 [FILE:34:descriptions/desc.tools]
87 This package contains m17n tools.
91 c6a2582c6e4f2a8c2e7a2844fa5c7eb363aad2538b052f203c710649dd421cc8 1119271 m17n-lib-1.8.4.tar.gz
94 [FILE:311:manifests/plist.primary]
96 libm17n-core.so.%%SOMAJOR%%
97 libm17n-core.so.%%SOVERSION%%
98 libm17n-flt.so.%%SOMAJOR%%
99 libm17n-flt.so.%%SOVERSION%%
100 libm17n-gui.so.%%SOMAJOR%%
101 libm17n-gui.so.%%SOVERSION%%
102 libm17n.so.%%SOMAJOR%%
103 libm17n.so.%%SOVERSION%%
111 [FILE:60:manifests/plist.tools]
120 [FILE:346:manifests/plist.dev]
149 [FILE:1636:patches/patch-configure.ac]
150 --- configure.ac.orig 2023-07-25 08:40:51 UTC
152 @@ -331,6 +331,10 @@ LIBS="$save_LIBS"
153 AC_SUBST(XML2_LD_FLAGS)
155 dnl Check for Anthy usability.
157 + AC_HELP_STRING([--with-anthy],
158 + [with Anthy library (default is YES)]))
159 +if test "x$with_anthy" != "xno"; then
161 PKG_CHECK_MODULES(ANTHY, anthy, HAVE_ANTHY=yes, HAVE_ANTHY=no)
162 if test "x$HAVE_ANTHY" = "xyes"; then
163 @@ -340,6 +344,8 @@ if test "x$HAVE_ANTHY" = "xyes"; then
164 ANTHY_LD_FLAGS="$ANTHY_LIBS"
165 CONFIG_FLAGS="$CONFIG_FLAGS -DHAVE_ANTHY"
169 AC_SUBST(ANTHY_LD_FLAGS)
171 dnl Check for Ispell usability.
172 @@ -354,11 +360,15 @@ dnl Check for Thai word-segmentation lib
173 dnl If we have one, define HAVE_THAI_WORDSEG and one of these:
174 dnl HAVE_LIBTHAI, HAVE_WORDCUT, or HAVE_WORDCUT_OLD
175 dnl In addition, set THAI_WORDSEG_LD_FLAGS to a proper value.
176 +AC_ARG_WITH(libthai,
177 + AC_HELP_STRING([--with-libthai],
178 + [with libThai library (default is YES)]))
179 +if test "x$with_libthai" != "xno"; then
181 PKG_CHECK_MODULES(LIBTHAI, libthai, HAVE_LIBTHAI=yes, HAVE_LIBTHAI=no)
182 PKG_CHECK_MODULES(WORDCUT, wordcut, HAVE_WORDCUT=yes, HAVE_WORDCUT=no)
184 -if test "x$HAVE_LIBTHAI" == "xyes"; then
185 +if test "x$HAVE_LIBTHAI" = "xyes"; then
187 AC_DEFINE(HAVE_LIBTHAI, 1, [Define if you have libthai])
188 THAI_WORDSEG_LD_FLAGS="$LIBTHAI_LIBS"
189 @@ -414,6 +424,8 @@ if test "x$HAVE_THAI_WORDSEG" = "xyes";
190 AC_DEFINE(HAVE_THAI_WORDSEG, 1,
191 [Define if you have some Thai word-segmentation library])
195 AC_SUBST(THAI_WORDSEG_LD_FLAGS)
197 AC_SUBST(CONFIG_FLAGS)
200 [FILE:260:files/special.mk]
201 # Strip -ldl from all platforms except linux
203 .if "${OPSYS}" != "Linux"
204 _USES_configure+= 452:remove_libdl
208 @echo "BSD: Remove -ldl linkage"
209 ${REINPLACE_CMD} -e 's| -ldl||' \
210 ${WRKSRC}/example/Makefile.am \
211 ${WRKSRC}/src/Makefile.am