git: 1c04ed35351c - main - ports-mgmt/portfmt: Move to new home

From: Tobias Kortkamp <tobik_at_FreeBSD.org>
Date: Thu, 25 Aug 2022 21:35:23 UTC
The branch main has been updated by tobik:

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

commit 1c04ed35351c5b2f5ea7182af358fb358012f35b
Author:     Tobias Kortkamp <tobik@FreeBSD.org>
AuthorDate: 2022-08-25 21:16:22 +0000
Commit:     Tobias Kortkamp <tobik@FreeBSD.org>
CommitDate: 2022-08-25 21:16:22 +0000

    ports-mgmt/portfmt: Move to new home
---
 ports-mgmt/portfmt/Makefile                            |  3 ++-
 .../patch-6ae6bd4e645070b91ece4f6d393cdfbb836b86ef     | 18 ++++++++++++++++++
 ports-mgmt/portfmt/pkg-descr                           |  2 +-
 3 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/ports-mgmt/portfmt/Makefile b/ports-mgmt/portfmt/Makefile
index 977b9ce541ab..9edaba7849ab 100644
--- a/ports-mgmt/portfmt/Makefile
+++ b/ports-mgmt/portfmt/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	portfmt
 DISTVERSION=	1.1.2
+PORTREVISION=	1
 CATEGORIES=	ports-mgmt
-MASTER_SITES=	https://github.com/t6/portfmt/releases/download/v${DISTVERSION}/
+MASTER_SITES=	https://codeberg.org/attachments/0991a836-2810-45b3-9035-45716b5a29a7?dummy=/
 
 MAINTAINER=	tobik@FreeBSD.org
 COMMENT=	Format FreeBSD Ports Makefiles
diff --git a/ports-mgmt/portfmt/files/patch-6ae6bd4e645070b91ece4f6d393cdfbb836b86ef b/ports-mgmt/portfmt/files/patch-6ae6bd4e645070b91ece4f6d393cdfbb836b86ef
new file mode 100644
index 000000000000..0ddd1348c431
--- /dev/null
+++ b/ports-mgmt/portfmt/files/patch-6ae6bd4e645070b91ece4f6d393cdfbb836b86ef
@@ -0,0 +1,18 @@
+From 6ae6bd4e645070b91ece4f6d393cdfbb836b86ef Mon Sep 17 00:00:00 2001
+From: Tobias Kortkamp <tobik@FreeBSD.org>
+Date: Fri, 19 Aug 2022 15:48:12 +0200
+Subject: [PATCH] Replace references to GitHub
+
+diff --git parser/edits/lint/order.c parser/edits/lint/order.c
+index df69f2d..57f610c 100644
+--- parser/edits/lint/order.c
++++ parser/edits/lint/order.c
+@@ -377,7 +377,7 @@ check_variable_order(struct Parser *parser, struct AST *root, bool no_color)
+ 		row(pool, target, "# Portclippy to ignore them.", NULL);
+ 		row(pool, target, "#", NULL);
+ 		row(pool, target, "# If in doubt please report this on portfmt's bug tracker:", NULL);
+-		row(pool, target, "# https://github.com/t6/portfmt/issues", NULL);
++		row(pool, target, "# https://codeberg.org/tobik/portfmt/issues", NULL);
+ 	}
+ 	ARRAY_FOREACH(unknowns, char *, var) {
+ 		struct Set *uses_candidates = NULL;
diff --git a/ports-mgmt/portfmt/pkg-descr b/ports-mgmt/portfmt/pkg-descr
index 5d525cd4172f..46442eee12cc 100644
--- a/ports-mgmt/portfmt/pkg-descr
+++ b/ports-mgmt/portfmt/pkg-descr
@@ -22,4 +22,4 @@ It comes with several tools:
 
   - set-version: resets PORTREVISION, sets DISTVERSION or PORTVERSION
 
-WWW: https://github.com/t6/portfmt
+WWW: https://codeberg.org/tobik/portfmt