aboutsummaryrefslogtreecommitdiff
path: root/databases/ruby-bdb1
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-01-15 22:16:30 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-01-15 22:16:30 +0000
commitf5ee20dc56c81ad887714e72d9dd551e843c889f (patch)
treed32e49d6ac68a4dcf9121a40f02d9640c629075e /databases/ruby-bdb1
parentf84dff8ad85ae55187cc94dd725a77df74336cf8 (diff)
downloadports-f5ee20dc56c81ad887714e72d9dd551e843c889f.tar.gz
ports-f5ee20dc56c81ad887714e72d9dd551e843c889f.zip
Notes
Diffstat (limited to 'databases/ruby-bdb1')
-rw-r--r--databases/ruby-bdb1/Makefile34
-rw-r--r--databases/ruby-bdb1/distinfo1
-rw-r--r--databases/ruby-bdb1/files/patch-extconf.rb13
-rw-r--r--databases/ruby-bdb1/pkg-comment1
-rw-r--r--databases/ruby-bdb1/pkg-descr15
-rw-r--r--databases/ruby-bdb1/pkg-plist17
6 files changed, 81 insertions, 0 deletions
diff --git a/databases/ruby-bdb1/Makefile b/databases/ruby-bdb1/Makefile
new file mode 100644
index 000000000000..0ac878e1ea1e
--- /dev/null
+++ b/databases/ruby-bdb1/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: Ruby-BDB1
+# Date created: 16 January 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bdb1
+PORTVERSION= 0.1.4
+CATEGORIES= databases ruby
+MASTER_SITES= ftp://moulon.inra.fr/pub/ruby/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+INSTALL_TARGET= site-install
+
+DOCS= Changes README.en bdb1.html bdb1.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-bdb1/distinfo b/databases/ruby-bdb1/distinfo
new file mode 100644
index 000000000000..70c03a269611
--- /dev/null
+++ b/databases/ruby-bdb1/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/bdb1-0.1.4.tar.gz) = 18015af38fedeff04bc5c747d3289c70
diff --git a/databases/ruby-bdb1/files/patch-extconf.rb b/databases/ruby-bdb1/files/patch-extconf.rb
new file mode 100644
index 000000000000..a5487d6e4bf5
--- /dev/null
+++ b/databases/ruby-bdb1/files/patch-extconf.rb
@@ -0,0 +1,13 @@
+--- src/extconf.rb.orig Mon Nov 26 22:35:33 2001
++++ src/extconf.rb Wed Jan 16 07:00:46 2002
+@@ -6,7 +6,9 @@
+ end
+ $CFLAGS += " -I#{incdir}" if incdir = with_config("db-include-dir")
+ $LDFLAGS += " -I#{libdir}" if libdir = with_config("db-lib-dir")
+-if !(have_library("db1", "__hash_open") || have_library("db", "__hash_open"))
++if !(have_func("__hash_open") || \
++ have_library("db1", "__hash_open") || \
++ have_library("db", "__hash_open"))
+ raise "libdb.a not found"
+ end
+ create_makefile("bdb1")
diff --git a/databases/ruby-bdb1/pkg-comment b/databases/ruby-bdb1/pkg-comment
new file mode 100644
index 000000000000..56d8f99bc9a8
--- /dev/null
+++ b/databases/ruby-bdb1/pkg-comment
@@ -0,0 +1 @@
+Ruby interface to Berkeley DB revision 1.8x with full feature support
diff --git a/databases/ruby-bdb1/pkg-descr b/databases/ruby-bdb1/pkg-descr
new file mode 100644
index 000000000000..53ad61657b0c
--- /dev/null
+++ b/databases/ruby-bdb1/pkg-descr
@@ -0,0 +1,15 @@
+Ruby-bdb1 is an interface to Berkeley DB revision 1.85 and 1.86.
+
+This library includes support for the following access methods:
+
+* B+tree
+* Hashing
+* Fixed and Variable-Length Records
+
+And the following interfaces:
+
+* Hash like interface - BDB1::Btree and BDB1::Hash
+* Array like interface - BDB1::Recnum(Recno)
+
+Author: Guy Decoux <ts@moulon.inra.fr>
+WWW: http://moulon.inra.fr/ruby/bdb1.html
diff --git a/databases/ruby-bdb1/pkg-plist b/databases/ruby-bdb1/pkg-plist
new file mode 100644
index 000000000000..4879755feb54
--- /dev/null
+++ b/databases/ruby-bdb1/pkg-plist
@@ -0,0 +1,17 @@
+%%RUBY_SITEARCHLIBDIR%%/bdb1.so
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/bdb1/basic.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/bdb1/func.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/bdb1/recno.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/bdb1/tmp/recno.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/bdb1/wordtest
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/bdb1/tmp
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/bdb1
+%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb1/Changes
+%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb1/README.en
+%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb1/arraylike1.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb1/arraylike1.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb1/bdb1.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb1/bdb1.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb1/hashlike1.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/bdb1/hashlike1.rd
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/bdb1