aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/kf/Makefile
blob: 0a79037beccc471301259ab7409bb5f98729c409 (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
# 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=   5
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_XORG=   x11 xscrnsaver
USE_GNOME=  libglade2
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>