aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-12-05 23:08:56 +0800
committerijliao <ijliao@FreeBSD.org>2003-12-05 23:08:56 +0800
commitc293a822c5dfcc41151a69af7fce004c86e2a139 (patch)
tree9b05a11e84edd9e91f0c3c0b17a8d47148f4ddb7 /graphics
parent82b964531d71653ddc18b5ab1293f93fc72b0f49 (diff)
downloadfreebsd-ports-gnome-c293a822c5dfcc41151a69af7fce004c86e2a139.tar.gz
freebsd-ports-gnome-c293a822c5dfcc41151a69af7fce004c86e2a139.tar.zst
freebsd-ports-gnome-c293a822c5dfcc41151a69af7fce004c86e2a139.zip
add graphopt 0.4.1
Graph Layout Optimizer
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/graphopt/Makefile22
-rw-r--r--graphics/graphopt/distinfo1
-rw-r--r--graphics/graphopt/files/patch-pixmaps:Makefile.in11
-rw-r--r--graphics/graphopt/files/patch-src:main.cc11
-rw-r--r--graphics/graphopt/pkg-descr4
-rw-r--r--graphics/graphopt/pkg-plist10
7 files changed, 60 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 05fbad9821ed..d709ebfee424 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -118,6 +118,7 @@
SUBDIR += gqview
SUBDIR += gqview-devel
SUBDIR += gracula
+ SUBDIR += graphopt
SUBDIR += graphviz
SUBDIR += gridpix
SUBDIR += gsculpt
diff --git a/graphics/graphopt/Makefile b/graphics/graphopt/Makefile
new file mode 100644
index 000000000000..1fc866aa3ddd
--- /dev/null
+++ b/graphics/graphopt/Makefile
@@ -0,0 +1,22 @@
+# ex:ts=8
+# Ports collection makefile for: graphopt
+# Date created: Dec 5, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= graphopt
+PORTVERSION= 0.4.1
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Graph Layout Optimizer
+
+USE_GNOME= gtk12
+GNU_CONFIGURE= yes
+
+.include <bsd.port.mk>
diff --git a/graphics/graphopt/distinfo b/graphics/graphopt/distinfo
new file mode 100644
index 000000000000..2fb966a695c9
--- /dev/null
+++ b/graphics/graphopt/distinfo
@@ -0,0 +1 @@
+MD5 (graphopt-0.4.1.tgz) = 2ffe095a4795ac8fd39d21ecc56694c9
diff --git a/graphics/graphopt/files/patch-pixmaps:Makefile.in b/graphics/graphopt/files/patch-pixmaps:Makefile.in
new file mode 100644
index 000000000000..4ed67aa4c26e
--- /dev/null
+++ b/graphics/graphopt/files/patch-pixmaps:Makefile.in
@@ -0,0 +1,11 @@
+--- pixmaps/Makefile.in.orig Fri Dec 5 23:02:55 2003
++++ pixmaps/Makefile.in Fri Dec 5 23:03:06 2003
+@@ -67,7 +67,7 @@
+ RANLIB = @RANLIB@
+ VERSION = @VERSION@
+
+-pixmapdir = $(prefix)/share/pixmaps/graphopt
++pixmapdir = $(prefix)/share/graphopt/pixmaps
+
+ pixmap_DATA = export.xpm \
+ import.xpm \
diff --git a/graphics/graphopt/files/patch-src:main.cc b/graphics/graphopt/files/patch-src:main.cc
new file mode 100644
index 000000000000..1d54fd7ca8c5
--- /dev/null
+++ b/graphics/graphopt/files/patch-src:main.cc
@@ -0,0 +1,11 @@
+--- src/main.cc.orig Fri Dec 5 22:57:02 2003
++++ src/main.cc Fri Dec 5 22:57:20 2003
+@@ -18,7 +18,7 @@
+ gtk_set_locale ();
+ gtk_init (&argc, &argv);
+
+- add_pixmap_directory (PACKAGE_DATA_DIR "/pixmaps/graphopt");
++ add_pixmap_directory (PACKAGE_DATA_DIR "/graphopt/pixmaps");
+ add_pixmap_directory (PACKAGE_SOURCE_DIR "/pixmaps");
+
+ window1 = create_window1();
diff --git a/graphics/graphopt/pkg-descr b/graphics/graphopt/pkg-descr
new file mode 100644
index 000000000000..b5bd9bb6d5a4
--- /dev/null
+++ b/graphics/graphopt/pkg-descr
@@ -0,0 +1,4 @@
+A graph layout optimizer based on the iterative application of laws of physics
+instead of using finite-pass algorithms.
+
+WWW: http://www.schmuhl.org/graphopt/
diff --git a/graphics/graphopt/pkg-plist b/graphics/graphopt/pkg-plist
new file mode 100644
index 000000000000..8a01a0d8908e
--- /dev/null
+++ b/graphics/graphopt/pkg-plist
@@ -0,0 +1,10 @@
+bin/graphopt
+%%DATADIR%%/pixmaps/export.xpm
+%%DATADIR%%/pixmaps/import.xpm
+%%DATADIR%%/pixmaps/new.xpm
+%%DATADIR%%/pixmaps/open.xpm
+%%DATADIR%%/pixmaps/quit.xpm
+%%DATADIR%%/pixmaps/save.xpm
+%%DATADIR%%/pixmaps/save_as.xpm
+@dirrm %%DATADIR%%/pixmaps
+@dirrm %%DATADIR%%