diff options
author | knu <knu@FreeBSD.org> | 2001-08-22 08:04:04 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-08-22 08:04:04 +0000 |
commit | 5a65111f7306185df64b92a24532d56924eac110 (patch) | |
tree | cb2906fa5f3ca71556928577f5241bc1d4886f20 /devel | |
parent | ff4935e978bea1463c8f63f6390f171aeaed1948 (diff) | |
download | FreeBSD-ports-5a65111f7306185df64b92a24532d56924eac110.zip FreeBSD-ports-5a65111f7306185df64b92a24532d56924eac110.tar.gz |
Add ruby-avl, AVL tree class for Ruby.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/ruby-avl/Makefile | 42 | ||||
-rw-r--r-- | devel/ruby-avl/distinfo | 1 | ||||
-rw-r--r-- | devel/ruby-avl/pkg-comment | 1 | ||||
-rw-r--r-- | devel/ruby-avl/pkg-descr | 5 | ||||
-rw-r--r-- | devel/ruby-avl/pkg-plist | 10 |
6 files changed, 60 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index f53b6b2..341f8e0 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -464,6 +464,7 @@ SUBDIR += rpc2 SUBDIR += rtems-gcc SUBDIR += ruby-amstd + SUBDIR += ruby-avl SUBDIR += ruby-bsearch SUBDIR += ruby-byaccr SUBDIR += ruby-cvs diff --git a/devel/ruby-avl/Makefile b/devel/ruby-avl/Makefile new file mode 100644 index 0000000..9384974 --- /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 0000000..554ad90 --- /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 0000000..f7840fa --- /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 0000000..d5e2f86 --- /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 0000000..0481654 --- /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 |