# -*- 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 # $Id$ PortSystem 1.0 PortGroup github 1.0 github.setup PromyLOPh pianobar 2016.06.02 categories audio platforms darwin maintainers ryandesign openmaintainer license MIT description Console-based pandora.com player long_description pianobar is a console client for the \ personalized web radio pandora \ (http://www.pandora.com).\ Play and manage stations, rate songs and \ see why they were selected, show upcoming \ configure keybindings, last.fm scrobbling, \ proxy support for listening outside of USA. checksums rmd160 949a4991e8935f53c943eaca7ca932eddce27bc8 \ sha256 be02852ad04767604b56742f3ae8208ff6032d2fb3d792c3b80b735c203eeaba depends_build port:pkgconfig depends_lib port:curl \ path:lib/libavcodec.dylib:ffmpeg \ port:libao \ port:libgcrypt \ port:json-c patchfiles getline.patch configure.cflags-append -std=c99 # Prevent upgrade failure. configure.cppflags-replace -I${prefix}/include -isystem${prefix}/include use_configure no variant universal {} build.args CC="${configure.cc} [get_canonical_archflags cc]" \ DYNLINK=1 \ PREFIX=${prefix} \ CFLAGS="${configure.cflags} ${configure.cppflags}" \ LDFLAGS="${configure.ldflags}" \ V=1 destroot.args PREFIX=${prefix} if {${subport} eq ${name}} { depends_lib-append port:libpiano } subport libpiano { depends_lib-append port:gnutls build.target libpiano.so.0 destroot.target install-libpiano platform darwin { build.target libpiano.0.dylib } } platform darwin { patchfiles-append patch-Makefile.diff }