aboutsummaryrefslogtreecommitdiff
path: root/databases/ruby-bdb
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-03-07 19:10:52 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-03-07 19:10:52 +0000
commit8e392f9152d7bead72d4144fe33fd14bfed06334 (patch)
treef8c61056b7682aced2fb0e386e45abd3571b1c53 /databases/ruby-bdb
parentde627dcb59b4c10915995a0f162110ebce462cb8 (diff)
downloadports-8e392f9152d7bead72d4144fe33fd14bfed06334.tar.gz
ports-8e392f9152d7bead72d4144fe33fd14bfed06334.zip
Notes
Diffstat (limited to 'databases/ruby-bdb')
-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
5 files changed, 72 insertions, 0 deletions
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 <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 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 <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 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