Add ruby-bdb, a Ruby interface to Sleepycat's Berkeley DB revision 2

or later.
This commit is contained in:
Akinori MUSHA 2001-03-07 19:10:52 +00:00
parent de627dcb59
commit 8e392f9152
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39197
6 changed files with 73 additions and 0 deletions

View File

@ -59,6 +59,7 @@
SUBDIR += py-SQLDict
SUBDIR += py-gdbm
SUBDIR += rdb
SUBDIR += ruby-bdb
SUBDIR += ruby-gdbm
SUBDIR += ruby14-gdbm
SUBDIR += ruby-mysql

View File

@ -0,0 +1,38 @@
# New ports collection makefile for: Ruby-BDB
# Date created: 8 March 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= bdb
PORTVERSION= 0.1.6
CATEGORIES= databases ruby
MASTER_SITES= ftp://moulon.inra.fr/pub/ruby/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
LIB_DEPENDS= db3.2:${PORTSDIR}/databases/db3
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
CONFIGURE_ARGS= --with-db-include-dir="${PREFIX}/include/db3" \
--with-db-lib-dir="${PREFIX}/lib/db3"
INSTALL_TARGET= site-install
DOCS= Changes README.en bdb.html bdb.rd docs/*
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}/
${CP} -R ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (ruby/bdb-0.1.6.tar.gz) = 0e8dc954201071cbf91c766ae7030518

View File

@ -0,0 +1 @@
Ruby interface to Sleepycat's Berkeley DB revision 2 or later

View File

@ -0,0 +1,6 @@
Ruby-bdb is an interface to Sleepycat's Berkeley DB revision 2 or
later. DB >= 2 is required. (some functionnalities like join are not
available with DB < 2.6)
Author: Guy Decoux <ts@moulon.inra.fr>
WWW: http://moulon.inra.fr/ruby/bdb.html

View File

@ -0,0 +1,26 @@
%%RUBY_SITEARCHLIBDIR%%/bdb.so
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/bdb/basic.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/bdb/cursor.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/bdb/func.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/bdb/join.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/bdb/queue.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/bdb/recno.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/bdb/txn.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/bdb/wordlist
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/bdb/tmp
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/bdb
%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb/Changes
%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb/README.en
%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb/access.html
%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb/access.rd
%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb/bdb.html
%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb/bdb.rd
%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb/cursor.html
%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb/cursor.rd
%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb/env.html
%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb/env.rd
%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb/lock.html
%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb/lock.rd
%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb/transaction.html
%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb/transaction.rd
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/bdb