# $Id: Portfile,v 1.1 2005/12/31 00:12:15 mww Exp $

PortSystem 1.0

name			libtranslate
version			0.99
categories		textproc
platforms		darwin
maintainers		darwinports@opendarwin.org
description		A natural language translation library
long_description	libtranslate is a library for translating text and web \
				pages between natural languages. Its modular infrastructure \
				allows to implement new translation services separately from \
				the core library. libtranslate is shipped with a generic \
				module supporting web-based translation services such as Babel \
				Fish, Google Language Tools and SYSTRAN. Moreover, the generic \
				module allows to add new services simply by adding a few lines \
				to a XML file. The libtranslate distribution includes a \
				powerful command line interface (see translate(1)).

homepage		http://www.nongnu.org/libtranslate/
master_sites	http://download.savannah.nongnu.org/releases/libtranslate/
checksums		md5 1fe75a6a6e8a0c6518890b5fa6984d42

depends_lib		port:gettext port:glib2 port:libiconv

configure.args	--mandir=${prefix}/share/man
configure.env	CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib

platform darwin 8 {
	configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}

