summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2001-07-01 13:08:06 +0000
committertaca <taca@pkgsrc.org>2001-07-01 13:08:06 +0000
commitb895a5536400454db27b34f83a16ce1a34cf21a3 (patch)
tree5a4ec9b6d77225d8bb1aa489c7126b8ed422c1b7 /math
parentdf8513b8f90a27d926628de13efee1084abc0b09 (diff)
downloadpkgsrc-b895a5536400454db27b34f83a16ce1a34cf21a3.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')
-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