aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2003-12-05 14:00:01 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2003-12-05 14:00:01 +0000
commit69227d9a4d4b2cae17ef6c32542421f1367ea92c (patch)
treedf9b9ceaadc9947661fcc9fe7c89c1a90937027d /net
parent7707e5e40efdb3621e38910bc88c4cdb0fa0d261 (diff)
downloadports-69227d9a4d4b2cae17ef6c32542421f1367ea92c.tar.gz
ports-69227d9a4d4b2cae17ef6c32542421f1367ea92c.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/whatmask/Makefile13
-rw-r--r--net/whatmask/distinfo2
-rw-r--r--net/whatmask/pkg-descr32
-rw-r--r--net/whatmask/pkg-plist5
4 files changed, 29 insertions, 23 deletions
diff --git a/net/whatmask/Makefile b/net/whatmask/Makefile
index dd7f8f10058f..665ad270eeba 100644
--- a/net/whatmask/Makefile
+++ b/net/whatmask/Makefile
@@ -7,13 +7,22 @@
#
PORTNAME= whatmask
-PORTVERSION= 1.1
+PORTVERSION= 1.2
CATEGORIES= net
-MASTER_SITES= http://downloads.laffeycomputer.com/current_builds/whatmask/
+MASTER_SITES= http://moog.laffeycomputer.com:8080/
MAINTAINER= ports@FreeBSD.org
COMMENT= Easily convert between three common subnet mask notations
GNU_CONFIGURE= yes
+MAN1= whatmask.1
+DOCS= AUTHORS ChangeLog README
+
+.if !defined(NOPORTDOCS)
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>
diff --git a/net/whatmask/distinfo b/net/whatmask/distinfo
index 0bb41e2b04c4..e84fbd6d71ca 100644
--- a/net/whatmask/distinfo
+++ b/net/whatmask/distinfo
@@ -1 +1 @@
-MD5 (whatmask-1.1.tar.gz) = 2fa6b1bb18f037d0f9c3c8b2eed19277
+MD5 (whatmask-1.2.tar.gz) = 26aeff74dbba70262ccd426e681dcf4a
diff --git a/net/whatmask/pkg-descr b/net/whatmask/pkg-descr
index 851c7cd53f69..4c447d29920e 100644
--- a/net/whatmask/pkg-descr
+++ b/net/whatmask/pkg-descr
@@ -1,20 +1,12 @@
-Notations supported:
-
- Name Example
- ---------------------------------
- CIDR /24
- Netmask 255.255.255.0
- Wilcard Bits 0.0.0.255
-
-The above notations are all identical. CIDR notation commonly has a "/" in
-front of the number (representing the number of bits). Whatmask can accept
-these notations with or without a slash. This notation is used more and more
-recently. A lot of popular routers and software supprt this notation.
-
-Netmask notation is pretty much the standard old-school way of doing it. It is
-supported by most systems (Un*x, Win, Mac, etc.).
-
-Wilcard bits are similar to the netmask, but they are the logical not of the
-netmask. This notation is used by a number of popular routers.
-
-WWW: http://www.laffeycomputer.com/whatmask.html
+Whatmask is a small C program that will help you with network settings.
+
+It displays the following information given IP address and/or netmask:
+- The netmask in the following formats: CIDR, Netmask, Hex, Wildcard Bits
+- The Network Address
+- The Broadcast Address
+- The number of Usable IP Addresses
+- The First Usable IP Address
+- The Last Usable IP Address
+
+Author: Joe Laffey <joe@laffeycomputer.com>
+WWW: http://www.laffeycomputer.com/whatmask.html
diff --git a/net/whatmask/pkg-plist b/net/whatmask/pkg-plist
index c6c0223c0fff..990b8915585d 100644
--- a/net/whatmask/pkg-plist
+++ b/net/whatmask/pkg-plist
@@ -1 +1,6 @@
+@comment $FreeBSD$
bin/whatmask
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%