Ravenports generated: 08 Feb 2023 00:14
[ravenports.git] / bucket_96 / m17n-lib
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               m17n-lib
4 VERSION=                1.8.0
5 REVISION=               1
6 KEYWORDS=               textproc devel
7 VARIANTS=               standard
8 SDESC[standard]=        Multilingual text processing library
9 HOMEPAGE=               http://www.nongnu.org/m17n/
10 CONTACT=                nobody
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            SAVANNAH/m17n
14 DISTFILE[1]=            m17n-lib-1.8.0.tar.gz:main
15 DF_INDEX=               1
16 SPKGS[standard]=        single
17
18 OPTIONS_AVAILABLE=      none
19 OPTIONS_STANDARD=       none
20
21 BUILD_DEPENDS=          bison:primary:standard
22 BUILDRUN_DEPENDS=       freetype:primary:standard
23                         fribidi:single:standard
24                         libGD:single:standard
25                         libotf:single:standard
26                         m17n-db:single:standard
27
28 USES=                   autoreconf gettext:build libtool fontconfig
29                         pkgconfig
30 GNOME_COMPONENTS=       libxml2
31 XORG_COMPONENTS=        ice sm x11 xaw xft xmu xrender xt
32
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
38 LICENSE_SCHEME=         solo
39
40 FPC_EQUIVALENT=         devel/m17n-lib
41
42 MUST_CONFIGURE=         gnu
43 CONFIGURE_ARGS=         --disable-nls
44                         --without-anthy
45                         --without-libthai
46                         HAVE_ISPELL=no
47
48 SINGLE_JOB=             yes
49
50 INSTALL_TARGET=         install-strip
51 INSTALL_REQ_TOOLCHAIN=  yes
52 SOVERSION=              0.4.2
53
54 pre-configure-netbsd:
55         ${REINPLACE_CMD} -e 's/ -ldl//' ${WRKSRC}/src/Makefile.am
56
57 [FILE:730:descriptions/desc.single]
58 The m17n library provides following facilities to handle multilingual
59 text.
60
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.
65
66   * Functions for creating and processing M-texts.
67
68   * Functions for converting M-texts from/to strings encoded in
69     various existing formats.
70
71   * A huge character space, which contains all the Unicode
72     characters and more non-Unicode characters.
73
74   * Chartable: A data structure that contains per-character
75     information efficiently.
76
77   * Functions for inputting and displaying M-text on a window system.
78
79
80
81 [FILE:100:distinfo]
82 78bacae7451822dfff62482ce4f9433c5ae82846e4c64b590541e29e800fe64a      1091731 m17n-lib-1.8.0.tar.gz
83
84
85 [FILE:698:manifests/plist.single]
86 bin/
87  m17n-conv
88  m17n-date
89  m17n-dump
90  m17n-edit
91  m17n-view
92 include/
93  m17n-X.h
94  m17n-core.h
95  m17n-flt.h
96  m17n-gui.h
97  m17n-misc.h
98  m17n.h
99 lib/
100  libm17n-core.a
101  libm17n-core.so
102  libm17n-core.so.%%SOMAJOR%%
103  libm17n-core.so.%%SOVERSION%%
104  libm17n-flt.a
105  libm17n-flt.so
106  libm17n-flt.so.%%SOMAJOR%%
107  libm17n-flt.so.%%SOVERSION%%
108  libm17n-gui.a
109  libm17n-gui.so
110  libm17n-gui.so.%%SOMAJOR%%
111  libm17n-gui.so.%%SOVERSION%%
112  libm17n.a
113  libm17n.so
114  libm17n.so.%%SOMAJOR%%
115  libm17n.so.%%SOVERSION%%
116 lib/m17n/1.0/
117  libm17n-X.a
118  libm17n-X.so
119  libm17n-gd.a
120  libm17n-gd.so
121  libmimx-anthy.a
122  libmimx-anthy.so
123  libmimx-ispell.a
124  libmimx-ispell.so
125 lib/pkgconfig/
126  m17n-core.pc
127  m17n-flt.pc
128  m17n-gui.pc
129  m17n-shell.pc
130
131
132 [FILE:1636:patches/patch-configure.ac]
133 --- configure.ac.orig   2017-12-08 12:13:45 UTC
134 +++ configure.ac
135 @@ -344,6 +344,10 @@ LIBS="$save_LIBS"
136  AC_SUBST(XML2_LD_FLAGS)
137  
138  dnl Check for Anthy usability.
139 +AC_ARG_WITH(anthy,
140 +            AC_HELP_STRING([--with-anthy],
141 +                           [with Anthy library (default is YES)]))
142 +if test "x$with_anthy" != "xno"; then
143  
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"
149  fi
150 +
151 +fi
152  AC_SUBST(ANTHY_LD_FLAGS)
153  
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
163  
164  PKG_CHECK_MODULES(LIBTHAI, libthai, HAVE_LIBTHAI=yes, HAVE_LIBTHAI=no)
165  PKG_CHECK_MODULES(WORDCUT, wordcut, HAVE_WORDCUT=yes, HAVE_WORDCUT=no)
166  
167 -if test "x$HAVE_LIBTHAI" == "xyes"; then
168 +if test "x$HAVE_LIBTHAI" = "xyes"; then
169  
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])
175  fi
176 +
177 +fi
178  AC_SUBST(THAI_WORDSEG_LD_FLAGS)
179  
180  AC_SUBST(CONFIG_FLAGS)
181
182
183 [FILE:260:files/special.mk]
184 # Strip -ldl from all platforms except linux
185
186 .if "${OPSYS}" != "Linux"
187 _USES_configure+= 452:remove_libdl
188 .endif
189
190 remove_libdl:
191         @echo "BSD: Remove -ldl linkage"
192         ${REINPLACE_CMD} -e 's| -ldl||' \
193                 ${WRKSRC}/example/Makefile.am \
194                 ${WRKSRC}/src/Makefile.am
195