diff options
author | ahze <ahze@FreeBSD.org> | 2005-02-09 19:12:05 +0000 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-02-09 19:12:05 +0000 |
commit | 6e28ae2d030c4a08ce17e540ce96d914d3f3b4c1 (patch) | |
tree | 1bbb5dc262c7e26d895308259cdb7181dbfb58d0 /textproc/libtranslate | |
parent | 1e38761821d111f95bcb55555fab3a21cf510eb2 (diff) | |
download | FreeBSD-ports-6e28ae2d030c4a08ce17e540ce96d914d3f3b4c1.zip FreeBSD-ports-6e28ae2d030c4a08ce17e540ce96d914d3f3b4c1.tar.gz |
Add libtranslate 0.99, a natural language translation library.
PR: ports/76859
Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Diffstat (limited to 'textproc/libtranslate')
-rw-r--r-- | textproc/libtranslate/Makefile | 52 | ||||
-rw-r--r-- | textproc/libtranslate/distinfo | 2 | ||||
-rw-r--r-- | textproc/libtranslate/pkg-descr | 17 | ||||
-rw-r--r-- | textproc/libtranslate/pkg-plist | 42 |
4 files changed, 113 insertions, 0 deletions
diff --git a/textproc/libtranslate/Makefile b/textproc/libtranslate/Makefile new file mode 100644 index 0000000..6a84e4e --- /dev/null +++ b/textproc/libtranslate/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: libtranslate +# Date created: 15 Jan 2005 +# Whom: Jean-Yves Lefort <jylefort@brutele.be> +# +# $FreeBSD$ +# + +PORTNAME= libtranslate +PORTVERSION= 0.99 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_SAVANNAH} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= jylefort@brutele.be +COMMENT= A natural language translation library + +USE_GETOPT_LONG= yes +USE_GNOME= glib20 gnomehack intlhack +GNU_CONFIGURE= yes +USE_GMAKE= yes +INSTALLS_SHLIB= yes +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc + +OPTIONS= GENERIC "generic module" on \ + TALKFILTERS "talkfilters module" on + +MAN1= translate.1 + +.include <bsd.port.pre.mk> + +.if defined(WITHOUT_GENERIC) +CONFIGURE_ARGS+= --disable-generic +PLIST_SUB+= GENERIC="@comment " +.else +PLIST_SUB+= GENERIC="" +USE_GNOME+= libxml2 +LIB_DEPENDS+= soup-2.2:${PORTSDIR}/devel/libsoup +MAN5+= services.xml.5 +.endif + +.if defined(WITHOUT_TALKFILTERS) +CONFIGURE_ARGS+= --disable-talkfilters +PLIST_SUB+= TALKFILTERS="@comment " +.else +PLIST_SUB+= TALKFILTERS="" +LIB_DEPENDS+= talkfilters:${PORTSDIR}/misc/talkfilters +.endif + +.include <bsd.port.post.mk> diff --git a/textproc/libtranslate/distinfo b/textproc/libtranslate/distinfo new file mode 100644 index 0000000..95fe1e2 --- /dev/null +++ b/textproc/libtranslate/distinfo @@ -0,0 +1,2 @@ +MD5 (libtranslate-0.99.tar.gz) = 1fe75a6a6e8a0c6518890b5fa6984d42 +SIZE (libtranslate-0.99.tar.gz) = 532516 diff --git a/textproc/libtranslate/pkg-descr b/textproc/libtranslate/pkg-descr new file mode 100644 index 0000000..c913b41 --- /dev/null +++ b/textproc/libtranslate/pkg-descr @@ -0,0 +1,17 @@ +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 (see the services.xml(5) +manual page). + +The libtranslate distribution includes a powerful command line +interface (see the translate(1) manual page). + +WWW: http://www.nongnu.org/libtranslate/ + +- Jean-Yves Lefort +jylefort@brutele.be diff --git a/textproc/libtranslate/pkg-plist b/textproc/libtranslate/pkg-plist new file mode 100644 index 0000000..6fb2b15 --- /dev/null +++ b/textproc/libtranslate/pkg-plist @@ -0,0 +1,42 @@ +bin/translate +include/libtranslate/translate-common.h +include/libtranslate/translate-pair.h +include/libtranslate/translate-service.h +include/libtranslate/translate-session.h +include/libtranslate/translate-util.h +include/libtranslate/translate.h +lib/libtranslate.a +lib/libtranslate.so +lib/libtranslate.so.0 +%%GENERIC%%lib/libtranslate/modules/generic.so +%%TALKFILTERS%%lib/libtranslate/modules/talkfilters.so +libdata/pkgconfig/libtranslate.pc +share/doc/libtranslate/TranslatePair.html +share/doc/libtranslate/TranslateService.html +share/doc/libtranslate/TranslateSession.html +share/doc/libtranslate/api-reference.html +share/doc/libtranslate/ch01s02.html +share/doc/libtranslate/ch02s02.html +share/doc/libtranslate/compiling-modules.html +share/doc/libtranslate/home.png +share/doc/libtranslate/index.html +share/doc/libtranslate/index.sgml +share/doc/libtranslate/ix01.html +share/doc/libtranslate/left.png +share/doc/libtranslate/libtranslate-translate-common.html +share/doc/libtranslate/libtranslate-translate-util.html +share/doc/libtranslate/libtranslate-translate.html +share/doc/libtranslate/libtranslate.devhelp +share/doc/libtranslate/overview.html +share/doc/libtranslate/rfc3066-builtin.html +share/doc/libtranslate/right.png +share/doc/libtranslate/tutorials.html +share/doc/libtranslate/up.png +share/libtranslate/services.dtd +share/libtranslate/services.xml +share/locale/fr/LC_MESSAGES/libtranslate.mo +@dirrm include/libtranslate +@dirrm lib/libtranslate/modules +@dirrm lib/libtranslate +@dirrm share/doc/libtranslate +@dirrm share/libtranslate |