# Created by: Janos Mohacsi <janos.mohacsi@bsd.hu>
# $FreeBSD: tags/RELEASE_11_1_0/net-mgmt/softflowd/Makefile 442513 2017-06-03 18:41:02Z joneum $

PORTNAME=	softflowd
PORTVERSION=	0.9.9
PORTREVISION=	1
CATEGORIES=	net-mgmt ipv6

MAINTAINER=	jmohacsi@bsd.hu
COMMENT=	Flow-based network traffic analyzer and exporter

LICENSE=	BSD2CLAUSE

USE_GITHUB=	yes
GH_ACCOUNT=	irino
GH_PROJECT=	softflowd
GH_TAGNAME=	3aa2af5

USES=		gmake autoreconf
GNU_CONFIGURE=	yes
USE_RC_SUBR=	${PORTNAME}

PLIST_FILES=	sbin/softflowd sbin/softflowctl \
		man/man8/softflowd.8.gz \
		man/man8/softflowctl.8.gz
PORTDOCS=	README

OPTIONS_DEFINE=	DOCS

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
