Date: Sun, 22 Dec 2019 22:26:42 +0000 (UTC) From: Matthias Andree <mandree@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520672 - head/audio/pianobar Message-ID: <201912222226.xBMMQgEV044390@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mandree Date: Sun Dec 22 22:26:41 2019 New Revision: 520672 URL: https://svnweb.freebsd.org/changeset/ports/520672 Log: audio/pianobar Makefile cleanup, minor tweaks 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 Modified: head/audio/pianobar/Makefile Modified: head/audio/pianobar/Makefile ============================================================================== --- head/audio/pianobar/Makefile Sun Dec 22 22:13:16 2019 (r520671) +++ head/audio/pianobar/Makefile Sun Dec 22 22:26:41 2019 (r520672) @@ -3,7 +3,7 @@ PORTNAME= pianobar PORTVERSION= 2019.02.14 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= https://6xq.net/${PORTNAME}/ @@ -14,22 +14,19 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING 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 -USES= alias gmake pkgconfig tar:bzip2 +MAKE_ENV+= V=1 +USES= alias gmake localbase pkgconfig tar:bzip2 PLIST_FILES= bin/pianobar \ man/man1/pianobar.1.gz -MAKE_ARGS+= CC="${CC}" PREFIX="${PREFIX}" - -CFLAGS+= -I${LOCALBASE}/include -std=c99 -LDFLAGS+= -L${LOCALBASE}/lib +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pianobar .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912222226.xBMMQgEV044390>