git: 4f2c60e230fc - main - net/libgweather4: revert erroneous commit 52bcb8cd9f26

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Wed, 06 Apr 2022 07:03:17 UTC
The branch main has been updated by danfe:

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

commit 4f2c60e230fc54ac788b238d8ca357cd13707011
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2022-04-06 07:02:08 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2022-04-06 07:02:08 +0000

    net/libgweather4: revert erroneous commit 52bcb8cd9f26
    
    We typically do not embed software (major) version or generation in
    the PORTNAME.  While here, replace PORTSUFFIX used before with more
    appropriate PKGNAMESUFFIX.
---
 net/libgweather4/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net/libgweather4/Makefile b/net/libgweather4/Makefile
index 04110a783fe7..a14974b48b9a 100644
--- a/net/libgweather4/Makefile
+++ b/net/libgweather4/Makefile
@@ -1,11 +1,11 @@
-PORTNAME=	libgweather4
+PORTNAME=	libgweather
 PORTVERSION=	4.0.0
 PORTREVISION=	1
 CATEGORIES=	net gnome
 MASTER_SITES=	GNOME
-MASTER_SITE_SUBDIR=	sources/libgweather/${PORTVERSION:R}
-DISTNAME=	libgweather-${PORTVERSION}
+MASTER_SITE_SUBDIR=	sources/${PORTNAME}/${PORTVERSION:R}
 DIST_SUBDIR=	gnome
+PKGNAMESUFFIX=	4
 
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Library to access online weather information