git: f757de92c026 - main - net/vnstat: Remove unnecessary substitution

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:19:29 UTC
The branch main has been updated by sunpoet:

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

commit f757de92c026447f53f1a4b05906b13451300e54
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:27:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:06:38 +0000

    net/vnstat: Remove unnecessary substitution
    
    - Cosmetic change
---
 net/vnstat/Makefile | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/net/vnstat/Makefile b/net/vnstat/Makefile
index 08afdbe2f241..90a3bc355c0c 100644
--- a/net/vnstat/Makefile
+++ b/net/vnstat/Makefile
@@ -1,8 +1,8 @@
 PORTNAME=	vnstat
-DISTVERSION=	2.12
+PORTVERSION=	2.12
 CATEGORIES=	net
-MASTER_SITES=	https://github.com/vergoh/${PORTNAME}/releases/download/v${DISTVERSION}/ \
-		https://humdi.net/${PORTNAME}/
+MASTER_SITES=	https://github.com/vergoh/vnstat/releases/download/v${PORTVERSION}/ \
+		https://humdi.net/vnstat/
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Console-based network traffic monitor
@@ -14,9 +14,9 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		localbase sqlite
 
+CONFIGURE_ARGS=	--disable-extra-paths
 GNU_CONFIGURE=	yes
 GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
-
 INSTALL_TARGET=	install-exec install-man
 USE_RC_SUBR=	vnstat
 
@@ -28,16 +28,13 @@ SUB_FILES=	pkg-message
 SUB_LIST=	USERS=${USERS} \
 		GROUPS=${GROUPS}
 
-CONFIGURE_ARGS=	--disable-extra-paths
-
 OPTIONS_DEFINE=	GUI DOCS
 OPTIONS_DEFAULT=GUI
 OPTIONS_SUB=	yes
-
 GUI_DESC=	Build with graphics/gd dependency
 
-GUI_LIB_DEPENDS=	libgd.so:graphics/gd
 GUI_CONFIGURE_OFF=	--disable-image-output
+GUI_LIB_DEPENDS=	libgd.so:graphics/gd
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/cfg/vnstat.conf ${STAGEDIR}${PREFIX}/etc/vnstat.conf.sample