# New ports collection makefile for:	gpa
# Date created:		16 August 2000
# Whom:			Clive Lin <clive@CirX.ORG>
#
# $FreeBSD: ports/security/gpa/Makefile,v 1.34 2009/07/27 22:24:29 miwi Exp $
#

PORTNAME=	gpa
PORTVERSION=	0.9.0
CATEGORIES=	security
MASTER_SITES=	http://wald.intevation.org/frs/download.php/603/

MAINTAINER=	bsdkaffee@gmail.com
COMMENT=	A graphical frontend for the GNU Privacy Guard

LIB_DEPENDS=	gpgme.18:${PORTSDIR}/security/gpgme
BUILD_DEPENDS=	gpgv2:${PORTSDIR}/security/gnupg \
		libassuan>=1.0.4:${PORTSDIR}/security/libassuan
RUN_DEPENDS=	gpgv2:${PORTSDIR}/security/gnupg

USE_BZIP2=	yes
USE_GMAKE=	yes
USE_GNOME=	gtk20
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib"
MAKE_JOBS_SAFE=	yes

OPTIONS=	NLS "Native language support" on

.include <bsd.port.pre.mk>

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

.include <bsd.port.post.mk>
