Ravenports generated: 24 Sep 2022 16:42
[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 KEYWORDS=               textproc devel
6 VARIANTS=               standard
7 SDESC[standard]=        Multilingual text processing library
8 HOMEPAGE=               http://www.nongnu.org/m17n/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            SAVANNAH/m17n
13 DISTFILE[1]=            m17n-lib-1.8.0.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 BUILD_DEPENDS=          bison:primary:standard
21 BUILDRUN_DEPENDS=       fontconfig:primary:standard
22                         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-tools libtool pkgconfig
29 GNOME_COMPONENTS=       libxml2
30 XORG_COMPONENTS=        ice sm x11 xaw xft xmu xrender xt
31
32 LICENSE=                LGPL21+:single
33 LICENSE_TERMS=          single:{{WRKDIR}}/TERMS
34 LICENSE_FILE=           LGPL21+:{{WRKSRC}}/COPYING
35 LICENSE_AWK=            TERMS:"_M17N_H_"
36 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/src/m17n.h
37 LICENSE_SCHEME=         solo
38
39 FPC_EQUIVALENT=         devel/m17n-lib
40
41 MUST_CONFIGURE=         gnu
42 CONFIGURE_ARGS=         --disable-nls
43                         --without-anthy
44                         --without-libthai
45                         HAVE_ISPELL=no
46
47 SINGLE_JOB=             yes
48
49 INSTALL_TARGET=         install-strip
50 INSTALL_REQ_TOOLCHAIN=  yes
51 SOVERSION=              0.4.2
52
53 pre-configure-netbsd:
54         ${REINPLACE_CMD} -e 's/ -ldl//' ${WRKSRC}/src/Makefile.am
55
56 [FILE:730:descriptions/desc.single]
57 The m17n library provides following facilities to handle multilingual
58 text.
59
60   * M-text: A data structure for a multilingual text.  It is
61     basically a string but with attributes called text property, and
62     is designed to substitute for the C string.  It is the most
63     important object of the m17n library.
64
65   * Functions for creating and processing M-texts.
66
67   * Functions for converting M-texts from/to strings encoded in
68     various existing formats.
69
70   * A huge character space, which contains all the Unicode
71     characters and more non-Unicode characters.
72
73   * Chartable: A data structure that contains per-character
74     information efficiently.
75
76   * Functions for inputting and displaying M-text on a window system.
77
78
79
80 [FILE:100:distinfo]
81 78bacae7451822dfff62482ce4f9433c5ae82846e4c64b590541e29e800fe64a      1091731 m17n-lib-1.8.0.tar.gz
82
83
84 [FILE:698:manifests/plist.single]
85 bin/
86  m17n-conv
87  m17n-date
88  m17n-dump
89  m17n-edit
90  m17n-view
91 include/
92  m17n-X.h
93  m17n-core.h
94  m17n-flt.h
95  m17n-gui.h
96  m17n-misc.h
97  m17n.h
98 lib/
99  libm17n-core.a
100  libm17n-core.so
101  libm17n-core.so.%%SOMAJOR%%
102  libm17n-core.so.%%SOVERSION%%
103  libm17n-flt.a
104  libm17n-flt.so
105  libm17n-flt.so.%%SOMAJOR%%
106  libm17n-flt.so.%%SOVERSION%%
107  libm17n-gui.a
108  libm17n-gui.so
109  libm17n-gui.so.%%SOMAJOR%%
110  libm17n-gui.so.%%SOVERSION%%
111  libm17n.a
112  libm17n.so
113  libm17n.so.%%SOMAJOR%%
114  libm17n.so.%%SOVERSION%%
115 lib/m17n/1.0/
116  libm17n-X.a
117  libm17n-X.so
118  libm17n-gd.a
119  libm17n-gd.so
120  libmimx-anthy.a
121  libmimx-anthy.so
122  libmimx-ispell.a
123  libmimx-ispell.so
124 lib/pkgconfig/
125  m17n-core.pc
126  m17n-flt.pc
127  m17n-gui.pc
128  m17n-shell.pc
129
130
131 [FILE:1636:patches/patch-configure.ac]
132 --- configure.ac.orig   2017-12-08 12:13:45 UTC
133 +++ configure.ac
134 @@ -344,6 +344,10 @@ LIBS="$save_LIBS"
135  AC_SUBST(XML2_LD_FLAGS)
136  
137  dnl Check for Anthy usability.
138 +AC_ARG_WITH(anthy,
139 +            AC_HELP_STRING([--with-anthy],
140 +                           [with Anthy library (default is YES)]))
141 +if test "x$with_anthy" != "xno"; then
142  
143  PKG_CHECK_MODULES(ANTHY, anthy, HAVE_ANTHY=yes, HAVE_ANTHY=no)
144  if test "x$HAVE_ANTHY" = "xyes"; then
145 @@ -353,6 +357,8 @@ if test "x$HAVE_ANTHY" = "xyes"; then
146    ANTHY_LD_FLAGS="$ANTHY_LIBS"
147    CONFIG_FLAGS="$CONFIG_FLAGS -DHAVE_ANTHY"
148  fi
149 +
150 +fi
151  AC_SUBST(ANTHY_LD_FLAGS)
152  
153  dnl Check for Ispell usability.
154 @@ -367,11 +373,15 @@ dnl Check for Thai word-segmentation lib
155  dnl If we have one, define HAVE_THAI_WORDSEG and one of these:
156  dnl   HAVE_LIBTHAI, HAVE_WORDCUT, or HAVE_WORDCUT_OLD
157  dnl In addition, set THAI_WORDSEG_LD_FLAGS to a proper value.
158 +AC_ARG_WITH(libthai,
159 +            AC_HELP_STRING([--with-libthai],
160 +                           [with libThai library (default is YES)]))
161 +if test "x$with_libthai" != "xno"; then
162  
163  PKG_CHECK_MODULES(LIBTHAI, libthai, HAVE_LIBTHAI=yes, HAVE_LIBTHAI=no)
164  PKG_CHECK_MODULES(WORDCUT, wordcut, HAVE_WORDCUT=yes, HAVE_WORDCUT=no)
165  
166 -if test "x$HAVE_LIBTHAI" == "xyes"; then
167 +if test "x$HAVE_LIBTHAI" = "xyes"; then
168  
169    AC_DEFINE(HAVE_LIBTHAI, 1, [Define if you have libthai])
170    THAI_WORDSEG_LD_FLAGS="$LIBTHAI_LIBS"
171 @@ -427,6 +437,8 @@ if test "x$HAVE_THAI_WORDSEG" = "xyes";
172    AC_DEFINE(HAVE_THAI_WORDSEG, 1,
173              [Define if you have some Thai word-segmentation library])
174  fi
175 +
176 +fi
177  AC_SUBST(THAI_WORDSEG_LD_FLAGS)
178  
179  AC_SUBST(CONFIG_FLAGS)
180