sysutils/unetbootin: amend MASTER_SITES, fix minor indentation bug

As of r471558 (now commit a7f0cdea95) 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).
This commit is contained in:
Alexey Dokuchaev 2023-10-14 08:52:16 +00:00
parent f8e31a7416
commit f50b4ec601
1 changed files with 4 additions and 3 deletions

View File

@ -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