summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-01-09 00:55:57 +0000
committerijliao <ijliao@FreeBSD.org>2004-01-09 00:55:57 +0000
commit63482336b3db72c8728fc24722b5cf8daffea36c (patch)
treef5d9f5dbf1570a0b866b640b1febef5dfe381cb2
parent57e42316927d77f52f74d76adc8c50437fa19303 (diff)
downloadFreeBSD-ports-63482336b3db72c8728fc24722b5cf8daffea36c.zip
FreeBSD-ports-63482336b3db72c8728fc24722b5cf8daffea36c.tar.gz
add q-graph 1.2
Q-Graph -- graph library and editor for the Q language
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/q-graph/Makefile32
-rw-r--r--graphics/q-graph/distinfo1
-rw-r--r--graphics/q-graph/pkg-descr13
-rw-r--r--graphics/q-graph/pkg-plist10
5 files changed, 57 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 46b3e1d..2a65a82 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -326,6 +326,7 @@
SUBDIR += py-ming
SUBDIR += py-opengl
SUBDIR += py-paint
+ SUBDIR += q-graph
SUBDIR += qcread
SUBDIR += qglviewer
SUBDIR += qiv
diff --git a/graphics/q-graph/Makefile b/graphics/q-graph/Makefile
new file mode 100644
index 0000000..63b94c7
--- /dev/null
+++ b/graphics/q-graph/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: q-graph
+# Date created: 14 August 2003
+# Whom: ag@muwiinfa.geschichte.uni-mainz.de Albert Graef
+#
+# $FreeBSD$
+#
+
+PORTNAME= graph
+PORTVERSION= 1.2
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= q-lang
+PKGNAMEPREFIX= q-
+
+MAINTAINER= ag@muwiinfa.geschichte.uni-mainz.de
+COMMENT= Q-Graph -- graph library and editor for the Q language
+
+RUN_DEPENDS= ${LOCALBASE}/bin/q:${PORTSDIR}/lang/q
+
+USE_REINPLACE= yes
+USE_GNOME= gnometarget
+GNU_CONFIGURE= yes
+
+DATADIR= ${PREFIX}/share/q
+EXAMPLESDIR= ${PREFIX}/share/examples/q/graph
+
+post-patch:
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
+ ${GREP} -l "^examplesdir" | ${XARGS} ${REINPLACE_CMD} -e \
+ "s;[(]pkgdatadir[)]/examples;(datadir)/examples/q;"
+
+.include <bsd.port.mk>
diff --git a/graphics/q-graph/distinfo b/graphics/q-graph/distinfo
new file mode 100644
index 0000000..a9c80bd
--- /dev/null
+++ b/graphics/q-graph/distinfo
@@ -0,0 +1 @@
+MD5 (graph-1.2.tar.gz) = 18498370afdfd106e52a5987a8cc1768
diff --git a/graphics/q-graph/pkg-descr b/graphics/q-graph/pkg-descr
new file mode 100644
index 0000000..c81ed0c
--- /dev/null
+++ b/graphics/q-graph/pkg-descr
@@ -0,0 +1,13 @@
+This is Q-Graph, a graph library and editor for the Q programming language.
+The package contains:
+
+- graph.q: a graph data structure implemented as a kind of asymmetric
+ adjacency list dictionary, and a collection of the usual graph operations
+
+- graphed.q: a full-featured graph editor, allows you to create and edit your
+ input graphs with ease (requires Tcl/Tk)
+
+WWW: http://q-lang.sourceforge.net
+
+- Albert Graef
+ag@muwiinfa.geschichte.uni-mainz.de
diff --git a/graphics/q-graph/pkg-plist b/graphics/q-graph/pkg-plist
new file mode 100644
index 0000000..9f603b6
--- /dev/null
+++ b/graphics/q-graph/pkg-plist
@@ -0,0 +1,10 @@
+bin/graphed
+bin/graphed2
+%%DATADIR%%/etc/README-Graph
+%%DATADIR%%/lib/graph.q
+%%DATADIR%%/lib/graphed.q
+%%DATADIR%%/lib/graphed.tcl
+%%EXAMPLESDIR%%/G
+%%EXAMPLESDIR%%/README
+%%EXAMPLESDIR%%/dijkstra.q
+@dirrm %%EXAMPLESDIR%%
OpenPOWER on IntegriCloud