# $Id$

PortSystem          1.0

name                cidr
version             2.3.2
categories          net
license             GPL-2+
maintainers         nomaintainer
description         RFC 1878 subnet helper
long_description \
   cidr is a utility for determining the network address and broadcast \
   address for a CIDR subnet.  It takes as input an ip address and netmask \
   in binary, dotted-quad, hexadecimal, decimal or prefix formats.  It \
   outputs the network address, broadcast address, and a count (and \
   optionally a list) of valid host addresses for the corresponding subnet.

platforms            darwin

# This no longer works, but is here for whatever needs...
homepage             http://geeksoul.com/robert/cidr.html
master_sites         http://critical.ch/distfiles/ \
                     http://energy.critical.ch/distfiles/

checksums            md5 b349453a0196fddd3ffa0af5fbbacf54

use_configure        no

destroot {
   xinstall -m 755 -d ${destroot}${prefix}/bin \
      ${destroot}${prefix}/share/man/man1 \
      ${destroot}${prefix}/share/doc/${name}
   xinstall -m 755 -W ${worksrcpath} ${name} ${destroot}${prefix}/bin/
   xinstall -m 644 -W ${worksrcpath} ${name}.1 \
      ${destroot}${prefix}/share/man/man1/
   xinstall -m 644 -W ${worksrcpath} README gpl.txt rfc1878.txt \
      ${destroot}${prefix}/share/doc/${name}/
}

livecheck.type      none