aboutsummaryrefslogtreecommitdiffstats
path: root/audio/pianobar/Makefile
blob: 58da486497cc11b4b9e46e63566c877a16e0e6f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Created by: John Hixson <john@pcbsd.org>
# $FreeBSD$

PORTNAME=   pianobar
PORTVERSION=    2017.08.30
PORTREVISION=   2
CATEGORIES= audio
MASTER_SITES=   https://6xq.net/${PORTNAME}/

PATCH_SITES=    https://github.com/PromyLOPh/${PORTNAME}/commit/
PATCHFILES= 38b16f9957a7.patch:-p1

MAINTAINER= jhixson@FreeBSD.org
COMMENT=    Command-line Pandora online radio player

LICENSE=    MIT

LIB_DEPENDS=    libao.so:audio/libao \
        libfaad.so:audio/faad \
        libmad.so:audio/libmad \
        libgnutls.so:security/gnutls \
        libjson-c.so:devel/json-c \
        libgcrypt.so:security/libgcrypt \
        libavcodec.so:multimedia/ffmpeg \
        libcurl.so:ftp/curl

PLIST_FILES=    bin/pianobar \
        man/man1/pianobar.1.gz

USES=       alias gmake pkgconfig tar:bzip2
MAKE_ARGS+= CC="${CC}" PREFIX="${PREFIX}"

CFLAGS+=    -I${LOCALBASE}/include -std=c99
LDFLAGS+=   -L${LOCALBASE}/lib

.include <bsd.port.mk>