- Update `sysutils/unetbootin' to version 661, which had added support for

Ubuntu 18.04 and some minor bugfixes
- The project had moved to GitHub from SF, but do not switch to USE_GITHUB
  just yet (distfile size would be 16257579 bytes in this case, apparently
  because upstream does not know how to prepare GitHub releases properly)
- Amend the regex when patching `main.cpp' for better ${PREFIX} support:
  previously it was not covering `/usr/bin/unetbootin'

Found out via:	repology.org
This commit is contained in:
Alexey Dokuchaev
2018-06-04 15:31:52 +00:00
parent 2c4c411c05
commit a7f0cdea95
3 changed files with 7 additions and 7 deletions

View File

@@ -2,9 +2,9 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= unetbootin PORTNAME= unetbootin
PORTVERSION= 657 PORTVERSION= 661
CATEGORIES= sysutils CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/UNetbootin/${PORTVERSION} MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTVERSION}/
DISTNAME= ${PORTNAME}-source-${PORTVERSION} DISTNAME= ${PORTNAME}-source-${PORTVERSION}
MAINTAINER= danfe@FreeBSD.org MAINTAINER= danfe@FreeBSD.org
@@ -23,7 +23,7 @@ QMAKE_ARGS= DEFINES+=LOCALBASE=\\\\\\\"${LOCALBASE}\\\\\\\"
NO_WRKSUBDIR= yes NO_WRKSUBDIR= yes
post-patch: post-patch:
@${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,g' \ @${REINPLACE_CMD} -e 's,/usr/,${PREFIX}/,g' \
${WRKSRC}/main.cpp ${WRKSRC}/main.cpp
do-configure: do-configure:

View File

@@ -1,3 +1,3 @@
TIMESTAMP = 1508836950 TIMESTAMP = 1524913051
SHA256 (unetbootin-source-657.tar.gz) = eacf0d8e7d712a34ae41f01c9a4c03cf01dd9a36284cd67475670c0ab5787690 SHA256 (unetbootin-source-661.tar.gz) = 0f909a1a473617e3b8d40d14741b6de58697c48b4c4c782d3d427a82a3b9cd10
SIZE (unetbootin-source-657.tar.gz) = 749244 SIZE (unetbootin-source-661.tar.gz) = 768431

View File

@@ -3,4 +3,4 @@ and other Linux distributions without burning a CD. This is useful when
supplied ISO image cannot be directly written to USB drive or SD card to supplied ISO image cannot be directly written to USB drive or SD card to
get a bootable media. get a bootable media.
WWW: http://unetbootin.sourceforge.net/ WWW: http://unetbootin.github.io/