# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4
maintainers {g5pw @g5pw} openmaintainer
description Prosody is a modern flexible communications server for \
Jabber/XMPP written in Lua.
long_description ${description} It aims to be easy to set up and configure, \
and light on resources. For developers it aims to be easy \
to extend and give a flexible system on which to rapidly \
develop added functionality, or prototype new protocols.
homepage http://prosody.im
master_sites ${homepage}/downloads/source/
depends_lib port:lua-luasocket \
checksums rmd160 d0c671dda5f9b36e8da4d11c9603f886510e4a40 \
sha256 27d1388acd79eaa453f2b194bd23c25121fe0a704d0dd940457caf1874ea1123 \
configure.cflags-append -fPIC
configure.ldflags-append -bundle -undefined dynamic_lookup
--with-lua-include=${prefix}/include \
--with-lua-lib=${prefix}/lib \
--c-compiler=${configure.cc} \
--linker=${configure.cc} \
--cflags=\"${configure.cflags}\" \
--ldflags=\"${configure.ldflags}\"
livecheck.url ${master_sites}
livecheck.regex "${name}-(\\d+\\.\\d+\\.\\d+)"