source: trunk/dports/net/cidr/Portfile

Last change on this file was 92046, checked in by jmr@…, 5 years ago

cidr: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 92046 2012-04-16 19:18:33Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                cidr
6version             2.3.2
7categories          net
8license             GPL-2+
9maintainers         nomaintainer
10description         RFC 1878 subnet helper
11long_description \
12   cidr is a utility for determining the network address and broadcast \
13   address for a CIDR subnet.  It takes as input an ip address and netmask \
14   in binary, dotted-quad, hexadecimal, decimal or prefix formats.  It \
15   outputs the network address, broadcast address, and a count (and \
16   optionally a list) of valid host addresses for the corresponding subnet.
17
18platforms            darwin
19
20# This no longer works, but is here for whatever needs...
21homepage             http://geeksoul.com/robert/cidr.html
22master_sites         http://critical.ch/distfiles/ \
23                     http://energy.critical.ch/distfiles/
24
25checksums            md5 b349453a0196fddd3ffa0af5fbbacf54
26
27use_configure        no
28
29destroot {
30   xinstall -m 755 -d ${destroot}${prefix}/bin \
31      ${destroot}${prefix}/share/man/man1 \
32      ${destroot}${prefix}/share/doc/${name}
33   xinstall -m 755 -W ${worksrcpath} ${name} ${destroot}${prefix}/bin/
34   xinstall -m 644 -W ${worksrcpath} ${name}.1 \
35      ${destroot}${prefix}/share/man/man1/
36   xinstall -m 644 -W ${worksrcpath} README gpl.txt rfc1878.txt \
37      ${destroot}${prefix}/share/doc/${name}/
38}
39
40livecheck.type      none
Note: See TracBrowser for help on using the repository browser.