1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name nnap |
---|
5 | version 1.0 |
---|
6 | platforms darwin |
---|
7 | categories news |
---|
8 | maintainers mich@freebsdcluster.org |
---|
9 | description Nnap is a lightweight NNTP authentication proxy |
---|
10 | long_description \ |
---|
11 | A small program that implements just enough of the NNTP protocol \ |
---|
12 | to authenticate client requests. After authentication nnap bounces \ |
---|
13 | the client TCP connection to an open NNTP server. |
---|
14 | master_sites http://www.freebsdcluster.org/~lasse/software/ |
---|
15 | distname ${name} |
---|
16 | extract.sufx .c |
---|
17 | checksums md5 ea48d42df822cdcc566549638681f4e4 |
---|
18 | extract { |
---|
19 | system "cp ${distpath}/${name}.c ${workdir}/nnap.c" |
---|
20 | } |
---|
21 | configure {} |
---|
22 | build { |
---|
23 | system "cd ${workdir} && \ |
---|
24 | cc -o ${name} ${name}.c" |
---|
25 | } |
---|
26 | destroot { |
---|
27 | system "cd ${workdir} && \ |
---|
28 | install ${name} ${destroot}${prefix}/sbin" |
---|
29 | } |
---|