git: 5c141f02f651 - main - math/planarity: upgrade to 4.0.0.0

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Sun, 06 Apr 2025 19:57:31 UTC
The branch main has been updated by thierry:

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

commit 5c141f02f651afeaacf6fa024e22b16824d743a1
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2025-04-06 16:14:19 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2025-04-06 19:57:21 +0000

    math/planarity: upgrade to 4.0.0.0
    
    Releases notes at
    https://github.com/graph-algorithms/edge-addition-planarity-suite/releases/tag/Version_4.0.0.0
---
 math/planarity/Makefile  | 11 ++++--
 math/planarity/distinfo  |  6 ++--
 math/planarity/pkg-plist | 94 +++++++++++++++++++++++++++++++++++++-----------
 3 files changed, 85 insertions(+), 26 deletions(-)

diff --git a/math/planarity/Makefile b/math/planarity/Makefile
index 72a458c66dad..02d127715ef8 100644
--- a/math/planarity/Makefile
+++ b/math/planarity/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	planarity
-PORTVERSION=	3.0.2.0
+PORTVERSION=	4.0.0.0
 DISTVERSIONPREFIX=	Version_
-PORTREVISION=	1
 CATEGORIES=	math
 
 MAINTAINER=	thierry@FreeBSD.org
@@ -22,7 +21,13 @@ GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+pre-configure:
+	${REINPLACE_CMD} -e 's|@docdir@/samples|${EXAMPLESDIR}|'	\
+		${WRKSRC}/c/samples/Makefile.am
+
 do-test:
-	(cd ${WRKSRC}/c && ${WRKSRC}/${PORTNAME} -test)
+	(cd ${WRKSRC} && ${WRKSRC}/test-samples.sh)
 
 .include <bsd.port.mk>
diff --git a/math/planarity/distinfo b/math/planarity/distinfo
index b897131a3d0a..9a109e5dcf0b 100644
--- a/math/planarity/distinfo
+++ b/math/planarity/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1646237192
-SHA256 (graph-algorithms-edge-addition-planarity-suite-Version_3.0.2.0_GH0.tar.gz) = 40f4ee7bbd5d8535460c60fc0fc1f806b10909a1419618fd9235746a420a04c6
-SIZE (graph-algorithms-edge-addition-planarity-suite-Version_3.0.2.0_GH0.tar.gz) = 175086
+TIMESTAMP = 1743935056
+SHA256 (graph-algorithms-edge-addition-planarity-suite-Version_4.0.0.0_GH0.tar.gz) = 1efcb06eaec42830de5d35ff664f7580f16dff131dbfc24f627460547b3401d5
+SIZE (graph-algorithms-edge-addition-planarity-suite-Version_4.0.0.0_GH0.tar.gz) = 272107
diff --git a/math/planarity/pkg-plist b/math/planarity/pkg-plist
index 005291bedc2d..4fd23e4587d3 100644
--- a/math/planarity/pkg-plist
+++ b/math/planarity/pkg-plist
@@ -1,25 +1,79 @@
 bin/planarity
-include/planarity/appconst.h
+include/planarity/c/graphLib/extensionSystem/graphExtensions.h
+include/planarity/c/graphLib/extensionSystem/graphExtensions.private.h
+include/planarity/c/graphLib/extensionSystem/graphFunctionTable.h
+include/planarity/c/graphLib/graph.h
+include/planarity/c/graphLib/graphLib.h
+include/planarity/c/graphLib/graphStructures.h
+include/planarity/c/graphLib/homeomorphSearch/graphK23Search.h
+include/planarity/c/graphLib/homeomorphSearch/graphK23Search.private.h
+include/planarity/c/graphLib/homeomorphSearch/graphK33Search.h
+include/planarity/c/graphLib/homeomorphSearch/graphK33Search.private.h
+include/planarity/c/graphLib/homeomorphSearch/graphK4Search.h
+include/planarity/c/graphLib/homeomorphSearch/graphK4Search.private.h
+include/planarity/c/graphLib/io/g6-api-utilities.h
+include/planarity/c/graphLib/io/g6-read-iterator.h
+include/planarity/c/graphLib/io/g6-write-iterator.h
+include/planarity/c/graphLib/io/strOrFile.h
+include/planarity/c/graphLib/io/strbuf.h
+include/planarity/c/graphLib/lowLevelUtils/apiutils.h
+include/planarity/c/graphLib/lowLevelUtils/appconst.h
+include/planarity/c/graphLib/lowLevelUtils/listcoll.h
+include/planarity/c/graphLib/lowLevelUtils/platformTime.h
+include/planarity/c/graphLib/lowLevelUtils/stack.h
+include/planarity/c/graphLib/planarityRelated/graphDrawPlanar.h
+include/planarity/c/graphLib/planarityRelated/graphDrawPlanar.private.h
+include/planarity/c/planarityApp/planarity.h
 include/planarity/graph.h
-include/planarity/graphDrawPlanar.h
-include/planarity/graphDrawPlanar.private.h
-include/planarity/graphExtensions.h
-include/planarity/graphExtensions.private.h
-include/planarity/graphFunctionTable.h
-include/planarity/graphK23Search.h
-include/planarity/graphK23Search.private.h
-include/planarity/graphK33Search.h
-include/planarity/graphK33Search.private.h
-include/planarity/graphK4Search.h
-include/planarity/graphK4Search.private.h
-include/planarity/graphStructures.h
-include/planarity/listcoll.h
-include/planarity/planarity.h
-include/planarity/platformTime.h
-include/planarity/stack.h
-include/planarity/strbuf.h
+include/planarity/graphLib.h
 lib/libplanarity.a
 lib/libplanarity.so
-lib/libplanarity.so.0
-lib/libplanarity.so.0.1.0
+lib/libplanarity.so.2
+lib/libplanarity.so.2.0.0
+libdata/pkgconfig/libplanarity.pc
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE.TXT
+%%PORTDOCS%%%%DOCSDIR%%/README.md
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/K10.g6
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/K10.g6.0-based.AdjList.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/K10.g6.0-based.AdjList.out.txt.0-based.G6.out.g6
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/K10.g6.0-based.AdjMat.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/N5-all.g6
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/N5-all.g6.0-based.AdjList.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/N5-all.g6.0-based.AdjMat.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Petersen.0-based.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Petersen.0-based.txt.ColorVertices.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Petersen.0-based.txt.K23Search.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Petersen.0-based.txt.K33Search.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Petersen.0-based.txt.K4Search.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Petersen.0-based.txt.OuterplanarEmbed.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Petersen.0-based.txt.PlanarEmbed.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Petersen.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Petersen.txt.ColorVertices.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Petersen.txt.K23Search.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Petersen.txt.K33Search.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Petersen.txt.K4Search.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Petersen.txt.OuterplanarEmbed.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Petersen.txt.PlanarEmbed.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/drawExample.0-based.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/drawExample.0-based.txt.ColorVertices.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/drawExample.0-based.txt.DrawPlanar.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/drawExample.0-based.txt.DrawPlanar.out.txt.render.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/drawExample.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/drawExample.txt.ColorVertices.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/drawExample.txt.DrawPlanar.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/drawExample.txt.DrawPlanar.out.txt.render.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/maxPlanar5.0-based.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/maxPlanar5.0-based.txt.ColorVertices.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/maxPlanar5.0-based.txt.DrawPlanar.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/maxPlanar5.0-based.txt.DrawPlanar.out.txt.render.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/maxPlanar5.0-based.txt.PlanarEmbed.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/maxPlanar5.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/maxPlanar5.txt.ColorVertices.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/maxPlanar5.txt.DrawPlanar.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/maxPlanar5.txt.DrawPlanar.out.txt.render.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/maxPlanar5.txt.PlanarEmbed.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nauty_example.g6
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nauty_example.g6.0-based.AdjList.out.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nauty_example.g6.0-based.AdjList.out.txt.0-based.G6.out.g6
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nauty_example.g6.0-based.AdjMat.out.txt
 share/man/man1/planarity.1.gz