git: 9a5678c61278 - 2023Q2 - net/netmap: fix build with new graphviz
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Apr 2023 05:48:19 UTC
The branch 2023Q2 has been updated by dinoex:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9a5678c612780ccbc881ba63f4558bea816821b7
commit 9a5678c612780ccbc881ba63f4558bea816821b7
Author: Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2023-04-09 05:46:10 +0000
Commit: Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2023-04-09 05:48:11 +0000
net/netmap: fix build with new graphviz
PR: 270710
MFH: 2023Q2
Display is still possible with dot an a viewer
(cherry picked from commit b5a37bd131cfb135d3ac5e623c04562827928c4b)
---
net/netmap/Makefile | 6 +++---
net/netmap/files/patch-README | 21 +++++++++++++++++++++
2 files changed, 24 insertions(+), 3 deletions(-)
diff --git a/net/netmap/Makefile b/net/netmap/Makefile
index 2708c2a7b1f5..8cbbf4e6ba75 100644
--- a/net/netmap/Makefile
+++ b/net/netmap/Makefile
@@ -1,16 +1,16 @@
PORTNAME= netmap
PORTVERSION= 0.1.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/NetMap%20${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= dinoex@FreeBSD.org
COMMENT= Make a graphical representation of the surrounding network
WWW= http://netmap.sourceforge.net/
LICENSE= GPLv2
-RUN_DEPENDS= dotty:graphics/graphviz
+RUN_DEPENDS= dot:graphics/graphviz
USES= gmake
diff --git a/net/netmap/files/patch-README b/net/netmap/files/patch-README
new file mode 100644
index 000000000000..8f679a18f675
--- /dev/null
+++ b/net/netmap/files/patch-README
@@ -0,0 +1,21 @@
+--- README.orig 2001-12-23 15:42:29 UTC
++++ README
+@@ -54,3 +54,18 @@ Suggestions, comments and bug-reports welcome!
+ Wouter Godefroy
+ wouter@belgoline.com
+
++
++As dotty was removed in 2022,
++you can use "dot" and any suited viewer for the results.
++
++Some Examples:
++
++dot -Tpdf netmap.pdf netmap.dot
++xpdf netmap.pdf
++
++dot -Tsvg netmap.svg netmap.dot
++gqview netmap.svg
++
++dot -Tpng netmap.png netmap.dot
++xv netmap.png
++