a project to simplify installation of open source software
on Mac OS X and Darwin
PortSystem 1.0
name libtabe
version 0.2.6
categories devel textproc
maintainers digdog@macports.org
description Chinese lexicons library for input method xcin, etc.
long_description libtabe, the Taiwan and Big5 Encoding Library, is a \
library which provides useful Chinese functions & routines \
that deal with many fundemental elements such as \
pronunciation (BoPoMoFo), character frequency, word \
identification, word frequency.
homepage http://xcin.linux.org.tw/libtabe/
platforms darwin freebsd
master_sites http://nl.lunar-linux.org/lunar/sources/sources/
checksums md5 924814d598b1f02ecf596bf598363b1b
worksrcdir ${name}
depends_lib lib:libdb-3:db3
patch { reinplace "s|allow_undefined_flag='-undefined suppress'|allow_undefined_flag='-flat_namespace -undefined suppress'|g" ${worksrcpath}/configure}
configure.args --with-db-inc=${prefix}/include/db3 \
--with-db-lib=${prefix}/lib \
--with-db-bin=${prefix}/bin
destroot.destdir prefix=${destroot}${prefix}