f4e6a46a8f
Add localbase and remove unneeded requisites and variables Upstreamed changed backend to ffmpeg (avcodec) back in 2014. Commit: c872f00508ce4afe3b8ec863b23595c31fd8b4be [1] Note that -std=c99 is set by pianobar's original Makefile already, hence it was redundant. [1, see reviews.f.o discussion, URL below] While here, add V=1 to MAKE_ENV to see the build commands in logs, and run STRIP_CMD on the installed binary. [mandree@] Submitted by: Daniel Engberg [1] Approved by: jhixson@FreeBSD.org (maintainer timeout, 45 days) Differential Revision: https://reviews.freebsd.org/D22269
32 lines
706 B
Makefile
32 lines
706 B
Makefile
# Created by: John Hixson <john@pcbsd.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pianobar
|
|
PORTVERSION= 2019.02.14
|
|
PORTREVISION= 2
|
|
CATEGORIES= audio
|
|
MASTER_SITES= https://6xq.net/${PORTNAME}/
|
|
|
|
MAINTAINER= jhixson@FreeBSD.org
|
|
COMMENT= Command-line Pandora online radio player
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libao.so:audio/libao \
|
|
libgnutls.so:security/gnutls \
|
|
libjson-c.so:devel/json-c \
|
|
libgcrypt.so:security/libgcrypt \
|
|
libavcodec.so:multimedia/ffmpeg \
|
|
libcurl.so:ftp/curl
|
|
|
|
MAKE_ENV+= V=1
|
|
USES= alias gmake localbase pkgconfig tar:bzip2
|
|
|
|
PLIST_FILES= bin/pianobar \
|
|
man/man1/pianobar.1.gz
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pianobar
|
|
|
|
.include <bsd.port.mk>
|