From owner-svn-ports-all@freebsd.org Sun Dec 22 22:26:42 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6D5BB1DF139; Sun, 22 Dec 2019 22:26:42 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47gxst2Gqjz3xJV; Sun, 22 Dec 2019 22:26:42 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 445FB6605; Sun, 22 Dec 2019 22:26:42 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xBMMQgpu044391; Sun, 22 Dec 2019 22:26:42 GMT (envelope-from mandree@FreeBSD.org) Received: (from mandree@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBMMQgEV044390; Sun, 22 Dec 2019 22:26:42 GMT (envelope-from mandree@FreeBSD.org) Message-Id: <201912222226.xBMMQgEV044390@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mandree set sender to mandree@FreeBSD.org using -f From: Matthias Andree Date: Sun, 22 Dec 2019 22:26:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520672 - head/audio/pianobar X-SVN-Group: ports-head X-SVN-Commit-Author: mandree X-SVN-Commit-Paths: head/audio/pianobar X-SVN-Commit-Revision: 520672 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Dec 2019 22:26:42 -0000 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