Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/abcde/Makefile,v
retrieving revision 1.27
diff -u -p -r1.27 Makefile
--- Makefile	29 Jan 2018 15:47:11 -0000	1.27
+++ Makefile	7 Aug 2018 17:19:23 -0000
@@ -2,12 +2,14 @@
 
 COMMENT=	command-line utility to rip and encode audio cds
 
-DISTNAME=	abcde-2.7.2
+DISTNAME=	abcde-2.9.2
 EPOCH=		0
 CATEGORIES=	audio
 
 HOMEPAGE=	https://abcde.einval.com/
 
+MAINTAINER=	Charlene Wendling <julianaito@posteo.jp>
+
 # Artistic or GPLv2+
 PERMIT_PACKAGE_CDROM=	Yes
 
@@ -17,7 +19,9 @@ RUN_DEPENDS=	audio/cdparanoia \
 		audio/cd-discid \
 		audio/id3lib \
 		audio/vorbis-tools \
-		shells/bash
+		shells/bash \
+		www/p5-WebService-MusicBrainz \
+		audio/p5-MusicBrainz-DiscID
 
 NO_TEST=	Yes
 
@@ -28,6 +32,7 @@ pre-configure:
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/abcde ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/abcde-musicbrainz-tool ${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/cddb-tool ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/abcde.1 ${PREFIX}/man/man1
 	${INSTALL_MAN} ${WRKSRC}/cddb-tool.1 ${PREFIX}/man/man1
Index: distinfo
===================================================================
RCS file: /cvs/ports/audio/abcde/distinfo,v
retrieving revision 1.13
diff -u -p -r1.13 distinfo
--- distinfo	29 Jan 2018 15:47:11 -0000	1.13
+++ distinfo	7 Aug 2018 17:19:23 -0000
@@ -1,2 +1,2 @@
-SHA256 (abcde-2.7.2.tar.gz) = qjmIFoKsRuufwZnRNDuXvFajIrQaXFcBOs2jGUi8U90=
-SIZE (abcde-2.7.2.tar.gz) = 146407
+SHA256 (abcde-2.9.2.tar.gz) = NDVsbqTMObM8gHJhv9+OjaiQWy7VAxMUfHiyg+72hY0=
+SIZE (abcde-2.9.2.tar.gz) = 160799
Index: patches/patch-abcde
===================================================================
RCS file: patches/patch-abcde
diff -N patches/patch-abcde
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-abcde	7 Aug 2018 17:19:23 -0000
@@ -0,0 +1,15 @@
+$OpenBSD$
+Fix tracks offsets list gathering, will be fixed for v2.9.3
+Upstream commit 8de69dd9476d40b4d61b25532f0a22acd932d765
+Index: abcde
+--- abcde.orig
++++ abcde
+@@ -2110,7 +2110,7 @@ do_discid ()
+ 				CDPARANOIAAUDIOTRACKS="$TRACKS"
+ 
+ 				LEADOUT="$(echo "$CDPARANOIAOUTPUT" | grep -Eo '^TOTAL[[:space:]]+([[:digit:]]+)' | get_last)"
+-				OFFSETS="$(echo "$CDPARANOIAOUTPUT" | sed -n -e's/^ .* \([0-9]\+\) \[.*/\1/p')"
++				OFFSETS="$(echo "$CDPARANOIAOUTPUT" | awk '/^ +.*\[/ {print $4}')"
+ 				makeids
+ 				;;
+ 			*)
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/audio/abcde/pkg/DESCR,v
retrieving revision 1.4
diff -u -p -r1.4 DESCR
--- pkg/DESCR	6 Jan 2018 11:39:24 -0000	1.4
+++ pkg/DESCR	7 Aug 2018 17:19:23 -0000
@@ -1,7 +1,8 @@
-abcde is a front end command-line utility (actually, a shell script)
-that grabs tracks off a CD, encodes them to ogg or mp3 format, and
-tags and names them with data from a CDDB server, all in one go.
+abcde is a front end command-line utility that grabs tracks off a CD, encodes
+them to OGG or many other formats, and tags and names them with data from
+MusicBrainz.org or a CDDB server, all in one go.
 
-To use mp3 format, install the lame package, and set OUTPUTTYPE=mp3 in
-${SYSCONFDIR}/abcde.conf (copy this to ~/.abcde.conf for per-user
-configuration).
+That package comes with the default OGG Vorbis support only. For example, to
+use the MP3 format, install the lame and eyeD3 packages, and set
+OUTPUTTYPE=mp3 in ${SYSCONFDIR}/abcde.conf (copy this to ~/.abcde.conf for
+per-user configuration).
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/audio/abcde/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST	21 Nov 2012 20:38:48 -0000	1.3
+++ pkg/PLIST	7 Aug 2018 17:19:23 -0000
@@ -1,6 +1,7 @@
 @comment $OpenBSD: PLIST,v 1.3 2012/11/21 20:38:48 sthen Exp $
 @pkgpath audio/abcde,lame
 bin/abcde
+bin/abcde-musicbrainz-tool
 bin/cddb-tool
 @man man/man1/abcde.1
 @man man/man1/cddb-tool.1
