# Created by: Yonatan <onatan@gmail.com>
# $FreeBSD: security/ike-scan/Makefile 327769 2013-09-20 22:55:24Z bapt $

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

MAINTAINER=	onatan@gmail.com
COMMENT=	VPN scanner and identifier

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	--datadir=${PREFIX}/share --with-openssl=${LOCALBASE}
MAN1=		ike-scan.1 psk-crack.1

NO_STAGE=	yes
post-install:
.	if !defined(NOPORTDOCS)
		${MKDIR} ${DOCSDIR}
.		for i in AUTHORS COPYING NEWS README TODO udp-backoff-fingerprinting-paper.txt
			${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
.		endfor
.	endif

.include <bsd.port.mk>
