# $Id: Portfile,v 1.3 2005/10/19 08:10:13 blb Exp $ PortSystem 1.0 name cidr version 2.3.2 categories net maintainers blb@opendarwin.org 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. # This no longer works, but is here for whatever needs... #homepage http://geeksoul.com/robert/cidr.html master_sites opendarwin platforms darwin checksums md5 b349453a0196fddd3ffa0af5fbbacf54 use_configure no destroot { file mkdir "${destroot}/${prefix}/bin" \ "${destroot}/${prefix}/share/man/man1" \ "${destroot}/${prefix}/share/doc/cidr" system "install -m 755 ${worksrcpath}/cidr ${destroot}/${prefix}/bin/" system "install -m 644 ${worksrcpath}/cidr.1 ${destroot}/${prefix}/share/man/man1/" system "install -m 644 ${worksrcpath}/README ${worksrcpath}/gpl.txt \ ${worksrcpath}/rfc1878.txt ${destroot}/${prefix}/share/doc/cidr/" }