aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-03-08 03:10:52 +0800
committerknu <knu@FreeBSD.org>2001-03-08 03:10:52 +0800
commitf091d556c3ae0b6bd4079d367a235af7cf68771a (patch)
treeb9306a4ab2d4fba34828db9562cf34a0e86d7980
parent93c43fcda9baa19812ec78dbdc5edc69b10e6057 (diff)
downloadfreebsd-ports-graphics-f091d556c3ae0b6bd4079d367a235af7cf68771a.tar.gz
freebsd-ports-graphics-f091d556c3ae0b6bd4079d367a235af7cf68771a.tar.zst
freebsd-ports-graphics-f091d556c3ae0b6bd4079d367a235af7cf68771a.zip
Add ruby-bdb, a Ruby interface to Sleepycat's Berkeley DB revision 2
or later.
-rw-r--r--databases/Makefile1
-rw-r--r--databases/ruby-bdb/Makefile38
-rw-r--r--databases/ruby-bdb/distinfo1
-rw-r--r--databases/ruby-bdb/pkg-comment1
-rw-r--r--databases/ruby-bdb/pkg-descr6
-rw-r--r--databases/ruby-bdb/pkg-plist26
6 files changed, 73 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 928aa64a78c..f2def3b7854 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 00000000000..72ec41d0f0f
--- /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 <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>
diff --git a/databases/ruby-bdb/distinfo b/databases/ruby-bdb/distinfo
new file mode 100644
index 00000000000..7f3d3d11942
--- /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 00000000000..c1e15757dc6
--- /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 00000000000..162aa9579c1
--- /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 <ts@moulon.inra.fr>
+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 00000000000..4da04397bbb
--- /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