aboutsummaryrefslogtreecommitdiff
path: root/math/ruby-bitvector
diff options
context:
space:
mode:
Diffstat (limited to 'math/ruby-bitvector')
-rw-r--r--math/ruby-bitvector/Makefile33
-rw-r--r--math/ruby-bitvector/distinfo1
-rw-r--r--math/ruby-bitvector/pkg-comment1
-rw-r--r--math/ruby-bitvector/pkg-descr6
-rw-r--r--math/ruby-bitvector/pkg-plist11
5 files changed, 52 insertions, 0 deletions
diff --git a/math/ruby-bitvector/Makefile b/math/ruby-bitvector/Makefile
new file mode 100644
index 000000000000..fadc4b956e81
--- /dev/null
+++ b/math/ruby-bitvector/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: Ruby/BitVector
+# Date created: 23 Nov 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bitvector
+PORTVERSION= 0.1.6
+CATEGORIES= math ruby
+MASTER_SITES= http://www.ce.chalmers.se/~feldt/ruby/extensions/bitvector/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}_${PORTVERSION:S/./-/g}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+INSTALL_TARGET= site-install
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/bitvector
+ ${INSTALL_DATA} ${WRKSRC}/tests/* ${RUBY_EXAMPLESDIR}/bitvector/
+ ${MKDIR} ${RUBY_DOCDIR}/bitvector
+.for f in NOTWRAPPED README TODO
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/bitvector/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/ruby-bitvector/distinfo b/math/ruby-bitvector/distinfo
new file mode 100644
index 000000000000..8c5e78baff8b
--- /dev/null
+++ b/math/ruby-bitvector/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/bitvector_0-1-6.tar.gz) = 32f15ab28c6fee955f3911b5626e5eb5
diff --git a/math/ruby-bitvector/pkg-comment b/math/ruby-bitvector/pkg-comment
new file mode 100644
index 000000000000..874a5e5cb0aa
--- /dev/null
+++ b/math/ruby-bitvector/pkg-comment
@@ -0,0 +1 @@
+Efficient Ruby bit vector extension
diff --git a/math/ruby-bitvector/pkg-descr b/math/ruby-bitvector/pkg-descr
new file mode 100644
index 000000000000..4bffd1cf6a6d
--- /dev/null
+++ b/math/ruby-bitvector/pkg-descr
@@ -0,0 +1,6 @@
+BitVector is a fairly extensive and fast BitVector class for Ruby.
+Handles sequences of up to 2**32-1 bits (about 500 Mb). Implemented
+as a wrapper around Bit::Vector version 6.0 by Steffen Beyer.
+
+Author: Robert Feldt <feldt@ce.chalmers.se>
+WWW: http://www.ce.chalmers.se/~feldt/ruby/extensions/bitvector/
diff --git a/math/ruby-bitvector/pkg-plist b/math/ruby-bitvector/pkg-plist
new file mode 100644
index 000000000000..2228c478cf3b
--- /dev/null
+++ b/math/ruby-bitvector/pkg-plist
@@ -0,0 +1,11 @@
+%%RUBY_SITEARCHLIBDIR%%/bitvector.so
+%%RUBY_SITELIBDIR%%/bitvector_extras.rb
+%%RUBY_EXAMPLESDIR%%/bitvector/perftest_bitvector.rb
+%%RUBY_EXAMPLESDIR%%/bitvector/testscript_from_readme.rb
+%%RUBY_EXAMPLESDIR%%/bitvector/unittest_bitvector.rb
+%%RUBY_EXAMPLESDIR%%/bitvector/unittest_bitvector_extras.rb
+@dirrm %%RUBY_EXAMPLESDIR%%/bitvector
+%%RUBY_DOCDIR%%/bitvector/NOTWRAPPED
+%%RUBY_DOCDIR%%/bitvector/README
+%%RUBY_DOCDIR%%/bitvector/TODO
+@dirrm %%RUBY_DOCDIR%%/bitvector