1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name wsgw |
---|
7 | version 21 |
---|
8 | categories net |
---|
9 | platforms darwin |
---|
10 | license MIT |
---|
11 | maintainers deviousfish.com:perette |
---|
12 | description Websocket Gateway |
---|
13 | long_description Gateway for RFC6445/WebSockets, allowing HTML5 clients to \ |
---|
14 | connect to TCP services such as pianod, POP3, SMTP, etc. |
---|
15 | |
---|
16 | homepage http://deviousfish.com/Pianod |
---|
17 | master_sites http://deviousfish.com/Downloads/wsgw |
---|
18 | |
---|
19 | # openssl sha256 <file> or openssl rmd160 <file> |
---|
20 | checksums rmd160 8cc7f5b0dd4f9e26e189e2ea8cdf33941bf76ed4 \ |
---|
21 | sha256 7e978d75ab8dc20d5c07e3ef2e0a3515fae911c9c31ffe3e9dfa44413f29b2f3 |
---|
22 | |
---|
23 | livecheck.type regex |
---|
24 | livecheck.url ${master_sites} |
---|
25 | livecheck.regex ${name}-(\[0-9\]+)${extract.suffix} |
---|
26 | |
---|
27 | configure.args --mandir=${prefix}/share/man |
---|
28 | |
---|
29 | startupitem.create yes |
---|
30 | startupitem.logfile ${prefix}/var/log/wsgw.log |
---|
31 | startupitem.executable ${prefix}/bin/wsgw |
---|
32 | |
---|
33 | variant pianod { |
---|
34 | depends_lib-append port:pianod |
---|
35 | startupitem.executable-append pianod,localhost,4445,text |
---|
36 | } |
---|
37 | |
---|