# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= m17n-lib VERSION= 1.8.6 KEYWORDS= textproc devel VARIANTS= std SDESC[std]= Multilingual text processing library HOMEPAGE= http://www.nongnu.org/m17n/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= SAVANNAH/m17n DISTFILE[1]= m17n-lib-1.8.6.tar.gz:main DF_INDEX= 1 SPKGS[std]= set primary tools dev OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none BUILD_DEPENDS= bison:primary:std m17n-db:dev:std freetype:dev:std fribidi:dev:std libGD:dev:std libotf:dev:std BUILDRUN_DEPENDS= fribidi:primary:std libGD:primary:std libotf:primary:std m17n-db:primary:std EXRUN[tools]= m17n-lib:primary:std USES= autoreconf gettext:build libtool pkgconfig GNOME_COMPONENTS= libxml2 XORG_COMPONENTS= ice sm x11 xaw xft xmu xrender xt LICENSE= LGPL21+:primary LICENSE_TERMS= primary:{{WRKDIR}}/TERMS LICENSE_FILE= LGPL21+:{{WRKSRC}}/COPYING LICENSE_AWK= TERMS:"_M17N_H_" LICENSE_SOURCE= TERMS:{{WRKSRC}}/src/m17n.h LICENSE_SCHEME= solo FPC_EQUIVALENT= devel/m17n-lib MUST_CONFIGURE= gnu CONFIGURE_ARGS= --disable-nls --without-anthy --without-libthai HAVE_ISPELL=no SINGLE_JOB= yes INSTALL_TARGET= install-strip INSTALL_REQ_TOOLCHAIN= yes SOVERSION= 0.4.2 pre-configure-netbsd: ${REINPLACE_CMD} -e 's/ -ldl//' ${WRKSRC}/src/Makefile.am [FILE:730:descriptions/desc.primary] The m17n library provides following facilities to handle multilingual text. * M-text: A data structure for a multilingual text. It is basically a string but with attributes called text property, and is designed to substitute for the C string. It is the most important object of the m17n library. * Functions for creating and processing M-texts. * Functions for converting M-texts from/to strings encoded in various existing formats. * A huge character space, which contains all the Unicode characters and more non-Unicode characters. * Chartable: A data structure that contains per-character information efficiently. * Functions for inputting and displaying M-text on a window system. [FILE:34:descriptions/desc.tools] This package contains m17n tools. [FILE:100:distinfo] 7129fe3b7ad500f88b8af8605ef07b96c87a75ec986a695fffc0a409f44a7c86 1134862 m17n-lib-1.8.6.tar.gz [FILE:311:manifests/plist.primary] lib/ libm17n-core.so.%%SOMAJOR%% libm17n-core.so.%%SOVERSION%% libm17n-flt.so.%%SOMAJOR%% libm17n-flt.so.%%SOVERSION%% libm17n-gui.so.%%SOMAJOR%% libm17n-gui.so.%%SOVERSION%% libm17n.so.%%SOMAJOR%% libm17n.so.%%SOVERSION%% lib/m17n/1.0/ libm17n-X.so libm17n-gd.so libmimx-anthy.so libmimx-ispell.so [FILE:77:manifests/plist.tools] bin/ m17n-conv m17n-date m17n-dump m17n-edit m17n-input-test m17n-view [FILE:346:manifests/plist.dev] include/ m17n-X.h m17n-core.h m17n-flt.h m17n-gui.h m17n-misc.h m17n.h lib/ libm17n-core.a libm17n-core.so libm17n-flt.a libm17n-flt.so libm17n-gui.a libm17n-gui.so libm17n.a libm17n.so lib/m17n/1.0/ libm17n-X.a libm17n-gd.a libmimx-anthy.a libmimx-ispell.a lib/pkgconfig/ m17n-core.pc m17n-flt.pc m17n-gui.pc m17n-shell.pc [FILE:1368:patches/patch-configure.ac] --- configure.ac.orig 2025-02-12 21:16:22 UTC +++ configure.ac @@ -331,6 +331,10 @@ LIBS="$save_LIBS" AC_SUBST(XML2_LD_FLAGS) dnl Check for Anthy usability. +AC_ARG_WITH(anthy, + AC_HELP_STRING([--with-anthy], + [with Anthy library (default is YES)])) +if test "x$with_anthy" != "xno"; then ANTHY_CFLAGS="" ANTHY_LIBS="" @@ -354,6 +358,7 @@ if test "x$HAVE_ANTHY" = "xyes"; then ANTHY_LD_FLAGS="$ANTHY_LIBS" CONFIG_FLAGS="$CONFIG_FLAGS -DHAVE_ANTHY" fi +fi AC_SUBST(ANTHY_LD_CFLAGS) AC_SUBST(ANTHY_LD_FLAGS) @@ -370,6 +375,10 @@ dnl Check for Thai word-segmentation lib dnl If we have one, define HAVE_THAI_WORDSEG and one of these: dnl HAVE_LIBTHAI, HAVE_WORDCUT, or HAVE_WORDCUT_OLD dnl In addition, set THAI_WORDSEG_LD_FLAGS to a proper value. +AC_ARG_WITH(libthai, + AC_HELP_STRING([--with-libthai], + [with libThai library (default is YES)])) +if test "x$with_libthai" != "xno"; then PKG_CHECK_MODULES(LIBTHAI, libthai, HAVE_LIBTHAI=yes, HAVE_LIBTHAI=no) PKG_CHECK_MODULES(WORDCUT, wordcut, HAVE_WORDCUT=yes, HAVE_WORDCUT=no) @@ -430,6 +439,8 @@ if test "x$HAVE_THAI_WORDSEG" = "xyes"; AC_DEFINE(HAVE_THAI_WORDSEG, 1, [Define if you have some Thai word-segmentation library]) fi + +fi AC_SUBST(THAI_WORDSEG_LD_FLAGS) AC_SUBST(CONFIG_FLAGS) [FILE:260:files/special.mk] # Strip -ldl from all platforms except linux .if "${OPSYS}" != "Linux" _USES_configure+= 452:remove_libdl .endif remove_libdl: @echo "BSD: Remove -ldl linkage" ${REINPLACE_CMD} -e 's| -ldl||' \ ${WRKSRC}/example/Makefile.am \ ${WRKSRC}/src/Makefile.am