Ticket #1287: Portfile

File Portfile, 912 bytes (added by pguyot (Paul Guyot), 21 years ago)

Portfile for abyss-0.3

Line 
1PortSystem 1.0
2name                    abyss
3version                 0.3
4categories              www
5maintainers             pguyot@kallisys.net
6description             HTTP/1.1 compliant web server for
7long_description        \
8                                ABYSS aims to be a fully HTTP/1.1 compliant web server. \
9                                Its main design goals are speed, low resource usage and \
10                                portability. ABYSS works on most UNIX based systems and \
11                                on Win32 systems (Win95/98/2000/NT).
12homepage                http://abyss.sourceforge.net/
13platforms               darwin
14master_sites    sourceforge:abyss
15checksums               md5 ca2dc7618e17dae8eea23c02dd3bbf9d
16patchfiles              patch-src-data.c patch-src-server.c
17worksrcdir              ${name}
18configure {}
19build { system "cd ${worksrcpath}/src/ && make" }
20destroot {
21        system "install -o root -m 0755 -p ${worksrcpath}/bin/abyss ${destroot}${prefix}/bin/"
22        system "install -d -o root -m 0755 ${destroot}${prefix}/etc/abyss/"
23        system "install -o root -m 0644 -p ${worksrcpath}/conf/* ${destroot}${prefix}/etc/abyss/"
24}