diff options
Diffstat (limited to 'textproc/gnome-translate/Makefile')
-rw-r--r-- | textproc/gnome-translate/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/textproc/gnome-translate/Makefile b/textproc/gnome-translate/Makefile new file mode 100644 index 000000000..576a49161 --- /dev/null +++ b/textproc/gnome-translate/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: gnome-translate +# Date created: 28 Jan 2005 +# Whom: Jean-Yves Lefort <jylefort@brutele.be> +# +# $FreeBSD: ports/textproc/gnome-translate/Makefile,v 1.14 2009/07/31 13:56:11 dinoex Exp $ +# + +PORTNAME= gnome-translate +PORTVERSION= 0.99 +PORTREVISION= 11 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_SAVANNAH} +MASTER_SITE_SUBDIR= libtranslate + +MAINTAINER= ports@FreeBSD.org +COMMENT= A natural language translator + +LIB_DEPENDS= translate:${PORTSDIR}/textproc/libtranslate + +INSTALLS_OMF= yes +INSTALLS_ICONS= yes +GCONF_SCHEMAS= gnome-translate.schemas +USE_GNOME= gnomehack gnomeprefix eel2 intlhack +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -Wl,-export-dynamic" + +OPTIONS= LANGUAGE_DETECTION "language detection" on + +.include <bsd.port.pre.mk> + +.if defined(WITHOUT_LANGUAGE_DETECTION) +CONFIGURE_ARGS+= --disable-language-detection +.else +LIB_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell +.endif + +.include <bsd.port.post.mk> |