diff options
author | knu <knu@FreeBSD.org> | 2001-10-23 23:56:26 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-10-23 23:56:26 +0800 |
commit | 2fe575a5db9a6b31809e0cb14f748d743b770c7b (patch) | |
tree | 33289fa4b36c6fae38ab8efee608df72ea80fc60 /graphics/ruby-graph | |
parent | 6897c4288a1bd44840f0adce4517451cf8f4c9de (diff) | |
download | freebsd-ports-gnome-2fe575a5db9a6b31809e0cb14f748d743b770c7b.tar.gz freebsd-ports-gnome-2fe575a5db9a6b31809e0cb14f748d743b770c7b.tar.zst freebsd-ports-gnome-2fe575a5db9a6b31809e0cb14f748d743b770c7b.zip |
Add ruby-graph, graph-related Ruby classes.
Diffstat (limited to 'graphics/ruby-graph')
-rw-r--r-- | graphics/ruby-graph/Makefile | 34 | ||||
-rw-r--r-- | graphics/ruby-graph/distinfo | 1 | ||||
-rw-r--r-- | graphics/ruby-graph/files/patch-install.rb | 16 | ||||
-rw-r--r-- | graphics/ruby-graph/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/ruby-graph/pkg-descr | 10 | ||||
-rw-r--r-- | graphics/ruby-graph/pkg-plist | 6 |
6 files changed, 68 insertions, 0 deletions
diff --git a/graphics/ruby-graph/Makefile b/graphics/ruby-graph/Makefile new file mode 100644 index 000000000000..7b522244cb42 --- /dev/null +++ b/graphics/ruby-graph/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: GraphR +# Date created: 24 October 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= graph +PORTVERSION= 0.1.1 +CATEGORIES= graphics ruby +MASTER_SITES= http://rockit.sourceforge.net/subprojects/graphr/ +MASTER_SITE_SUBDIR= knu +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME}r-${PORTVERSION:S/./-/g} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +RUN_DEPENDS= ${LOCALBASE}/bin/dot:${PORTSDIR}/graphics/graphviz + +USE_RUBY= yes + +NO_BUILD= yes + +do-install: + cd ${WRKSRC}; ${RUBY} install.rb + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/ +.endif + +.include <bsd.port.mk> diff --git a/graphics/ruby-graph/distinfo b/graphics/ruby-graph/distinfo new file mode 100644 index 000000000000..ba1283dad823 --- /dev/null +++ b/graphics/ruby-graph/distinfo @@ -0,0 +1 @@ +MD5 (ruby/graphr-0-1-1.tar.gz) = 37700fd1085ab061181769b6e93d1873 diff --git a/graphics/ruby-graph/files/patch-install.rb b/graphics/ruby-graph/files/patch-install.rb new file mode 100644 index 000000000000..48e2d2ad877f --- /dev/null +++ b/graphics/ruby-graph/files/patch-install.rb @@ -0,0 +1,16 @@ +--- install.rb.orig Tue Oct 23 23:42:01 2001 ++++ install.rb Wed Oct 24 00:52:40 2001 +@@ -18,12 +18,11 @@ + def install + begin + File.makedirs( DESTDIR ) +- Dir.chdir(SRC_BASE) do ++ Dir.chdir(SRC_BASE) + Find.find(SRC) do |file| + dst = File.join( INSTDIR, file ) + File.install(file, dst, 0644, true) if file =~ /.rb$/ + end +- end + rescue + puts $! + end diff --git a/graphics/ruby-graph/pkg-comment b/graphics/ruby-graph/pkg-comment new file mode 100644 index 000000000000..dcc7a28a39e2 --- /dev/null +++ b/graphics/ruby-graph/pkg-comment @@ -0,0 +1 @@ +Graph-related Ruby classes diff --git a/graphics/ruby-graph/pkg-descr b/graphics/ruby-graph/pkg-descr new file mode 100644 index 000000000000..6cb399d3e671 --- /dev/null +++ b/graphics/ruby-graph/pkg-descr @@ -0,0 +1,10 @@ +GraphR - Graph-related classes + + * DirectedGraph - fairly extensive directed graph class + * DotGraphFormatter - output a graph in GraphViz's dot format + +GraphR is very simple but might grow to support additional features of +dot. + +Author: Robert Feldt <feldt@ce.chalmers.se> +WWW: http://rockit.sourceforge.net/subprojects/graphr/ diff --git a/graphics/ruby-graph/pkg-plist b/graphics/ruby-graph/pkg-plist new file mode 100644 index 000000000000..7e05f25d43a4 --- /dev/null +++ b/graphics/ruby-graph/pkg-plist @@ -0,0 +1,6 @@ +%%RUBY_SITELIBDIR%%/graph/base_extensions.rb +%%RUBY_SITELIBDIR%%/graph/directed_graph.rb +%%RUBY_SITELIBDIR%%/graph/graphviz_dot.rb +@dirrm %%RUBY_SITELIBDIR%%/graph +%%PORTDOCS%%%%RUBY_DOCDIR%%/graph/README +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/graph |