Ticket #846: Portfile

File Portfile, 785 bytes (added by mich@…, 21 years ago)

Portfile for #846

Line 
1# $Id: $
2
3PortSystem 1.0
4name            nnap
5version         1.0
6platforms       darwin
7categories      news
8maintainers     mich@freebsdcluster.org
9description     Nnap is a lightweight NNTP authentication proxy
10long_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.
14master_sites    http://www.freebsdcluster.org/~lasse/software/
15distname        ${name}
16extract.sufx    .c
17checksums       md5 ea48d42df822cdcc566549638681f4e4
18extract         {
19                system "cp ${distpath}/${name}.c ${workdir}/nnap.c"
20}
21configure       {}
22build           {
23                system "cd ${workdir} && \
24                        cc -o ${name} ${name}.c"
25}
26destroot        {
27                system "cd ${workdir} && \
28                        install ${name} ${destroot}${prefix}/sbin"
29}