Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 May 2004 18:53:39 +0900
From:      Kimura Fuyuki <fuyuki@hadaly.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/67332: New port: devel/m17n-lib
Message-ID:  <86fz9j1rvg.wl%fuyuki@hadaly.org>
Resent-Message-ID: <200405291000.i4TA0fqW029747@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         67332
>Category:       ports
>Synopsis:       New port: devel/m17n-lib
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 29 03:00:41 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kimura Fuyuki
>Release:        FreeBSD 5.2.1-RELEASE-p8 i386
>Organization:
>Environment:

  FreeBSD ns.nigredo.org 5.2.1-RELEASE-p8 i386

>Description:
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/

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	m17n-lib
#	m17n-lib/distinfo
#	m17n-lib/pkg-descr
#	m17n-lib/pkg-plist
#	m17n-lib/Makefile
#
echo c - m17n-lib
mkdir -p m17n-lib > /dev/null 2>&1
echo x - m17n-lib/distinfo
sed 's/^X//' >m17n-lib/distinfo << 'END-of-m17n-lib/distinfo'
XMD5 (m17n-lib-1.0.2.tar.gz) = 6e2d5088d666fca4ed06357000385932
XSIZE (m17n-lib-1.0.2.tar.gz) = 478985
END-of-m17n-lib/distinfo
echo x - m17n-lib/pkg-descr
sed 's/^X//' >m17n-lib/pkg-descr << 'END-of-m17n-lib/pkg-descr'
XThe m17n library provides following facilities to handle multilingual
Xtext.
X
X    * M-text: A data structure for a multilingual text.  It is
X      basically a string but with attributes called text property, and
X      is designed to substitute for the C string.  It is the most
X      important object of the m17n library.
X
X    * Functions for creating and processing M-texts.
X
X    * Functions for converting M-texts from/to strings encoded in
X      various existing formats.
X
X    * A huge character space, which contains all the Unicode
X      characters and more non-Unicode characters.
X
X    * Chartable: A data structure that contains per-character
X      information efficiently.
X
X    * Functions for inputting and displaying M-text on a window
X      system.
X
XWWW: http://www.m17n.org/m17n-lib/
END-of-m17n-lib/pkg-descr
echo x - m17n-lib/pkg-plist
sed 's/^X//' >m17n-lib/pkg-plist << 'END-of-m17n-lib/pkg-plist'
Xbin/m17n-config
Xbin/mconv
Xbin/mdate
Xbin/mdump
Xbin/medit
Xbin/mview
Xinclude/m17n-X.h
Xinclude/m17n-core.h
Xinclude/m17n-gui.h
Xinclude/m17n-misc.h
Xinclude/m17n.h
Xlib/libm17n-X.a
Xlib/libm17n-X.la
Xlib/libm17n-X.so
Xlib/libm17n-X.so.0
Xlib/libm17n-core.a
Xlib/libm17n-core.la
Xlib/libm17n-core.so
Xlib/libm17n-core.so.0
Xlib/libm17n.a
Xlib/libm17n.la
Xlib/libm17n.so
Xlib/libm17n.so.0
X%%ANTHY%%lib/libmimx-anthy.a
X%%ANTHY%%lib/libmimx-anthy.la
X%%ANTHY%%lib/libmimx-anthy.so
X%%ANTHY%%lib/libmimx-anthy.so.0
X%%ISPELL%%lib/libmimx-ispell.a
X%%ISPELL%%lib/libmimx-ispell.la
X%%ISPELL%%lib/libmimx-ispell.so
X%%ISPELL%%lib/libmimx-ispell.so.0
END-of-m17n-lib/pkg-plist
echo x - m17n-lib/Makefile
sed 's/^X//' >m17n-lib/Makefile << 'END-of-m17n-lib/Makefile'
X# New ports collection makefile for:   m17n-lib
X# Date created:                29 May 2004
X# Whom:                        Kimura Fuyuki <fuyuki@hadaly.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	m17n-lib
XPORTVERSION=	1.0.2
XCATEGORIES=	devel
XMASTER_SITES=	http://www.m17n.org/m17n-lib/download/
X
XMAINTAINER=	fuyuki@hadaly.org
XCOMMENT=	A library for the multilingual text handling
X
XLIB_DEPENDS=	fribidi.0:${PORTSDIR}/converters/fribidi \
X		otf.0:${PORTSDIR}/print/libotf
XBUILD_DEPENDS=	${LOCALBASE}/share/m17n/mdb.dir:${PORTSDIR}/devel/m17n-db
XRUN_DEPENDS=	${LOCALBASE}/share/m17n/mdb.dir:${PORTSDIR}/devel/m17n-db
X
XUSE_REINPLACE=	yes
XUSE_XLIB=	yes
XUSE_GNOME=	libxml2
XUSE_LIBTOOL_VER=	15
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
X		LDFLAGS="-L${LOCALBASE}/lib"
XUSE_GMAKE=	yes
XMAKE_ARGS=	libm17n_la_LDFLAGS=
XINSTALLS_SHLIB=	yes
X
XOPTIONS=	ANTHY	"With Anthy support" off \
X		ISPELL	"With Ispell support" off
X
X.include <bsd.port.pre.mk>
X
X.ifdef WITH_ANTHY
XLIB_DEPENDS+=	anthy.0:${PORTSDIR}/japanese/anthy
XPLIST_SUB+=	ANTHY=""
X.else
XCONFIGURE_ENV+=	ac_cv_lib_anthydic_anthy_init_sessions=no
XPLIST_SUB+=	ANTHY="@comment "
X.endif
X
X.ifdef WITH_ISPELL
XBUILD_DEPENDS+=	ispell:${PORTSDIR}/textproc/ispell
XRUN_DEPENDS+=	ispell:${PORTSDIR}/textproc/ispell
XPLIST_SUB+=	ISPELL=""
X.else
XCONFIGURE_ENV+=	HAVE_ISPELL=no
XPLIST_SUB+=	ISPELL="@comment "
X.endif
X
Xpost-patch:
X	${REINPLACE_CMD} -e 's|/usr/include/libxml2|${LOCALBASE}/include/libxml2|' \
X		${WRKSRC}/configure
X
X.include <bsd.port.post.mk>
END-of-m17n-lib/Makefile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86fz9j1rvg.wl%fuyuki>