diff --git a/sysutils/unetbootin/Makefile b/sysutils/unetbootin/Makefile index c7e56f560413..043e85d598ca 100644 --- a/sysutils/unetbootin/Makefile +++ b/sysutils/unetbootin/Makefile @@ -1,48 +1,49 @@ 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 COMMENT= Bootable Live USB creator for various Linux distributions WWW= https://unetbootin.github.io/ LICENSE= GPLv2+ RUN_DEPENDS= 7zz:archivers/7-zip \ syslinux:sysutils/syslinux \ mke2fs:sysutils/e2fsprogs-core USES= qt:5 USE_QT= buildtools:build linguisttools:build qmake:build \ core gui network widgets QMAKE_ARGS= DEFINES+=LOCALBASE=\\\\\\\"${LOCALBASE}\\\\\\\" NO_WRKSUBDIR= yes post-patch: @${REINPLACE_CMD} -e 's,/usr/,${PREFIX}/,g' \ ${WRKSRC}/main.cpp @${REINPLACE_CMD} -e 's,this->setWindowTitle(UNETBOOTINB,& \ " ${PORTVERSION}",' ${WRKSRC}/unetbootin.cpp 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 ${INSTALL_DATA} ${WRKSRC}/unetbootin.xpm \ ${STAGEDIR}${PREFIX}/share/pixmaps @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/unetbootin_*.qm ${STAGEDIR}${DATADIR} .for n in 16 22 24 32 48 64 128 192 256 512 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${n}x${n}/apps ${INSTALL_DATA} ${WRKSRC}/unetbootin_${n}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${n}x${n}/apps/unetbootin.png .endfor .include