From 8e392f9152d7bead72d4144fe33fd14bfed06334 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Wed, 7 Mar 2001 19:10:52 +0000 Subject: [PATCH] Add ruby-bdb, a Ruby interface to Sleepycat's Berkeley DB revision 2 or later. --- databases/Makefile | 1 + databases/ruby-bdb/Makefile | 38 ++++++++++++++++++++++++++++++++++ databases/ruby-bdb/distinfo | 1 + databases/ruby-bdb/pkg-comment | 1 + databases/ruby-bdb/pkg-descr | 6 ++++++ databases/ruby-bdb/pkg-plist | 26 +++++++++++++++++++++++ 6 files changed, 73 insertions(+) create mode 100644 databases/ruby-bdb/Makefile create mode 100644 databases/ruby-bdb/distinfo create mode 100644 databases/ruby-bdb/pkg-comment create mode 100644 databases/ruby-bdb/pkg-descr create mode 100644 databases/ruby-bdb/pkg-plist diff --git a/databases/Makefile b/databases/Makefile index 928aa64a78c5..f2def3b7854c 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -59,6 +59,7 @@ SUBDIR += py-SQLDict SUBDIR += py-gdbm SUBDIR += rdb + SUBDIR += ruby-bdb SUBDIR += ruby-gdbm SUBDIR += ruby14-gdbm SUBDIR += ruby-mysql diff --git a/databases/ruby-bdb/Makefile b/databases/ruby-bdb/Makefile new file mode 100644 index 000000000000..72ec41d0f0f2 --- /dev/null +++ b/databases/ruby-bdb/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: Ruby-BDB +# Date created: 8 March 2001 +# Whom: Akinori MUSHA aka knu +# +# $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 diff --git a/databases/ruby-bdb/distinfo b/databases/ruby-bdb/distinfo new file mode 100644 index 000000000000..7f3d3d119429 --- /dev/null +++ b/databases/ruby-bdb/distinfo @@ -0,0 +1 @@ +MD5 (ruby/bdb-0.1.6.tar.gz) = 0e8dc954201071cbf91c766ae7030518 diff --git a/databases/ruby-bdb/pkg-comment b/databases/ruby-bdb/pkg-comment new file mode 100644 index 000000000000..c1e15757dc6a --- /dev/null +++ b/databases/ruby-bdb/pkg-comment @@ -0,0 +1 @@ +Ruby interface to Sleepycat's Berkeley DB revision 2 or later diff --git a/databases/ruby-bdb/pkg-descr b/databases/ruby-bdb/pkg-descr new file mode 100644 index 000000000000..162aa9579c12 --- /dev/null +++ b/databases/ruby-bdb/pkg-descr @@ -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 +WWW: http://moulon.inra.fr/ruby/bdb.html diff --git a/databases/ruby-bdb/pkg-plist b/databases/ruby-bdb/pkg-plist new file mode 100644 index 000000000000..4da04397bbb2 --- /dev/null +++ b/databases/ruby-bdb/pkg-plist @@ -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