ports/76859: New port: textproc/libtranslate, a natural language translation library

Jean-Yves Lefort jylefort at brutele.be
Sun Jan 30 15:30:11 UTC 2005


>Number:         76859
>Category:       ports
>Synopsis:       New port: textproc/libtranslate, a natural language translation library
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 30 15:30:09 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Yves Lefort
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD jsite.lefort.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Tue Jan 25 10:48:58 CET 2005 jylefort at jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386
>Description:
>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:
#
#	libtranslate
#	libtranslate/pkg-plist
#	libtranslate/pkg-descr
#	libtranslate/distinfo
#	libtranslate/Makefile
#
echo c - libtranslate
mkdir -p libtranslate > /dev/null 2>&1
echo x - libtranslate/pkg-plist
sed 's/^X//' >libtranslate/pkg-plist << 'END-of-libtranslate/pkg-plist'
Xbin/translate
Xinclude/libtranslate/translate-common.h
Xinclude/libtranslate/translate-pair.h
Xinclude/libtranslate/translate-service.h
Xinclude/libtranslate/translate-session.h
Xinclude/libtranslate/translate-util.h
Xinclude/libtranslate/translate.h
Xlib/libtranslate.a
Xlib/libtranslate.so
Xlib/libtranslate.so.0
X%%GENERIC%%lib/libtranslate/modules/generic.so
X%%TALKFILTERS%%lib/libtranslate/modules/talkfilters.so
Xlibdata/pkgconfig/libtranslate.pc
Xshare/doc/libtranslate/TranslatePair.html
Xshare/doc/libtranslate/TranslateService.html
Xshare/doc/libtranslate/TranslateSession.html
Xshare/doc/libtranslate/api-reference.html
Xshare/doc/libtranslate/ch01s02.html
Xshare/doc/libtranslate/ch02s02.html
Xshare/doc/libtranslate/compiling-modules.html
Xshare/doc/libtranslate/home.png
Xshare/doc/libtranslate/index.html
Xshare/doc/libtranslate/index.sgml
Xshare/doc/libtranslate/ix01.html
Xshare/doc/libtranslate/left.png
Xshare/doc/libtranslate/libtranslate-translate-common.html
Xshare/doc/libtranslate/libtranslate-translate-util.html
Xshare/doc/libtranslate/libtranslate-translate.html
Xshare/doc/libtranslate/libtranslate.devhelp
Xshare/doc/libtranslate/overview.html
Xshare/doc/libtranslate/rfc3066-builtin.html
Xshare/doc/libtranslate/right.png
Xshare/doc/libtranslate/tutorials.html
Xshare/doc/libtranslate/up.png
Xshare/libtranslate/services.dtd
Xshare/libtranslate/services.xml
Xshare/locale/fr/LC_MESSAGES/libtranslate.mo
X at dirrm include/libtranslate
X at dirrm lib/libtranslate/modules
X at dirrm lib/libtranslate
X at dirrm share/doc/libtranslate
X at dirrm share/libtranslate
END-of-libtranslate/pkg-plist
echo x - libtranslate/pkg-descr
sed 's/^X//' >libtranslate/pkg-descr << 'END-of-libtranslate/pkg-descr'
Xlibtranslate is a library for translating text and web pages between
Xnatural languages. Its modular infrastructure allows to implement new
Xtranslation services separately from the core library.
X
Xlibtranslate is shipped with a generic module supporting web-based
Xtranslation services such as Babel Fish, Google Language Tools and
XSYSTRAN. Moreover, the generic module allows to add new services
Xsimply by adding a few lines to a XML file (see the services.xml(5)
Xmanual page).
X
XThe libtranslate distribution includes a powerful command line
Xinterface (see the translate(1) manual page).
X
XWWW: http://www.nongnu.org/libtranslate/
X
X- Jean-Yves Lefort
Xjylefort at brutele.be
END-of-libtranslate/pkg-descr
echo x - libtranslate/distinfo
sed 's/^X//' >libtranslate/distinfo << 'END-of-libtranslate/distinfo'
XMD5 (libtranslate-0.99.tar.gz) = 1fe75a6a6e8a0c6518890b5fa6984d42
XSIZE (libtranslate-0.99.tar.gz) = 532516
END-of-libtranslate/distinfo
echo x - libtranslate/Makefile
sed 's/^X//' >libtranslate/Makefile << 'END-of-libtranslate/Makefile'
X# New ports collection makefile for:	libtranslate
X# Date created:			15 Jan 2005
X# Whom:				Jean-Yves Lefort <jylefort at brutele.be>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		libtranslate
XPORTVERSION=		0.99
XCATEGORIES=		textproc
XMASTER_SITES=		${MASTER_SITE_SAVANNAH}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=		jylefort at brutele.be
XCOMMENT=		A natural language translation library
X
XUSE_GETOPT_LONG=	yes
XUSE_GNOME=		glib20 gnomehack
XGNU_CONFIGURE=		yes
XUSE_GMAKE=		yes
XINSTALLS_SHLIB=		yes
XCPPFLAGS=		-I${LOCALBASE}/include
XLDFLAGS=		-L${LOCALBASE}/lib
XCONFIGURE_ENV=		CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
XCONFIGURE_ARGS=		--with-html-dir=${PREFIX}/share/doc
X
XOPTIONS=		GENERIC "generic module" on \
X			TALKFILTERS "talkfilters module" on
X
XMAN1=			translate.1
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITHOUT_GENERIC)
XCONFIGURE_ARGS+=	--disable-generic
XPLIST_SUB+=		GENERIC="@comment "
X.else
XPLIST_SUB+=		GENERIC=""
XUSE_GNOME+=		libxml2
XLIB_DEPENDS+=		soup-2.2:${PORTSDIR}/devel/libsoup
XMAN5+=			services.xml.5
X.endif
X
X.if defined(WITHOUT_TALKFILTERS)
XCONFIGURE_ARGS+=	--disable-talkfilters
XPLIST_SUB+=		TALKFILTERS="@comment "
X.else
XPLIST_SUB+=		TALKFILTERS=""
XLIB_DEPENDS+=		talkfilters:${PORTSDIR}/misc/talkfilters
X.endif
X
X.include <bsd.port.post.mk>
END-of-libtranslate/Makefile
exit

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



More information about the freebsd-ports-bugs mailing list