# Created by: Sean Greven <sean.greven@gmail.com>
# $FreeBSD: tags/RELEASE_10_2_0/security/fwknop/Makefile 384618 2015-04-24 00:55:50Z amdmi3 $

PORTNAME=	fwknop
PORTVERSION=	2.5.1
PORTREVISION=	2
CATEGORIES=	security
MASTER_SITES=	http://www.cipherdyne.org/fwknop/download/

MAINTAINER=	sean.greven@gmail.com
COMMENT=	SPA implementation for Linux and FreeBSD

LICENSE=	GPLv2

OPTIONS_DEFINE=		GPGME
OPTIONS_DEFAULT=	GPGME
GPGME_DESC=	Build support for gpgme
INFO=		libfko
USES=		cpe libtool
CPE_VENDOR=	cipherdyne
GNU_CONFIGURE=	yes
USE_RC_SUBR=	fwknopd
USE_LDCONFIG=	yes

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGPGME}
LIB_DEPENDS+=	libgpgme.so:${PORTSDIR}/security/gpgme
.else
CONFIGURE_ARGS+=--without-gpgme
.endif

.include <bsd.port.mk>
