aboutsummaryrefslogtreecommitdiff
path: root/graphics/graphopt
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-12-05 15:08:56 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-12-05 15:08:56 +0000
commit817aca48a7f09a318eb6093425ab755c66cb8442 (patch)
tree7f5e4c4cf7451418220d607a361a63fc561f60bc /graphics/graphopt
parent134b97ed014d79855833667748b256ac3098e35c (diff)
downloadports-817aca48a7f09a318eb6093425ab755c66cb8442.tar.gz
ports-817aca48a7f09a318eb6093425ab755c66cb8442.zip
Notes
Diffstat (limited to 'graphics/graphopt')
-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
6 files changed, 59 insertions, 0 deletions
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%%