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

github.setup            jkramer shell-fm 0.8 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from     tarball
revision                3
categories              audio
maintainers             fawong.com:waf
license                 GPL-2

description             Console-based last.fm player

long_description        shell-fm is a lightweight, console-based player for Last.FM radio streams. \
                        It\'s pretty small \
                        and it has most features the \"official\" player has, if not even a few more. \
                        \
                        Additional features are, for example: \
                        network interface (control shell-fm remotely) \
                        autoban (automatically ban all tracks of an artist you don\'t like) \
                        bookmark stations (quickly jump to bookmarked stations with a single key) \
                        ... probably more

depends_build           path:bin/pkg-config:pkgconfig

depends_lib             port:libao \
                        port:taglib \
                        port:libmad

checksums               sha1    ad35391489a4c5b216740a543f6cb46285f556c7 \
                        rmd160  1d9b53c03156b44717365c43dd6d95cea7145ca0

patchfiles              patch-Makefile.diff \
                        patch-source-sckif.c.diff

use_configure           no

build.args              PREFIX=${prefix} CC="${configure.cc} ${configure.cc_archflags}"
destroot.args           PREFIX=${prefix}