git: a3cdf88efb7f - main - audio/*: add GitHub mirror for Xiph.Org projects if available

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Tue, 27 Jun 2023 14:41:21 UTC
The branch main has been updated by naddy:

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

commit a3cdf88efb7f525c414b55aa09007efb047fea01
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2023-06-27 14:40:26 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2023-06-27 14:41:19 +0000

    audio/*: add GitHub mirror for Xiph.Org projects if available
---
 audio/libogg/Makefile    | 5 +++--
 audio/libvorbis/Makefile | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/audio/libogg/Makefile b/audio/libogg/Makefile
index c44a11dd11f6..79e50a5387e9 100644
--- a/audio/libogg/Makefile
+++ b/audio/libogg/Makefile
@@ -1,8 +1,9 @@
 PORTNAME=	libogg
-PORTVERSION=	1.3.5
+DISTVERSION=	1.3.5
 PORTEPOCH=	4
 CATEGORIES=	audio
-MASTER_SITES=	https://downloads.xiph.org/releases/ogg/
+MASTER_SITES=	https://downloads.xiph.org/releases/ogg/ \
+		https://github.com/xiph/ogg/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	naddy@FreeBSD.org
 COMMENT=	Ogg bitstream library
diff --git a/audio/libvorbis/Makefile b/audio/libvorbis/Makefile
index 86572dbf3d7b..23507d11e7cc 100644
--- a/audio/libvorbis/Makefile
+++ b/audio/libvorbis/Makefile
@@ -1,9 +1,10 @@
 PORTNAME=	libvorbis
-PORTVERSION=	1.3.7
+DISTVERSION=	1.3.7
 PORTREVISION=	2
 PORTEPOCH=	3
 CATEGORIES=	audio
-MASTER_SITES=	https://downloads.xiph.org/releases/vorbis/
+MASTER_SITES=	https://downloads.xiph.org/releases/vorbis/ \
+		https://github.com/xiph/vorbis/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	naddy@FreeBSD.org
 COMMENT=	Audio compression codec library