git: a99e5ef3a8fd - main - cad/gerbv: update 2.7.0 -> 2.10.0, new upstream, URL changed

From: Kurt Jaeger <pi_at_FreeBSD.org>
Date: Tue, 24 Sep 2024 18:30:24 UTC
The branch main has been updated by pi:

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

commit a99e5ef3a8fd220bbe4f90286bc0d314ad344d38
Author:     Kurt Jaeger <pi@FreeBSD.org>
AuthorDate: 2024-09-24 18:26:36 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2024-09-24 18:26:36 +0000

    cad/gerbv: update 2.7.0 -> 2.10.0, new upstream, URL changed
    
    - Also fixes CVE-2023-4508
    
    PR:             281369
    Reported by:    diizzy
    Changes:        https://github.com/gerbv/gerbv/blob/main/NEWS
---
 cad/gerbv/Makefile  | 13 +++++++------
 cad/gerbv/distinfo  |  6 +++---
 cad/gerbv/pkg-plist |  2 +-
 3 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/cad/gerbv/Makefile b/cad/gerbv/Makefile
index 031ef54de888..9decb381912e 100644
--- a/cad/gerbv/Makefile
+++ b/cad/gerbv/Makefile
@@ -1,12 +1,12 @@
 PORTNAME=	gerbv
-PORTVERSION=	2.7.0
-PORTREVISION=	3
+DISTVERSION=	2.10.0
+DISTVERSIONPREFIX=v
 CATEGORIES=	cad
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+MASTER_SITES=	GH
 
 MAINTAINER=	pi@FreeBSD.org
 COMMENT=	Gerber file viewer
-WWW=		http://gerbv.geda-project.org/
+WWW=		https://gerbv.github.io/
 
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
@@ -14,8 +14,9 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2
 
-USES=		autoreconf compiler:c++11-lang cpe desktop-file-utils gmake gnome \
-		libtool localbase pathfix pkgconfig
+USES=		autoreconf compiler:c++11-lang cpe desktop-file-utils \
+		gmake gnome libtool localbase pathfix pkgconfig
+USE_GITHUB=	yes
 USE_GNOME=	cairo gtk20
 USE_LDCONFIG=	yes
 
diff --git a/cad/gerbv/distinfo b/cad/gerbv/distinfo
index 56162eddebf9..f11a23f20329 100644
--- a/cad/gerbv/distinfo
+++ b/cad/gerbv/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1548269427
-SHA256 (gerbv-2.7.0.tar.gz) = c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4
-SIZE (gerbv-2.7.0.tar.gz) = 5691407
+TIMESTAMP = 1727024998
+SHA256 (gerbv-gerbv-v2.10.0_GH0.tar.gz) = 3eef8eb8a2755da8400e7a4394229475ad4cf1a2f85345720ee1da135a1aec44
+SIZE (gerbv-gerbv-v2.10.0_GH0.tar.gz) = 4508865
diff --git a/cad/gerbv/pkg-plist b/cad/gerbv/pkg-plist
index 85d647511988..0bc82fa9c675 100644
--- a/cad/gerbv/pkg-plist
+++ b/cad/gerbv/pkg-plist
@@ -1,5 +1,5 @@
 bin/gerbv
-include/gerbv-%%VERSION%%/gerbv.h
+include/gerbv-/gerbv.h
 lib/libgerbv.a
 lib/libgerbv.so
 lib/libgerbv.so.1