6 | | name yaws |
7 | | version 1.89 |
8 | | categories www |
9 | | maintainers googlemail.com:ciserlohn |
10 | | platforms darwin |
11 | | description Webserver for dynamic content written in Erlang |
12 | | long_description Yaws is a high performance HTTP server for dynamic content \ |
13 | | written in Erlang. Pages can be dynamic with embedded erlang \ |
14 | | code. Yaws also features a built-in Wiki. |
15 | | homepage http://yaws.hyber.org/ |
16 | | master_sites http://yaws.hyber.org/download/ |
17 | | |
18 | | checksums sha1 3f6cc88eb7f154f017f78f1ad07eff5521e7319c \ |
19 | | rmd160 9fc274a9ddc82cc83bceeaed133758ee71c2951e |
20 | | |
21 | | depends_build port:erlang |
22 | | |
23 | | extract.post_args | tar -xf - --exclude \ |
24 | | "${name}-${version}/www/testdir/xx*xx.jpg" |
25 | | |
26 | | patchfiles patch-man-yaws.1 \ |
27 | | patch-man-yaws_api.5 \ |
28 | | patch-man-yaws.conf.5 \ |
29 | | patch-scripts-Install \ |
30 | | patch-scripts-Makefile \ |
31 | | patch-scripts-yaws.conf.template |
| 6 | name yaws |
| 7 | version 1.89 |
| 8 | categories www |
| 9 | maintainers googlemail.com:ciserlohn |
| 10 | platforms darwin |
| 11 | description Webserver for dynamic content written in Erlang |
| 12 | long_description Yaws is a high performance HTTP server for dynamic content \ |
| 13 | written in Erlang. Pages can be dynamic with embedded erlang \ |
| 14 | code. Yaws also features a built-in Wiki. |
| 15 | homepage http://yaws.hyber.org/ |
| 16 | master_sites http://yaws.hyber.org/download/ |
| 17 | |
| 18 | checksums sha1 3f6cc88eb7f154f017f78f1ad07eff5521e7319c \ |
| 19 | rmd160 9fc274a9ddc82cc83bceeaed133758ee71c2951e |
| 20 | |
| 21 | depends_build port:erlang |
| 22 | |
| 23 | extract.post_args | tar -xf - --exclude \ |
| 24 | "${name}-${version}/www/testdir/xx*xx.jpg" |
| 25 | |
| 26 | patchfiles patch-man-yaws.1 \ |
| 27 | patch-man-yaws_api.5 \ |
| 28 | patch-man-yaws.conf.5 \ |
| 29 | patch-scripts-Install \ |
| 30 | patch-scripts-Makefile \ |
| 31 | patch-scripts-yaws.conf.template |
34 | | reinplace "s|__PREFIX|${prefix}|g" \ |
35 | | ${worksrcpath}/man/yaws.1 \ |
36 | | ${worksrcpath}/man/yaws.conf.5 \ |
37 | | ${worksrcpath}/man/yaws_api.5 \ |
38 | | ${worksrcpath}/scripts/yaws.conf.template |
| 34 | reinplace "s|__PREFIX|${prefix}|g" \ |
| 35 | ${worksrcpath}/man/yaws.1 \ |
| 36 | ${worksrcpath}/man/yaws.conf.5 \ |
| 37 | ${worksrcpath}/man/yaws_api.5 \ |
| 38 | ${worksrcpath}/scripts/yaws.conf.template |
65 | | startupitem.create yes |
66 | | startupitem.name yaws |
67 | | startupitem.start "${prefix}/bin/yaws --daemon --heart --conf ${prefix}/etc/yaws/yaws.conf" |
68 | | startupitem.stop "${prefix}/bin/yaws --stop" |
69 | | |
70 | | livecheck.type regex |
71 | | livecheck.url http://yaws.hyber.org/download/ |
72 | | livecheck.regex {<address> Yaws (.*) Server at yaws.hyber.org </address>} |
| 65 | startupitem.create yes |
| 66 | startupitem.name yaws |
| 67 | startupitem.start "${prefix}/bin/yaws --daemon --heart --conf ${prefix}/etc/yaws/yaws.conf" |
| 68 | startupitem.stop "${prefix}/bin/yaws --stop" |
| 69 | |
| 70 | livecheck.type regex |
| 71 | livecheck.url http://yaws.hyber.org/download/ |
| 72 | livecheck.regex {<address> Yaws (.*) Server at yaws.hyber.org </address>} |