# Created by: Kevin Zheng <kevinz5000@gmail.com>
# $FreeBSD: security/gnomint/Makefile 327769 2013-09-20 22:55:24Z bapt $

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

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

GNU_CONFIGURE=	yes
USES=		gmake perl5 pkgconfig
USE_GNOME=	gconf2 gdkpixbuf2 glib20 gtk20
CFLAGS:=	${CFLAGS:C/-Werror//}


OPTIONS_DEFINE=	NLS

NO_STAGE=	yes
.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>
