# Created by: Kevin Zheng <kevinz5000@gmail.com>
# $FreeBSD: branches/RELENG_9_2_0/security/gnomint/Makefile 317220 2013-05-03 16:36:39Z ehaupt $

PORTNAME=	gnomint
PORTVERSION=	1.2.1
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	SF

MAINTAINER=	kevinz5000@gmail.com
COMMENT=	X.509 Certification Authority management tool

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	gcrypt:${PORTSDIR}/security/libgcrypt \
		gnutls:${PORTSDIR}/security/gnutls \
		sqlite3:${PORTSDIR}/databases/sqlite3

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_GNOME=	gconf2 gdkpixbuf2 glib20 gtk20
USE_PERL5=	yes
CFLAGS:=	${CFLAGS:C/-Werror//}

MAKE_JOBS_SAFE=	yes

OPTIONS_DEFINE=	NLS

.include <bsd.port.options.mk>

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

.include <bsd.port.mk>
