Add ruby-avl, AVL tree class for Ruby.

This commit is contained in:
Akinori MUSHA 2001-08-22 08:04:04 +00:00
parent bf6d6214f0
commit 50927a3b75
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46626
6 changed files with 60 additions and 0 deletions

View File

@ -464,6 +464,7 @@
SUBDIR += rpc2
SUBDIR += rtems-gcc
SUBDIR += ruby-amstd
SUBDIR += ruby-avl
SUBDIR += ruby-bsearch
SUBDIR += ruby-byaccr
SUBDIR += ruby-cvs

42
devel/ruby-avl/Makefile Normal file
View File

@ -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>

1
devel/ruby-avl/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (ruby/rubyavl.tar.gz) = 0aa2e230e078be020ad19c401c05a6cf

View File

@ -0,0 +1 @@
AVL tree class for Ruby

5
devel/ruby-avl/pkg-descr Normal file
View File

@ -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/

10
devel/ruby-avl/pkg-plist Normal file
View File

@ -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