aboutsummaryrefslogtreecommitdiffstats
path: root/audio/pianobar/Makefile
blob: 5d4f3c5a994e2bcec9d7a219fd2329705e938015 (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
# Created by: John Hixson <john@pcbsd.org>
# $FreeBSD$

PORTNAME=   pianobar
PORTVERSION=    2015.11.22
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   http://6xq.net/projects/${PORTNAME}/

MAINTAINER= john@pcbsd.org
COMMENT=    Command line Pandora 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>