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
28 BUILDRUN_DEPENDS= fribidi:primary:standard
30 libotf:single:standard
31 m17n-db:primary:standard
32 EXRUN[tools]= m17n-lib:primary:standard
34 USES= autoreconf gettext:build libtool fontconfig
36 GNOME_COMPONENTS= libxml2
37 XORG_COMPONENTS= ice sm x11 xaw xft xmu xrender xt
39 LICENSE= LGPL21+:primary
40 LICENSE_TERMS= primary:{{WRKDIR}}/TERMS
41 LICENSE_FILE= LGPL21+:{{WRKSRC}}/COPYING
42 LICENSE_AWK= TERMS:"_M17N_H_"
43 LICENSE_SOURCE= TERMS:{{WRKSRC}}/src/m17n.h
46 FPC_EQUIVALENT= devel/m17n-lib
49 CONFIGURE_ARGS= --disable-nls
56 INSTALL_TARGET= install-strip
57 INSTALL_REQ_TOOLCHAIN= yes
61 ${REINPLACE_CMD} -e 's/ -ldl//' ${WRKSRC}/src/Makefile.am
63 [FILE:730:descriptions/desc.primary]
64 The m17n library provides following facilities to handle multilingual
67 * M-text: A data structure for a multilingual text. It is
68 basically a string but with attributes called text property, and
69 is designed to substitute for the C string. It is the most
70 important object of the m17n library.
72 * Functions for creating and processing M-texts.
74 * Functions for converting M-texts from/to strings encoded in
75 various existing formats.
77 * A huge character space, which contains all the Unicode
78 characters and more non-Unicode characters.
80 * Chartable: A data structure that contains per-character
81 information efficiently.
83 * Functions for inputting and displaying M-text on a window system.
87 [FILE:34:descriptions/desc.tools]
88 This package contains m17n tools.
92 c6a2582c6e4f2a8c2e7a2844fa5c7eb363aad2538b052f203c710649dd421cc8 1119271 m17n-lib-1.8.4.tar.gz
95 [FILE:311:manifests/plist.primary]
97 libm17n-core.so.%%SOMAJOR%%
98 libm17n-core.so.%%SOVERSION%%
99 libm17n-flt.so.%%SOMAJOR%%
100 libm17n-flt.so.%%SOVERSION%%
101 libm17n-gui.so.%%SOMAJOR%%
102 libm17n-gui.so.%%SOVERSION%%
103 libm17n.so.%%SOMAJOR%%
104 libm17n.so.%%SOVERSION%%
112 [FILE:60:manifests/plist.tools]
121 [FILE:346:manifests/plist.dev]
150 [FILE:1636:patches/patch-configure.ac]
151 --- configure.ac.orig 2023-07-25 08:40:51 UTC
153 @@ -331,6 +331,10 @@ LIBS="$save_LIBS"
154 AC_SUBST(XML2_LD_FLAGS)
156 dnl Check for Anthy usability.
158 + AC_HELP_STRING([--with-anthy],
159 + [with Anthy library (default is YES)]))
160 +if test "x$with_anthy" != "xno"; then
162 PKG_CHECK_MODULES(ANTHY, anthy, HAVE_ANTHY=yes, HAVE_ANTHY=no)
163 if test "x$HAVE_ANTHY" = "xyes"; then
164 @@ -340,6 +344,8 @@ if test "x$HAVE_ANTHY" = "xyes"; then
165 ANTHY_LD_FLAGS="$ANTHY_LIBS"
166 CONFIG_FLAGS="$CONFIG_FLAGS -DHAVE_ANTHY"
170 AC_SUBST(ANTHY_LD_FLAGS)
172 dnl Check for Ispell usability.
173 @@ -354,11 +360,15 @@ dnl Check for Thai word-segmentation lib
174 dnl If we have one, define HAVE_THAI_WORDSEG and one of these:
175 dnl HAVE_LIBTHAI, HAVE_WORDCUT, or HAVE_WORDCUT_OLD
176 dnl In addition, set THAI_WORDSEG_LD_FLAGS to a proper value.
177 +AC_ARG_WITH(libthai,
178 + AC_HELP_STRING([--with-libthai],
179 + [with libThai library (default is YES)]))
180 +if test "x$with_libthai" != "xno"; then
182 PKG_CHECK_MODULES(LIBTHAI, libthai, HAVE_LIBTHAI=yes, HAVE_LIBTHAI=no)
183 PKG_CHECK_MODULES(WORDCUT, wordcut, HAVE_WORDCUT=yes, HAVE_WORDCUT=no)
185 -if test "x$HAVE_LIBTHAI" == "xyes"; then
186 +if test "x$HAVE_LIBTHAI" = "xyes"; then
188 AC_DEFINE(HAVE_LIBTHAI, 1, [Define if you have libthai])
189 THAI_WORDSEG_LD_FLAGS="$LIBTHAI_LIBS"
190 @@ -414,6 +424,8 @@ if test "x$HAVE_THAI_WORDSEG" = "xyes";
191 AC_DEFINE(HAVE_THAI_WORDSEG, 1,
192 [Define if you have some Thai word-segmentation library])
196 AC_SUBST(THAI_WORDSEG_LD_FLAGS)
198 AC_SUBST(CONFIG_FLAGS)
201 [FILE:260:files/special.mk]
202 # Strip -ldl from all platforms except linux
204 .if "${OPSYS}" != "Linux"
205 _USES_configure+= 452:remove_libdl
209 @echo "BSD: Remove -ldl linkage"
210 ${REINPLACE_CMD} -e 's| -ldl||' \
211 ${WRKSRC}/example/Makefile.am \
212 ${WRKSRC}/src/Makefile.am