1 | # $Id: |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name nostromo |
---|
5 | version 1.9.3 |
---|
6 | categories www |
---|
7 | maintainers nomaintainer@macports.org |
---|
8 | description nhttpd is a simple, fast and secure HTTP server. |
---|
9 | long_description nhttpd is a simple, fast and secure HTTP server. |
---|
10 | |
---|
11 | homepage http://www.nazgul.ch/dev_nostromo.html |
---|
12 | platforms darwin |
---|
13 | master_sites http://www.nazgul.ch/dev |
---|
14 | checksums md5 a6971aeb687282b59d0c89530f5b18a6 |
---|
15 | |
---|
16 | use_configure no |
---|
17 | build.target all |
---|
18 | |
---|
19 | platform darwin { |
---|
20 | patchfiles nhttpd.patch tools.patch |
---|
21 | } |
---|
22 | |
---|
23 | destroot { |
---|
24 | xinstall -W ${worksrcpath} -m 755 src/nhttpd/nhttpd ${destroot}${prefix}/sbin/ |
---|
25 | xinstall -W ${worksrcpath} -m 755 src/tools/crypt ${destroot}${prefix}/sbin/ |
---|
26 | |
---|
27 | xinstall -W ${worksrcpath} src/nhttpd/nhttpd.cat8 ${destroot}${prefix}/share/man/man6/nhttpd.6 |
---|
28 | |
---|
29 | xinstall -d ${destroot}${prefix}/share/examples/nostromo |
---|
30 | xinstall -d ${destroot}${prefix}/share/doc/nostromo |
---|
31 | |
---|
32 | xinstall ${worksrcpath}/ChangeLog ${destroot}${prefix}/share/doc/nostromo |
---|
33 | xinstall ${worksrcpath}/README ${destroot}${prefix}/share/doc/nostromo |
---|
34 | |
---|
35 | xinstall -W ${worksrcpath} -m 755 htdocs/cgi-bin/printenv ${destroot}${prefix}/share/examples/nostromo/ |
---|
36 | xinstall -W ${worksrcpath} -m 550 conf/mimes ${destroot}${prefix}/share/examples/nostromo/ |
---|
37 | xinstall -W ${worksrcpath} -m 750 conf/nhttpd.conf-dist ${destroot}${prefix}/share/examples/nostromo/ |
---|
38 | xinstall -W ${worksrcpath} -m 750 htdocs/index.html ${destroot}${prefix}/share/examples/nostromo/ |
---|
39 | xinstall -W ${worksrcpath} -m 750 htdocs/nostromo.gif ${destroot}${prefix}/share/examples/nostromo/ |
---|
40 | xinstall -W ${worksrcpath} -m 750 icons/dir.gif ${destroot}${prefix}/share/examples/nostromo/ |
---|
41 | xinstall -W ${worksrcpath} -m 750 icons/file.gif ${destroot}${prefix}/share/examples/nostromo/ |
---|
42 | } |
---|