git: 14e2f511b60b - main - math/chaco: fix MASTER_SITES, take maintainership

From: Älven <alven_at_FreeBSD.org>
Date: Sat, 02 Aug 2025 10:11:01 UTC
The branch main has been updated by alven:

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

commit 14e2f511b60b09c87f65f7366ff6a10ed8351067
Author:     Älven <alven@FreeBSD.org>
AuthorDate: 2025-07-28 07:12:21 +0000
Commit:     Älven <alven@FreeBSD.org>
CommitDate: 2025-08-02 10:10:33 +0000

    math/chaco: fix MASTER_SITES, take maintainership
    
    * Take: maintainership
    
    * Old upstream is totally gone. Move MASTER_SITES on.
      The new one is a reputable academic organization:
      Mathematics and Computer Science Argonne National Laboratory.
    
      https://www.anl.gov/mcs
    
    PR:             288479
    Approved by:    yuri@ (Mentor)
---
 math/chaco/Makefile             | 13 +++++--------
 math/chaco/files/patch-Makefile | 12 ++++++------
 2 files changed, 11 insertions(+), 14 deletions(-)

diff --git a/math/chaco/Makefile b/math/chaco/Makefile
index 4f92ffccde6e..d3fe6020b178 100644
--- a/math/chaco/Makefile
+++ b/math/chaco/Makefile
@@ -1,15 +1,12 @@
 PORTNAME=	chaco
-PORTVERSION=	2.2
+DISTVERSION=	2.2
 CATEGORIES=	math
-MASTER_SITES=	http://www.cs.sandia.gov/downloads/papers/bahendr/ \
-		http://bsd1.csme.ru/myports/ \
-		http://bsd2.csme.ru/myports/ \
-		http://bsd3.csme.ru/myports/
-DISTNAME=	Chaco-${PORTVERSION}
+MASTER_SITES=	https://ftp.mcs.anl.gov/pub/petsc/externalpackages/
+DISTNAME=	Chaco-${DISTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	alven@FreeBSD.org
 COMMENT=	Software for partitioning graphs
-WWW=		http://www.cs.sandia.gov/~bahendr/chaco.html
+WWW=		https://github.com/sandialabs/Chaco/
 
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/../GNU_Lesser_GPL.txt
diff --git a/math/chaco/files/patch-Makefile b/math/chaco/files/patch-Makefile
index 5f7bd7630476..a718de50d14d 100644
--- a/math/chaco/files/patch-Makefile
+++ b/math/chaco/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig	Thu Oct  2 12:23:22 1997
-+++ Makefile	Mon May  1 22:19:06 2006
-@@ -1,11 +1,13 @@
+--- Makefile.orig	1997-10-02 17:23:22 UTC
++++ Makefile
+@@ -1,11 +1,13 @@ DEST=		${DEST_DIR}/chaco
  DEST_DIR = 	../exec
  DEST=		${DEST_DIR}/chaco
 -CC = 		gcc
@@ -18,7 +18,7 @@
  		submain/balance.c submain/divide.c submain/submain.c \
  		input/input_assign.c \
  		input/check_input.c input/input.c input/input_geom.c \
-@@ -87,11 +89,20 @@
+@@ -87,11 +89,20 @@ FILES.c=	main/user_params.c main/interface.c main/main
  		util/update.c  util/vecout.c util/vecran.c \
                  util/vecscale.c 
  
@@ -27,9 +27,9 @@
  FILES.o=	$(FILES.c:.c=.o) 
  
 +libFILES.o=	$(libFILES.c:.c=.o)
-+
-+all: ${DEST} ${DEST_DIR}/libchaco.a
  
++all: ${DEST} ${DEST_DIR}/libchaco.a
++
  ${DEST}:	${FILES.o} Makefile
  		${CC} ${OFLAGS} ${FILES.o} -lm -o ${DEST}
 +