Add libtranslate 0.99, a natural language translation library.
PR: ports/76859 Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
This commit is contained in:
parent
670a4fe453
commit
08dbdcc754
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128402
@ -198,6 +198,7 @@
|
||||
SUBDIR += liblrdf
|
||||
SUBDIR += libparsifal
|
||||
SUBDIR += libpathan
|
||||
SUBDIR += libtranslate
|
||||
SUBDIR += libtre
|
||||
SUBDIR += libuninameslist
|
||||
SUBDIR += libwpd
|
||||
|
52
textproc/libtranslate/Makefile
Normal file
52
textproc/libtranslate/Makefile
Normal file
@ -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>
|
2
textproc/libtranslate/distinfo
Normal file
2
textproc/libtranslate/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (libtranslate-0.99.tar.gz) = 1fe75a6a6e8a0c6518890b5fa6984d42
|
||||
SIZE (libtranslate-0.99.tar.gz) = 532516
|
17
textproc/libtranslate/pkg-descr
Normal file
17
textproc/libtranslate/pkg-descr
Normal file
@ -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
|
42
textproc/libtranslate/pkg-plist
Normal file
42
textproc/libtranslate/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user