Add m17n-lib, a library which 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.

WWW: http://www.m17n.org/m17n-lib/

PR:		ports/67332
Submitted by:	Kimura Fuyuki <fuyuki@hadaly.org>
This commit is contained in:
Pav Lucistnik 2004-05-29 17:45:46 +00:00
parent 59e97e2bbf
commit 32127bb038
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110301
5 changed files with 110 additions and 0 deletions

View file

@ -470,6 +470,7 @@
SUBDIR += log4cpp
SUBDIR += lwp
SUBDIR += m17n-db
SUBDIR += m17n-lib
SUBDIR += m4
SUBDIR += m6811-binutils
SUBDIR += m6811-gcc

53
devel/m17n-lib/Makefile Normal file
View file

@ -0,0 +1,53 @@
# New ports collection makefile for: m17n-lib
# Date created: 29 May 2004
# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
#
# $FreeBSD$
#
PORTNAME= m17n-lib
PORTVERSION= 1.0.2
CATEGORIES= devel
MASTER_SITES= http://www.m17n.org/m17n-lib/download/
MAINTAINER= fuyuki@hadaly.org
COMMENT= A library for the multilingual text handling
LIB_DEPENDS= fribidi.0:${PORTSDIR}/converters/fribidi \
otf.0:${PORTSDIR}/print/libotf
BUILD_DEPENDS= ${LOCALBASE}/share/m17n/mdb.dir:${PORTSDIR}/devel/m17n-db
RUN_DEPENDS= ${LOCALBASE}/share/m17n/mdb.dir:${PORTSDIR}/devel/m17n-db
USE_REINPLACE= yes
USE_XLIB= yes
USE_GNOME= libxml2
USE_LIBTOOL_VER= 15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE= yes
MAKE_ARGS= libm17n_la_LDFLAGS=
INSTALLS_SHLIB= yes
OPTIONS= ANTHY "With Anthy support" off \
ISPELL "With Ispell support" off
.include <bsd.port.pre.mk>
.ifdef WITH_ANTHY
LIB_DEPENDS+= anthy.0:${PORTSDIR}/japanese/anthy
.else
CONFIGURE_ENV+= ac_cv_lib_anthydic_anthy_init_sessions=no
.endif
.ifdef WITH_ISPELL
BUILD_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell
RUN_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell
.else
CONFIGURE_ENV+= HAVE_ISPELL=no
.endif
post-patch:
${REINPLACE_CMD} -e 's|/usr/include/libxml2|${LOCALBASE}/include/libxml2|' \
${WRKSRC}/configure
.include <bsd.port.post.mk>

2
devel/m17n-lib/distinfo Normal file
View file

@ -0,0 +1,2 @@
MD5 (m17n-lib-1.0.2.tar.gz) = 6e2d5088d666fca4ed06357000385932
SIZE (m17n-lib-1.0.2.tar.gz) = 478985

23
devel/m17n-lib/pkg-descr Normal file
View file

@ -0,0 +1,23 @@
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.
WWW: http://www.m17n.org/m17n-lib/

31
devel/m17n-lib/pkg-plist Normal file
View file

@ -0,0 +1,31 @@
bin/m17n-config
bin/mconv
bin/mdate
bin/mdump
bin/medit
bin/mview
include/m17n-X.h
include/m17n-core.h
include/m17n-gui.h
include/m17n-misc.h
include/m17n.h
lib/libm17n-X.a
lib/libm17n-X.la
lib/libm17n-X.so
lib/libm17n-X.so.0
lib/libm17n-core.a
lib/libm17n-core.la
lib/libm17n-core.so
lib/libm17n-core.so.0
lib/libm17n.a
lib/libm17n.la
lib/libm17n.so
lib/libm17n.so.0
lib/libmimx-anthy.a
lib/libmimx-anthy.la
lib/libmimx-anthy.so
lib/libmimx-anthy.so.0
lib/libmimx-ispell.a
lib/libmimx-ispell.la
lib/libmimx-ispell.so
lib/libmimx-ispell.so.0