Ticket #38757: Portfile.2

File Portfile.2, 1.2 KB (added by perette (Perette Barella), 11 years ago)

wsgw portfile

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