aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/kf/Makefile
blob: 0a6934c25b83356c3b128eb48f0a0e2c767dcdef (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
# 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=   1
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"

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

.if !defined(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.mk>