aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-12-01 19:13:42 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-12-01 19:13:42 +0800
commitcd9bccc1530a9c36fb5410652f5740525af10f6c (patch)
tree64d0fb74d124aca7124addedd7957562c62c52ea /net-mgmt
parent98b463121fa40736559c855385823a2be3930a84 (diff)
downloadfreebsd-ports-gnome-cd9bccc1530a9c36fb5410652f5740525af10f6c.tar.gz
freebsd-ports-gnome-cd9bccc1530a9c36fb5410652f5740525af10f6c.tar.zst
freebsd-ports-gnome-cd9bccc1530a9c36fb5410652f5740525af10f6c.zip
- Add LICENSE
- Switch to options helpers - Regenerate patches - Remove unnecessary flag modifications
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nbtscan/Makefile10
-rw-r--r--net-mgmt/nbtscan/files/patch-statusq.h4
2 files changed, 8 insertions, 6 deletions
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 <bsd.port.mk>
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