aboutsummaryrefslogtreecommitdiff
path: root/textproc/gnome-translate/Makefile
blob: 4e6b2825819af4037e4fc4da4115ff4399acb8cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:	gnome-translate
# Date created:			28 Jan 2005
# Whom:				Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#

PORTNAME=		gnome-translate
PORTVERSION=		0.99
PORTREVISION=		9
CATEGORIES=		textproc
MASTER_SITES=		${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR=	libtranslate

MAINTAINER=		jylefort@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>