# $Id: Portfile,v 1.1 2003/09/02 11:35:01 olegb Exp $

PortSystem 1.0
name		whatmask
version		1.1
platforms	darwin
categories	net
maintainers     mich@freebsdcluster.org
description	Easily convert between three common subnet mask notations
long_description   \
		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 \
		of the number (representing the number of bits). Whatmask can accept \
		notations with or without a slash. This notation is used more and more. \
		A lot of popular routers and software supprt this notation.  \
		\
	 	notation is pretty much the standard old-school way of doing it. It is \
	 	by most systems (Un*x, Win, Mac, etc.).  \
	  	\
		bits are similar to the netmask, but they are the logical not of the. \
		This notation is used by a number of popular routers.
homepage        http://www.laffeycomputer.com/whatmask.html
master_sites	http://downloads.laffeycomputer.com/current_builds/whatmask/
checksums	md5 2fa6b1bb18f037d0f9c3c8b2eed19277
use_configure   yes
destroot 	{
 	        system "cd ${worksrcpath} && \
		install ${name} ${destroot}${prefix}/bin"
		}
