git: f53717a5ad09 - main - audio/id3mtag: update to 0.81

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sun, 30 Jul 2023 22:59:25 UTC
The branch main has been updated by fuz:

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

commit f53717a5ad092b840f7c0884094bff1f74623170
Author:     Marc Schoolderman <info@marcschoolderman.nl>
AuthorDate: 2023-07-28 09:55:37 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-07-30 22:59:02 +0000

    audio/id3mtag: update to 0.81
    
    Changes in id3 0.81:
    - Will now also update ID3v2 tags by default (if they are present)
    - Add support for POPM frames
    - Fixes bugs (thanks geeknik!)
    - Replaces code removed by C++17 to fix compilation issues in FreeBSD 14
    
    Changes in the package:
    - maintainer email address changed (the old one still works for now)
    - bash-completion files are now installed unconditionally
    - bash-completion files are now installed into the right places
    
    PR:             272410
---
 audio/id3mtag/Makefile | 28 +++++++++++++---------------
 audio/id3mtag/distinfo |  5 +++--
 2 files changed, 16 insertions(+), 17 deletions(-)

diff --git a/audio/id3mtag/Makefile b/audio/id3mtag/Makefile
index 532c267b69d6..b80e1e309401 100644
--- a/audio/id3mtag/Makefile
+++ b/audio/id3mtag/Makefile
@@ -1,34 +1,36 @@
 PORTNAME=	id3mtag
-PORTVERSION=	0.80
+DISTVERSION=	0.81
 CATEGORIES=	audio
 MASTER_SITES=	https://github.com/squell/id3/releases/download/${PORTVERSION}/
 DISTNAME=	id3-${PORTVERSION}
 
-MAINTAINER=	squell@alumina.nl
+MAINTAINER=	info@squell.net
 COMMENT=	Mass tagging utility for audio files
 WWW=		https://squell.github.io/id3
 
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+USES=		iconv
+
 MAKEFILE=	makefile
 ALL_TARGET=	build
 
-PLIST_FILES=	bin/id3 man/man1/id3.1.gz
-PORTDOCS=	README CHANGES
-
-OPTIONS_DEFINE=	DOCS BASH
-BASH_DESC=	Support for bash auto-completion
-BASH_PLIST_FILES=	share/bash-completion/completions/id3
-
-USES=		iconv
-
 CFLAGS+=	-I${ICONV_INCLUDE_PATH}
 LDFLAGS+=	-L${ICONV_PREFIX}/lib ${ICONV_LIB}
 
+PLIST_FILES=	bin/id3 \
+		etc/bash_completion.d/id3mtag-completion.bash \
+		man/man1/id3.1.gz
+PORTDOCS=	CHANGES README
+
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/id3 ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/id3.man ${STAGEDIR}${MANPREFIX}/man/man1/id3.1
+	${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
+	${INSTALL_DATA} ${WRKSRC}/bash/complete ${STAGEDIR}${PREFIX}/etc/bash_completion.d/id3mtag-completion.bash
 
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
@@ -36,8 +38,4 @@ post-install-DOCS-on:
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 
-post-install-BASH-on:
-	${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions
-	${INSTALL_DATA} ${WRKSRC}/bash/complete ${STAGEDIR}${PREFIX}/${BASH_PLIST_FILES}
-
 .include <bsd.port.mk>
diff --git a/audio/id3mtag/distinfo b/audio/id3mtag/distinfo
index 7cf49fc9601a..99bd13968295 100644
--- a/audio/id3mtag/distinfo
+++ b/audio/id3mtag/distinfo
@@ -1,2 +1,3 @@
-SHA256 (id3-0.80.tar.gz) = aa61735c5806ed77b71de1408a78371d04add8c8c9b1532a055949081e5a35e2
-SIZE (id3-0.80.tar.gz) = 78289
+TIMESTAMP = 1690757919
+SHA256 (id3-0.81.tar.gz) = 5eda41e277e67492bfe0116d24962c24c47ead56a925a00f05f724bcc7687b0c
+SIZE (id3-0.81.tar.gz) = 79932