# Created by: Yonatan <onatan@gmail.com>
# $FreeBSD: tags/RELEASE_11_1_0/security/ike-scan/Makefile 421777 2016-09-11 02:02:23Z marino $

PORTNAME=	ike-scan
PORTVERSION=	1.9
CATEGORIES=	security
MASTER_SITES=	http://www.nta-monitor.com/tools/ike-scan/download/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	VPN scanner and identifier

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		ssl
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--datadir=${PREFIX}/share --with-openssl=${LOCALBASE}

OPTIONS_DEFINE=	DOCS

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	(cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS COPYING NEWS README TODO \
		udp-backoff-fingerprinting-paper.txt ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>
