git: 0eed19bbe4fe - main - audio/flac123: Update to 2.1.0

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 24 Jun 2023 14:39:14 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0eed19bbe4fe1a229d61cea0ec5f5f334daa187b

commit 0eed19bbe4fe1a229d61cea0ec5f5f334daa187b
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-06-24 10:13:28 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-06-24 14:39:03 +0000

    audio/flac123: Update to 2.1.0
    
    Changelog: https://github.com/flac123/flac123/blob/v2.1.0/ChangeLog
    
    Approved by:    multimedia (with hat on)
---
 audio/flac123/Makefile | 27 ++++++++++++++++-----------
 audio/flac123/distinfo |  5 +++--
 2 files changed, 19 insertions(+), 13 deletions(-)

diff --git a/audio/flac123/Makefile b/audio/flac123/Makefile
index 5973e37e2b33..3fd89e8579f0 100644
--- a/audio/flac123/Makefile
+++ b/audio/flac123/Makefile
@@ -1,29 +1,34 @@
 PORTNAME=	flac123
-PORTVERSION=	0.0.12
-DISTVERSIONSUFFIX=	-release
-PORTREVISION=	2
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2.1.0
 CATEGORIES=	audio
-MASTER_SITES=	SF/flac-tools/${PORTNAME}/
 
 MAINTAINER=	multimedia@FreeBSD.org
 COMMENT=	Command-line player for flac audio files
-WWW=		http://flac-tools.sf.net
+WWW=		https://github.com/flac123/flac123
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libFLAC.so:audio/flac \
 		libao.so:audio/libao \
-		libpopt.so:devel/popt
+		libpopt.so:devel/popt \
+		libogg.so:audio/libogg
 
-OPTIONS_DEFINE=	DOCS
+USES=		autoreconf cpe
+USE_GITHUB=	yes
 
 GNU_CONFIGURE=	yes
-USES=		autoreconf cpe gmake
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+OPTIONS_DEFINE=	DOCS
 
 PORTDOCS=	README.remote
-PLIST_FILES=	bin/flac123
+
+PLIST_FILES=	bin/flac123 \
+		man/man1/flac123.1.gz
 
 post-install:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>
diff --git a/audio/flac123/distinfo b/audio/flac123/distinfo
index 17ae2f9586d1..0bd8415a9fd5 100644
--- a/audio/flac123/distinfo
+++ b/audio/flac123/distinfo
@@ -1,2 +1,3 @@
-SHA256 (flac123-0.0.12-release.tar.gz) = 1976efd54a918eadd3cb10b34c77cee009e21ae56274148afa01edf32654e47d
-SIZE (flac123-0.0.12-release.tar.gz) = 129795
+TIMESTAMP = 1687600454
+SHA256 (flac123-flac123-v2.1.0_GH0.tar.gz) = 74a60cfa9f358a07118dd588a958a16e0e91f837f1a8efe8c124ed3ac63c9e02
+SIZE (flac123-flac123-v2.1.0_GH0.tar.gz) = 131988