# New ports collection makefile for:	Gnocky
# Date created:				16 Jul 2008
# Whom:					Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD: branches/RELEASE_8_4_0/comms/gnocky/Makefile 300895 2012-07-14 12:56:14Z beat $
#

PORTNAME=	gnocky
PORTVERSION=	0.0.7
PORTREVISION=	2
CATEGORIES=	comms
MASTER_SITES=	http://www.gnokii.org/download/gnocky/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A graphical (GTK+2) frontend for gnokii

LIB_DEPENDS=	gnokii.7:${PORTSDIR}/comms/gnokii

USE_BZIP2=	yes
USE_GNOME=	gtk20 libglade2
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

OPTIONS_DEFINE=	NLS

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT=	yes
PLIST_SUB+=	NLS=""
.else
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB+=	NLS="@comment "
.endif

.include <bsd.port.mk>
