# -*- 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
# $Id: Portfile 100567 2012-12-15 22:28:51Z ryandesign@macports.org $

PortSystem          1.0

name                prosody
version             0.8.2
maintainers         g5pw openmaintainer

categories          net chat
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.

platforms           darwin

homepage            http://prosody.im
license             MIT

master_sites        ${homepage}/downloads/source/

depends_lib         port:lua \
                    port:lua-luasocket \
                    port:lua-luasec \
                    port:lua-luaexpat

checksums           rmd160  908a04f5daa7733c66ab4f09fd54fb52175cb70c \
                    sha256  d0315150f8487fc960adf56ce057985428679975f9c6f3fcf424832d24eaae60

configure.args-append \
                    --ostype=macosx \
                    --with-lua-include=${prefix}/include

livecheck.type      regex
livecheck.url       ${master_sites}
livecheck.regex     "${name}-(\\d\\.\\d\\.\\d)"
