# Created by: Kevin Zheng <kevinz5000@gmail.com>
# $FreeBSD: security/gnomint/Makefile 324744 2013-08-14 22:35:50Z ak $

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//}


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>
