git: 6689d1896343 - main - multimedia/smplayer: upstream have typo in SF download url - add workaround

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Tue, 14 May 2024 18:13:48 UTC
The branch main has been updated by vvd:

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

commit 6689d1896343a4cf2295d4a5bd25826b26cf9944
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-05-14 18:11:09 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-05-14 18:11:09 +0000

    multimedia/smplayer: upstream have typo in SF download url - add workaround
    
    Upstream have typo in SF download url:
    https://sourceforge.net/projects/smplayer/files/SMPlayer/23.5.0/
    but must be:
    https://sourceforge.net/projects/smplayer/files/SMPlayer/24.5.0/
    
    Add temporary workaround.
---
 multimedia/smplayer/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/multimedia/smplayer/Makefile b/multimedia/smplayer/Makefile
index 53072139087e..ab59d3acd431 100644
--- a/multimedia/smplayer/Makefile
+++ b/multimedia/smplayer/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	smplayer
 DISTVERSION=	24.5.0
 CATEGORIES=	multimedia audio kde
-MASTER_SITES=	SF/${PORTNAME}/SMPlayer/${PORTVERSION} \
+MASTER_SITES=	SF/${PORTNAME}/SMPlayer/${PORTVERSION:S/4/3/} \
+		SF/${PORTNAME}/SMPlayer/${PORTVERSION} \
 		https://github.com/${PORTNAME}-dev/${PORTNAME}/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	vvd@FreeBSD.org