summaryrefslogtreecommitdiff
path: root/devel/ruby-avl
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-08-22 08:04:04 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-08-22 08:04:04 +0000
commit50927a3b75d5bbdf85e6b62eb56d22b083883740 (patch)
tree38f4fa4eb5f37cf045195afdd4a16f83d3d78e5d /devel/ruby-avl
parentUpdate to 20010822, which fixes some annoying bugs. (diff)
Add ruby-avl, AVL tree class for Ruby.
Notes
Notes: svn path=/head/; revision=46626
Diffstat (limited to 'devel/ruby-avl')
-rw-r--r--devel/ruby-avl/Makefile42
-rw-r--r--devel/ruby-avl/distinfo1
-rw-r--r--devel/ruby-avl/pkg-comment1
-rw-r--r--devel/ruby-avl/pkg-descr5
-rw-r--r--devel/ruby-avl/pkg-plist10
5 files changed, 59 insertions, 0 deletions
diff --git a/devel/ruby-avl/Makefile b/devel/ruby-avl/Makefile
new file mode 100644
index 000000000000..9384974743a1
--- /dev/null
+++ b/devel/ruby-avl/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: Ruby/AVL
+# Date created: 22 August 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= avl
+PORTVERSION= 0.1
+CATEGORIES+= devel ruby
+MASTER_SITES= http://bocks.dhs.org/~pizman/avl/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby${PORTNAME}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/libavl.a:${PORTSDIR}/devel/libavl
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+INSTALL_TARGET= site-install
+
+EXAMPLES= Dussel.txt getwords.rb \
+ test.rb test2.rb \
+ test3.rb test4.rb
+DOCS= README
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+.endfor
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/ruby-avl/distinfo b/devel/ruby-avl/distinfo
new file mode 100644
index 000000000000..554ad903598f
--- /dev/null
+++ b/devel/ruby-avl/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/rubyavl.tar.gz) = 0aa2e230e078be020ad19c401c05a6cf
diff --git a/devel/ruby-avl/pkg-comment b/devel/ruby-avl/pkg-comment
new file mode 100644
index 000000000000..f7840fa35599
--- /dev/null
+++ b/devel/ruby-avl/pkg-comment
@@ -0,0 +1 @@
+AVL tree class for Ruby
diff --git a/devel/ruby-avl/pkg-descr b/devel/ruby-avl/pkg-descr
new file mode 100644
index 000000000000..d5e2f86773f0
--- /dev/null
+++ b/devel/ruby-avl/pkg-descr
@@ -0,0 +1,5 @@
+This is the AVL tree class for Ruby which works like a Hash,
+implemented as a wrapper for libavl.
+
+Author: Filip Pizlo <pizlo@purdue.edu>
+WWW: http://bocks.dhs.org/~pizman/avl/
diff --git a/devel/ruby-avl/pkg-plist b/devel/ruby-avl/pkg-plist
new file mode 100644
index 000000000000..0481654c9669
--- /dev/null
+++ b/devel/ruby-avl/pkg-plist
@@ -0,0 +1,10 @@
+%%RUBY_SITEARCHLIBDIR%%/AVL.so
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/avl/Dussel.txt
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/avl/getwords.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/avl/test.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/avl/test2.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/avl/test3.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/avl/test4.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/avl
+%%PORTDOCS%%%%RUBY_DOCDIR%%/avl/README
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/avl