Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (30 sloc) 1.29 KB
# -*- 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
PortSystem 1.0
PortGroup github 1.0
PortGroup cmake 1.1
github.setup warmcat libwebsockets 3.1.0 v
categories devel net
platforms darwin
license LGPL-2.1
maintainers {gmail.com:slewsys @slewsys} openmaintainer
description Canonical libwebsockets.org websocket library
long_description \
Libwebsockets is a lightweight pure C library built to use minimal \
CPU and memory resources, and provide fast throughput in both directions \
as client or server.
checksums rmd160 6932b4cd29c0f92c9a091879857b70679d2b49bf \
sha256 661d4f8d3d4c28cf16c5fe7e77d49875803f7f656382a58c1693475ad16d5dde \
size 8583247
depends_lib-append path:lib/libssl.dylib:openssl \
port:zlib
configure.args-append \
-DLWS_WITHOUT_TESTAPPS=ON \
-DLWS_UNIX_SOCK=ON \
-DLWS_IPV6=ON \
-DLWS_WITH_HTTP2=1
post-extract {
reinplace "s|-Werror||g" ${worksrcpath}/CMakeLists.txt
}
post-destroot {
delete ${destroot}${prefix}/share/${name}-test-server
}
You can’t perform that action at this time.