From cd9bccc1530a9c36fb5410652f5740525af10f6c Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Fri, 1 Dec 2017 11:13:42 +0000 Subject: - Add LICENSE - Switch to options helpers - Regenerate patches - Remove unnecessary flag modifications --- net-mgmt/nbtscan/Makefile | 10 ++++++---- net-mgmt/nbtscan/files/patch-statusq.h | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'net-mgmt') diff --git a/net-mgmt/nbtscan/Makefile b/net-mgmt/nbtscan/Makefile index 12dc922a61bf..845cf8341b4d 100644 --- a/net-mgmt/nbtscan/Makefile +++ b/net-mgmt/nbtscan/Makefile @@ -11,10 +11,10 @@ MASTER_SITES= http://www.inetcat.net/software/ \ MAINTAINER= ports@FreeBSD.org COMMENT= NetBIOS name network scanner -GNU_CONFIGURE= yes +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib +GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}a ALL_TARGET= nbtscan @@ -23,7 +23,9 @@ OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/nbtscan ${STAGEDIR}${PREFIX}/bin - ${MKDIR} ${STAGEDIR}${DOCSDIR} + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/net-mgmt/nbtscan/files/patch-statusq.h b/net-mgmt/nbtscan/files/patch-statusq.h index 8587d04368db..faae14415341 100644 --- a/net-mgmt/nbtscan/files/patch-statusq.h +++ b/net-mgmt/nbtscan/files/patch-statusq.h @@ -1,5 +1,5 @@ ---- statusq.h.orig 2010-04-26 16:39:16.000000000 +0300 -+++ statusq.h 2010-04-26 16:39:28.000000000 +0300 +--- statusq.h.orig 2002-05-23 11:31:35 UTC ++++ statusq.h @@ -22,6 +22,8 @@ #define NB_DGRAM 137 -- cgit