Re: git: 52bcb8cd9f26 - main - net/libgweather4: Don't use PORTSUFFIX

From: Mathieu Arnold <mat_at_freebsd.org>
Date: Thu, 24 Mar 2022 16:42:41 UTC
On Wed, Mar 23, 2022 at 05:52:37PM +0000, Neel Chauhan wrote:
> The branch main has been updated by nc:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=52bcb8cd9f26bc2f49bdeb4c1cbe5b3c64342fbf
> 
> commit 52bcb8cd9f26bc2f49bdeb4c1cbe5b3c64342fbf
> Author:     Neel Chauhan <nc@FreeBSD.org>
> AuthorDate: 2022-03-23 17:52:36 +0000
> Commit:     Neel Chauhan <nc@FreeBSD.org>
> CommitDate: 2022-03-23 17:52:36 +0000
> 
>     net/libgweather4: Don't use PORTSUFFIX
> ---
>  net/libgweather4/Makefile | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/net/libgweather4/Makefile b/net/libgweather4/Makefile
> index 138ab6111fcd..fddaba4e3650 100644
> --- a/net/libgweather4/Makefile
> +++ b/net/libgweather4/Makefile
> @@ -1,10 +1,10 @@
> -PORTNAME=	libgweather
> +PORTNAME=	libgweather4

Unless the software is actually really called libgweather4, please
revert, PORTNAME should be what the sotware is called.
Maybe you meant to use PKGNAMESUFIX and not PORTSUFFIX.

>  PORTVERSION=	4.0.0
>  CATEGORIES=	net gnome
>  MASTER_SITES=	GNOME
> -MASTER_SITE_SUBDIR=	sources/${PORTNAME}/${PORTVERSION:R}
> +MASTER_SITE_SUBDIR=	sources/libgweather/${PORTVERSION:R}
> +DISTNAME=	libgweather-${PORTVERSION}
>  DIST_SUBDIR=	gnome
> -PORTSUFFIX=	4
>  
>  MAINTAINER=	gnome@FreeBSD.org
>  COMMENT=	Library to access online weather information
> 

-- 
Mathieu Arnold