Ticket #849: Portfile

File Portfile, 1.3 KB (added by mich@…, 21 years ago)

Portfile for #849

Line 
1# $Id: $
2
3PortSystem 1.0
4name            whatmask
5version         1.1
6platforms       darwin
7categories      net
8maintainers     mich@freebsdcluster.org
9description     Easily convert between three common subnet mask notations
10long_description   \
11                Notations supported: \
12 \
13                        Name                  Example \
14                        --------------------------------- \
15                        CIDR                         /24 \
16                        Netmask            255.255.255.0 \
17                        Wilcard Bits           0.0.0.255 \
18 \
19                The above notations are all identical. CIDR notation commonly has a "/" in \
20                 of the number (representing the number of bits). Whatmask can accept \
21                 notations with or without a slash. This notation is used more and more \
22                . A lot of popular routers and software supprt this notation.  \
23 \
24                 notation is pretty much the standard old-school way of doing it. It is \
25                 by most systems (Un*x, Win, Mac, etc.).  \
26 \
27                 bits are similar to the netmask, but they are the logical not of the \
28                . This notation is used by a number of popular routers.
29homepage        http://www.laffeycomputer.com/whatmask.html
30master_sites    http://downloads.laffeycomputer.com/current_builds/whatmask/
31checksums       md5 2fa6b1bb18f037d0f9c3c8b2eed19277
32use_configure   yes
33destroot {
34                system "cd ${worksrcpath} && \
35                        install ${name} ${destroot}${prefix}/bin"
36}