net/netmap: fix build with new graphviz

PR: 270710
MFH:    2023Q2
Display is still possible with dot an a viewer
This commit is contained in:
Dirk Meyer 2023-04-09 07:46:10 +02:00
parent 021ceba2e8
commit b5a37bd131
2 changed files with 24 additions and 3 deletions

View file

@ -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

View file

@ -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
+