git: 2e003e885356 - main - net/wpa_supplicant_gui: Change URLs to https, remove the dead URL, add comments

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 10 Nov 2021 09:34:23 UTC
The branch main has been updated by yuri:

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

commit 2e003e88535679cf6a99fb47a533b5814508e594
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-11-10 09:33:17 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-11-10 09:34:21 +0000

    net/wpa_supplicant_gui: Change URLs to https, remove the dead URL, add comments
---
 net/wpa_supplicant_gui/Makefile  | 9 +++++++--
 net/wpa_supplicant_gui/pkg-descr | 2 +-
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/net/wpa_supplicant_gui/Makefile b/net/wpa_supplicant_gui/Makefile
index 4c29db5bc7c5..425a6be2fb65 100644
--- a/net/wpa_supplicant_gui/Makefile
+++ b/net/wpa_supplicant_gui/Makefile
@@ -4,8 +4,7 @@ PORTNAME=	wpa_supplicant_gui
 DISTVERSION=	2.9
 PORTREVISION=	2
 CATEGORIES=	net
-MASTER_SITES=	http://w1.fi/releases/ \
-		http://partmedia.users.sourceforge.net/dist/:icons \
+MASTER_SITES=	https://w1.fi/releases/ \
 		LOCAL/yuri/net/wpa_supplicant_gui/:icons
 DISTNAME=	wpa_supplicant-${PORTVERSION}
 DISTFILES=	${DISTNAME}.tar.gz \
@@ -21,10 +20,12 @@ USES=		gl gmake qt:5 xorg
 USE_QT=		qmake_build buildtools_build linguisttools_build core gui \
 		widgets svg_run
 USE_GL=		gl
+
 ALL_TARGET=	wpa_gui-qt4
 
 INSTALL_WRKSRC=	${WRKSRC}/wpa_gui-qt4
 PATCH_WRKSRC=	${WRKDIR}/${DISTNAME}
+
 PLIST_FILES=	sbin/wpa_gui \
 		share/applications/wpa_gui.desktop \
 		share/icons/hicolor/16x16/apps/wpa_gui.png \
@@ -55,16 +56,20 @@ post-patch-DEBUG-on:
 		${INSTALL_WRKSRC}/wpa_gui.pro
 
 do-install:
+	# executable
 	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/wpa_gui \
 		${STAGEDIR}${PREFIX}/sbin
+	# desktop file
 	${INSTALL_DATA} ${INSTALL_WRKSRC}/wpa_gui.desktop \
 		${STAGEDIR}${PREFIX}/share/applications
+	# icons
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps
 	${INSTALL_DATA} ${WRKDIR}/icons/hicolor/16x16/apps/wpa_gui.png \
 		${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
 	${GZIP_CMD} < ${INSTALL_WRKSRC}/icons/wpa_gui.svg \
 		> ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/wpa_gui.svgz
+	# manpage
 	${GZIP_CMD} < ${WRKSRC}/doc/docbook/wpa_gui.8 \
 		> ${STAGEDIR}${PREFIX}/man/man8/wpa_gui.8.gz
 
diff --git a/net/wpa_supplicant_gui/pkg-descr b/net/wpa_supplicant_gui/pkg-descr
index f40663f9e2ad..5fa068937ab0 100644
--- a/net/wpa_supplicant_gui/pkg-descr
+++ b/net/wpa_supplicant_gui/pkg-descr
@@ -1,3 +1,3 @@
 wpa_gui is a nice GUI frontend for wpa_supplicant tool.
 
-WWW: http://w1.fi/wpa_supplicant/
+WWW: https://w1.fi/wpa_supplicant/