aboutsummaryrefslogtreecommitdiff
path: root/net-im/kf/Makefile
blob: efa832e56ecb55a70d26ca5a0af20cda3522c83c (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
40
41
42
43
44
45
46
47
48
49
# New ports collection makefile for:	kf
# Date created:		Tue Oct 19 01:48:30 UTC 2004
# Whom:			Andrey Slusar <anray@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	kf
PORTVERSION=	0.5.4.1
PORTREVISION=	2
CATEGORIES=	net-im
MASTER_SITES=	http://files.jabberstudio.org/kf/ \
		http://jabberstudio.rediris.es/kf/ \
		http://freebsd.unixfreunde.de/sources/

MAINTAINER=	anray@FreeBSD.org
COMMENT=	A simple Jabber client using the GTK+ 2.0 toolkit

LIB_DEPENDS=	loudmouth-1.0:${PORTSDIR}/net-im/loudmouth

USE_X_PREFIX=	yes
USE_GNOME=	libglade2
USE_GETOPT_LONG=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GNU_CONFIGURE=	yes

CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

OPTIONS=GTKSPELL "Spell checking support" on \
	NLS "Native Language Support" on

.include <bsd.port.pre.mk>

.ifndef(WITHOUT_GTKSPELL)
LIB_DEPENDS+=	gtkspell.0:${PORTSDIR}/textproc/gtkspell
CONFIGURE_ARGS+=	--enable-gtkspell
.endif

.ifndef(WITHOUT_NLS)
USE_GETTEXT=		yes
CONFIGURE_ARGS+=	--enable-nls
PLIST_SUB=		NLS=""
.else
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB=		NLS="@comment "
.endif

.include <bsd.port.post.mk>