freebsd-ports/net-im/kf/Makefile
Andrey Slusar c60189a901 OPTIONify.
PR:		ports/99511
Submitted by:	Arseny Nasokin
2006-06-27 06:16:11 +00:00

49 lines
1.1 KiB
Makefile

# 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"
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>