summaryrefslogtreecommitdiff
path: root/devel/ruby-bsearch
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2002-01-03 15:50:00 +0000
committertaca <taca@pkgsrc.org>2002-01-03 15:50:00 +0000
commit0a435cb06877b27d7345aab0fa2186bca9631c34 (patch)
tree0890ed53652e3d4e1406e42c4443c37af00b17b5 /devel/ruby-bsearch
parentce0c48017b3d36eee89c134f1649f36c589c03ab (diff)
downloadpkgsrc-0a435cb06877b27d7345aab0fa2186bca9631c34.tar.gz
Update ruby-bsearch package to 1.4 and fix some build problem.
Changes from 1.1 are bellow. 2001-10-19 Satoru Takabayashi <satoru@namazu.org> * Ruby/Bsearch: Version 1.4 released. * tests/test.rb (lookup): Add assertions. * bsearch.rb (Array::bsearch_lower_boundary): Use .to_i for working with mathn.rb (Rational). Thanks to Nenad Ocelic <nocelic@medri.hr> for reporting it. (Array::bsearch_upper_boundary): Likewise. 2001-09-12 Satoru Takabayashi <satoru@namazu.org> * Ruby/Bsearch: Version 1.3 released. * bsearch.en.rd: Update documentation . * bsearch.ja.rd: Likewise. 2001-08-16 Satoru Takabayashi <satoru@namazu.org> * bsearch.rb (bsearch_lower_bound): New method. * bsearch.rb (bsearch_upper_bound): New method. * bsearch.rb (bsearch_range): Return the range consisting of bsearch_lower_bound and bsearch_upper_bound. 2001-07-03 Satoru Takabayashi <satoru@namazu.org> * Ruby/Bsearch: Version 1.2 released. * Rewrite documents with rdtools.
Diffstat (limited to 'devel/ruby-bsearch')
-rw-r--r--devel/ruby-bsearch/Makefile22
-rw-r--r--devel/ruby-bsearch/PLIST8
-rw-r--r--devel/ruby-bsearch/distinfo6
3 files changed, 28 insertions, 8 deletions
diff --git a/devel/ruby-bsearch/Makefile b/devel/ruby-bsearch/Makefile
index 3729365d27f..295aa2861d3 100644
--- a/devel/ruby-bsearch/Makefile
+++ b/devel/ruby-bsearch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/07/01 11:58:20 taca Exp $
+# $NetBSD: Makefile,v 1.2 2002/01/03 15:50:00 taca Exp $
DISTNAME= ruby-bsearch-${VERSION}
PKGNAME= ${RUBY_PKGNAMEPREFIX}bsearch-${VERSION}
@@ -9,17 +9,31 @@ MAINTAINER= taca@netbsd.org
HOMEPAGE= http://namazu.org/~satoru/ruby-bsearch/
COMMENT= Binary search library for Ruby
-VERSION= 1.1
+VERSION= 1.4
DIST_SUBDIR= ruby
-USE_RUBY= yes
+USE_RUBY_RD= # defined
NO_PATCH= # defined
NO_CONFIGURE= # defined
+RD_SRCS= bsearch.en.rd bsearch.ja.rd
+DOCS= ${RD_SRCS} bsearch.en.html bsearch.ja.html bsearch.png
+
do-build:
- cd ${WRKSRC}/tests; make
+.for f in ${RD_SRCS}
+ cd ${WRKSRC}; ${RUBY_RD} ${f} > ${f:S/.rd/.html/}
+.endfor
do-install:
${INSTALL_DATA} ${WRKSRC}/bsearch.rb ${RUBY_SITELIBDIR}/bsearch.rb
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/bsearch
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/bsearch
+.endfor
+
+test:
+ cd ${WRKSRC}/tests; make
+#.include "../../textproc/ruby-rdtool/Makefile.common"
+.include "../ruby-rdtool/Makefile.common"
.include "../../lang/ruby-base/Makefile.common"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-bsearch/PLIST b/devel/ruby-bsearch/PLIST
index 8df4c8cbe5a..94b2c1451f5 100644
--- a/devel/ruby-bsearch/PLIST
+++ b/devel/ruby-bsearch/PLIST
@@ -1,2 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 01:26:16 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/01/03 15:50:00 taca Exp $
${RUBY_SITELIBDIR}/bsearch.rb
+${RUBY_DOCDIR}/bsearch/bsearch.en.html
+${RUBY_DOCDIR}/bsearch/bsearch.en.rd
+${RUBY_DOCDIR}/bsearch/bsearch.ja.html
+${RUBY_DOCDIR}/bsearch/bsearch.ja.rd
+${RUBY_DOCDIR}/bsearch/bsearch.png
+@dirrm ${RUBY_DOCDIR}/bsearch
diff --git a/devel/ruby-bsearch/distinfo b/devel/ruby-bsearch/distinfo
index 987384ce859..2cb358e05ab 100644
--- a/devel/ruby-bsearch/distinfo
+++ b/devel/ruby-bsearch/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/07/01 11:58:20 taca Exp $
+$NetBSD: distinfo,v 1.2 2002/01/03 15:50:00 taca Exp $
-SHA1 (ruby/ruby-bsearch-1.1.tar.gz) = 3207018a14ed8cd4fcee1e6b0cee44f26b230725
-Size (ruby/ruby-bsearch-1.1.tar.gz) = 13625 bytes
+SHA1 (ruby/ruby-bsearch-1.4.tar.gz) = 7d86f02789d1a974378ed69d474f2aac7924dfe2
+Size (ruby/ruby-bsearch-1.4.tar.gz) = 14665 bytes