summaryrefslogtreecommitdiff
path: root/math/ruby-bitvector
diff options
context:
space:
mode:
authortaca <taca>2001-07-01 13:08:06 +0000
committertaca <taca>2001-07-01 13:08:06 +0000
commit7cca4b2a4683a9072c66a2cce44a23162ee6d4f4 (patch)
tree5a4ec9b6d77225d8bb1aa489c7126b8ed422c1b7 /math/ruby-bitvector
parent9eb468b8b06137aaf16f16499c8d3dc490a194f3 (diff)
downloadpkgsrc-7cca4b2a4683a9072c66a2cce44a23162ee6d4f4.tar.gz
Importing ruby-bitvector package.
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.
Diffstat (limited to 'math/ruby-bitvector')
-rw-r--r--math/ruby-bitvector/Makefile30
-rw-r--r--math/ruby-bitvector/distinfo4
-rw-r--r--math/ruby-bitvector/pkg/DESCR6
-rw-r--r--math/ruby-bitvector/pkg/PLIST12
4 files changed, 52 insertions, 0 deletions
diff --git a/math/ruby-bitvector/Makefile b/math/ruby-bitvector/Makefile
new file mode 100644
index 00000000000..9f53e977dc5
--- /dev/null
+++ b/math/ruby-bitvector/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/07/01 13:08:06 taca Exp $
+# FreeBSD: ports/math/ruby-bitvector/Makefile,v 1.1 2000/11/23 14:13:41 knu Exp
+
+DISTNAME= bitvector_0-1-6
+PKGNAME= ${RUBY_PKGNAMEPREFIX}bitvector-0.1.6
+CATEGORIES= math
+MASTER_SITES= http://www.ce.chalmers.se/~feldt/ruby/extensions/bitvector/
+
+MAINTAINER= taca@netbsd.org
+HOMEPAGE= http://www.ce.chalmers.se/~feldt/ruby/extensions/bitvector/
+COMMENT= Efficient Ruby bit vector extension
+
+RUBY_REQD= 1.6
+DIST_SUBDIR= ruby
+USE_RUBY_EXTCONF= yes
+
+INSTALL_TARGET= site-install
+
+DOCS= NOTWRAPPED README TODO
+
+post-install:
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/bitvector
+ ${INSTALL_DATA} ${WRKSRC}/tests/* ${RUBY_EXAMPLESDIR}/bitvector
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/bitvector
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/bitvector
+.endfor
+
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/ruby-bitvector/distinfo b/math/ruby-bitvector/distinfo
new file mode 100644
index 00000000000..1b1e3b3cbc2
--- /dev/null
+++ b/math/ruby-bitvector/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/07/01 13:08:06 taca Exp $
+
+SHA1 (ruby/bitvector_0-1-6.tar.gz) = 040389e55f94b289d9ac7a1b2088b6c30cbe4742
+Size (ruby/bitvector_0-1-6.tar.gz) = 58739 bytes
diff --git a/math/ruby-bitvector/pkg/DESCR b/math/ruby-bitvector/pkg/DESCR
new file mode 100644
index 00000000000..4bffd1cf6a6
--- /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 00000000000..565873f1170
--- /dev/null
+++ b/math/ruby-bitvector/pkg/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/01 13:08:06 taca Exp $
+${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