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

name                libmikmod
epoch               1
version             3.3.13

categories          audio
license             LGPL
maintainers         nomaintainer

description         portable sound library
long_description    ${name} is a {*}${description} for Unix systems. It can\
                    play IT, XM, S3M, MTM, 669, STM, ULT, FAR, MED, AMF, DSM,\
                    IMF, GDM, STX, OKT, and MOD module formats.

homepage            https://mikmod.sourceforge.net/
master_sites        sourceforge:project/mikmod/libmikmod/${version}

checksums           md5 d295aa46cda4867d4da9ca5e422867e9 \
                    sha1 ca18f6ed4c4a0fcf581842f6502baf8c99495ea9 \
                    rmd160 07a57118fe166ef9125e077a10d6f067de91180f \
                    sha256 9fc1799f7ea6a95c7c5882de98be85fc7d20ba0a4a6fcacae11c8c6b382bb207

merger_arch_compiler yes

variant esound description {Enable esound support} {
    depends_lib-append      port:esound
    configure.args-append   --enable-esd
}

livecheck.type      regex
livecheck.regex     libmikmod-(\\d+(?:\\.\\d+)*(?:-(?:alpha|beta)\\d)?)\\.tar\\.gz
