# -*- 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

name                icecast2
version             2.4.4
revision            2
categories          audio net
license             GPL-2
maintainers         nomaintainer
description         A streaming media server
long_description    Icecast is a streaming media (audio/video) server which currently \
                    supports Ogg (Vorbis and Theora), Opus, WebM and MP3 streams. It \
                    can be used to create an Internet radio station or a privately \
                    running jukebox and many things in between. It is very versatile \
                    in that new formats can be added relatively easily and supports \
                    open standards for communication and interaction.

homepage            https://www.icecast.org/
platforms           darwin

master_sites        https://ftp.osuosl.org/pub/xiph/releases/icecast/
distname            icecast-${version}

checksums           rmd160 a24654985dbd5c192c71f96d308a644744f3ea0b \
                    sha256 49b5979f9f614140b6a38046154203ee28218d8fc549888596a683ad604e4d44 \
                    size   2360592

depends_lib         port:curl \
                    path:lib/libssl.dylib:openssl \
                    port:libtheora \
                    port:libvorbis \
                    port:libxslt \
                    port:speex

livecheck.regex     "icecast-(\\d+(?:\\.\\d+)*)${extract.suffix}"
