git: 5f4954d7f409 - main - net-mgmt/ipcalc: update to 0.51

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Mon, 06 Mar 2023 07:59:52 UTC
The branch main has been updated by fernape:

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

commit 5f4954d7f409a00897d3f571046180e8c95c8a71
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2023-03-05 18:09:03 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-03-06 07:55:21 +0000

    net-mgmt/ipcalc: update to 0.51
    
    ChangeLog: ttps://github.com/kjokjo/ipcalc/blob/0.51/changelog
    
    Reporter becomes maintainer. Already maintainer of several ports.
    
    PR:             269974
    Reported by:    DtxdF@disroot.org
---
 net-mgmt/ipcalc/Makefile | 21 +++++++++++----------
 net-mgmt/ipcalc/distinfo |  7 +++----
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/net-mgmt/ipcalc/Makefile b/net-mgmt/ipcalc/Makefile
index d02d03d0abaf..0f660c6088e2 100644
--- a/net-mgmt/ipcalc/Makefile
+++ b/net-mgmt/ipcalc/Makefile
@@ -1,25 +1,26 @@
 PORTNAME=	ipcalc
-PORTVERSION=	0.41
-PORTREVISION=	3
+PORTVERSION=	0.51
 CATEGORIES=	net-mgmt
-MASTER_SITES=	http://jodies.de/ipcalc-archive/
-DIST_SUBDIR=	ipcalc
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	DtxdF@disroot.org
 COMMENT=	IP Calculator
 WWW=		https://jodies.de/ipcalc
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/license
+
+USES=		perl5 shebangfix
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	kjokjo
+
+SHEBANG_FILES=	ipcalc
 
 CONFLICTS_INSTALL=	gnu-ipcalc
 
-PLIST_FILES=	bin/ipcalc
 NO_BUILD=	yes
-USES=		perl5 shebangfix
 
-SHEBANG_FILES=	ipcalc
-PATCH_SITES+=	${MASTER_SITES}
-PATCHFILES+=	patch-queue
+PLIST_FILES=	bin/ipcalc
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
diff --git a/net-mgmt/ipcalc/distinfo b/net-mgmt/ipcalc/distinfo
index 0d9bc5649ff4..eaf169f1f5a2 100644
--- a/net-mgmt/ipcalc/distinfo
+++ b/net-mgmt/ipcalc/distinfo
@@ -1,4 +1,3 @@
-SHA256 (ipcalc/ipcalc-0.41.tar.gz) = dda9c571ce3369e5b6b06e92790434b54bec1f2b03f1c9df054c0988aa4e2e8a
-SIZE (ipcalc/ipcalc-0.41.tar.gz) = 21599
-SHA256 (ipcalc/patch-queue) = 034c7f16f94297bceae88b4b14162124d5385740750050449ca0794484f21cb1
-SIZE (ipcalc/patch-queue) = 807
+TIMESTAMP = 1678016315
+SHA256 (kjokjo-ipcalc-0.51_GH0.tar.gz) = a4dbfaeb7511b81830793ab9936bae9d7b1b561ad33e29106faaaf97ba1c117e
+SIZE (kjokjo-ipcalc-0.51_GH0.tar.gz) = 25012