aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-09-12 17:23:36 +0800
committerknu <knu@FreeBSD.org>2002-09-12 17:23:36 +0800
commite5bf10188166323c3fc93dc92aaaaf391d24fc87 (patch)
treed2e95ff6356051dee347973ff060a9b56ec129e1 /devel
parentcd8c355ccfee4d783a0c94309bd06e7b2793a08f (diff)
downloadfreebsd-ports-gnome-e5bf10188166323c3fc93dc92aaaaf391d24fc87.tar.gz
freebsd-ports-gnome-e5bf10188166323c3fc93dc92aaaaf391d24fc87.tar.zst
freebsd-ports-gnome-e5bf10188166323c3fc93dc92aaaaf391d24fc87.zip
Add ruby-rbtree, an implementation of Red-Black Tree for Ruby.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/ruby-rbtree/Makefile33
-rw-r--r--devel/ruby-rbtree/distinfo1
-rw-r--r--devel/ruby-rbtree/pkg-comment1
-rw-r--r--devel/ruby-rbtree/pkg-descr5
-rw-r--r--devel/ruby-rbtree/pkg-plist5
6 files changed, 46 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 2e92bbad0fae..3238bbe4efd3 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -696,6 +696,7 @@
SUBDIR += ruby-property
SUBDIR += ruby-racc
SUBDIR += ruby-rbison
+ SUBDIR += ruby-rbtree
SUBDIR += ruby-rreadline
SUBDIR += ruby-rudl
SUBDIR += ruby-sdl
diff --git a/devel/ruby-rbtree/Makefile b/devel/ruby-rbtree/Makefile
new file mode 100644
index 000000000000..58fc32227d36
--- /dev/null
+++ b/devel/ruby-rbtree/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: Ruby/RBTree
+# Date created: 12 September 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rbtree
+PORTVERSION= 0.0.2
+CATEGORIES= devel ruby
+MASTER_SITES= http://www.geocities.co.jp/SiliconValley-PaloAlto/3388/rbtree/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+INSTALL_TARGET= site-install
+
+# MIT license
+DOCS= ChangeLog LICENSE README
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${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-rbtree/distinfo b/devel/ruby-rbtree/distinfo
new file mode 100644
index 000000000000..ccbe2e4a1f90
--- /dev/null
+++ b/devel/ruby-rbtree/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/rbtree-0.0.2.tar.gz) = 75f0e293fb68c3caed431cf7a2cb1686
diff --git a/devel/ruby-rbtree/pkg-comment b/devel/ruby-rbtree/pkg-comment
new file mode 100644
index 000000000000..6e3ea47209d7
--- /dev/null
+++ b/devel/ruby-rbtree/pkg-comment
@@ -0,0 +1 @@
+An implementation of Red-Black Tree for Ruby
diff --git a/devel/ruby-rbtree/pkg-descr b/devel/ruby-rbtree/pkg-descr
new file mode 100644
index 000000000000..1e65efc472c7
--- /dev/null
+++ b/devel/ruby-rbtree/pkg-descr
@@ -0,0 +1,5 @@
+Ruby/RBTree is an implementation of Red-Black Tree for Ruby. It's
+something like ordered Hash.
+
+Author: takuma ozawa <metal@mine.ne.jp>
+WWW: http://www.geocities.co.jp/SiliconValley-PaloAlto/3388/rbtree/README.html
diff --git a/devel/ruby-rbtree/pkg-plist b/devel/ruby-rbtree/pkg-plist
new file mode 100644
index 000000000000..6c0a502530c0
--- /dev/null
+++ b/devel/ruby-rbtree/pkg-plist
@@ -0,0 +1,5 @@
+%%RUBY_SITEARCHLIBDIR%%/rbtree.so
+%%PORTDOCS%%%%RUBY_DOCDIR%%/rbtree/ChangeLog
+%%PORTDOCS%%%%RUBY_DOCDIR%%/rbtree/LICENSE
+%%PORTDOCS%%%%RUBY_DOCDIR%%/rbtree/README
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/rbtree