git: f50b4ec601df - main - sysutils/unetbootin: amend MASTER_SITES, fix minor indentation bug

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Sat, 14 Oct 2023 08:52:57 UTC
The branch main has been updated by danfe:

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

commit f50b4ec601df51fa077be51e4ac385404204b2df
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-10-14 08:52:16 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-10-14 08:52:16 +0000

    sysutils/unetbootin: amend MASTER_SITES, fix minor indentation bug
    
    As of r471558 (now commit a7f0cdea95a2) the project had moved from
    SourceForge to GitHub, yet distfiles are provided at both locations.
    Prefer the former by default to enjoy its vast selection of mirrors
    while downloads from the latter are less reliable in certain parts
    of the world (e.g. I'm getting truncated files off it all the time).
---
 sysutils/unetbootin/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sysutils/unetbootin/Makefile b/sysutils/unetbootin/Makefile
index c7e56f560413..043e85d598ca 100644
--- a/sysutils/unetbootin/Makefile
+++ b/sysutils/unetbootin/Makefile
@@ -2,7 +2,8 @@ PORTNAME=	unetbootin
 PORTVERSION=	702
 PORTREVISION=	2
 CATEGORIES=	sysutils
-MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTVERSION}/
+MASTER_SITES=	SF/${PORTNAME}/UNetbootin/${PORTVERSION} \
+		https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTVERSION}/
 DISTNAME=	${PORTNAME}-source-${PORTVERSION}
 
 MAINTAINER=	danfe@FreeBSD.org
@@ -30,8 +31,8 @@ post-patch:
 
 do-configure:
 	cd ${CONFIGURE_WRKSRC} && ${LUPDATE} unetbootin.pro \
-		     && ${LRELEASE} unetbootin.pro \
-		     && ${QMAKE_ENV} ${QMAKE} ${QMAKE_ARGS}
+		&& ${LRELEASE} unetbootin.pro \
+		&& ${QMAKE_ENV} ${QMAKE} ${QMAKE_ARGS}
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/unetbootin ${STAGEDIR}${PREFIX}/bin