PORTNAME=	nbtscan
PORTVERSION=	1.7.2
CATEGORIES=	net-mgmt

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	NetBIOS name network scanner
WWW=		https://github.com/resurrecting-open-source-projects/nbtscan

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		autoreconf

GNU_CONFIGURE=	yes

PLIST_FILES=	bin/nbtscan \
		share/man/man1/nbtscan.1.gz
PORTDOCS=	README.md

GH_ACCOUNT=	resurrecting-open-source-projects
USE_GITHUB=	yes

OPTIONS_DEFINE=	DOCS

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
