# -*- 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                libmp3splt
version             0.9.2
revision            3
checksums           rmd160  f069b924e3513b630f4551496ebe925bef422023 \
                    sha256  30eed64fce58cb379b7cc6a0d8e545579cb99d0f0f31eb00b9acc8aaa1b035dc \
                    size    707598

categories          audio
license             GPL-2+
maintainers         {ryandesign @ryandesign} openmaintainer

description         Utility for mp3 and ogg splitting without decoding

long_description    mp3splt is a free command-line utility that allows you to \
                    split mp3 and ogg files from a begin time to an end time, \
                    without need of decoding and reencoding. It's useful to \
                    split large mp3/ogg to make smaller files or to split \
                    entire albums to obtain original tracks.

homepage            https://mp3splt.sourceforge.net

master_sites        sourceforge:project/mp3splt/${name}/${version}

depends_build       path:bin/pkg-config:pkgconfig

depends_lib         port:flac \
                    port:gettext \
                    port:libid3tag \
                    port:libmad \
                    port:libtool \
                    port:libvorbis \
                    port:pcre

livecheck.url       ${homepage}/mp3splt_page/downloads.php
livecheck.regex     /${name}-(\[0-9a-z.\]+)${extract.suffix}
