summaryrefslogtreecommitdiff
path: root/databases/ruby-qdbm
diff options
context:
space:
mode:
authorminskim <minskim>2005-11-23 06:42:38 +0000
committerminskim <minskim>2005-11-23 06:42:38 +0000
commite01c78d6aeac33fe7bf42d245e143bf62bf2b2b1 (patch)
tree65f9ed889a453ffd7d7f731675dd88fbad2f171a /databases/ruby-qdbm
parentf6f77e208df7780f66721ec2ace44a49f283b3ce (diff)
downloadpkgsrc-e01c78d6aeac33fe7bf42d245e143bf62bf2b2b1.tar.gz
Import ruby-qdbm from pkgsrc-wip. Packaged by OBATA Akio.
QDBM is an embeded database library compatible with GDBM and NDBM. It features hash database and B+ tree database and is developed referring to GDBM for the purpose of the following three points: higher processing speed, smaller size of a database file, and simpler API. This package provides the Ruby interface of QDBM.
Diffstat (limited to 'databases/ruby-qdbm')
-rw-r--r--databases/ruby-qdbm/DESCR6
-rw-r--r--databases/ruby-qdbm/Makefile35
-rw-r--r--databases/ruby-qdbm/PLIST18
3 files changed, 59 insertions, 0 deletions
diff --git a/databases/ruby-qdbm/DESCR b/databases/ruby-qdbm/DESCR
new file mode 100644
index 00000000000..58577cae0a7
--- /dev/null
+++ b/databases/ruby-qdbm/DESCR
@@ -0,0 +1,6 @@
+QDBM is an embeded database library compatible with GDBM and NDBM. It
+features hash database and B+ tree database and is developed referring
+to GDBM for the purpose of the following three points: higher
+processing speed, smaller size of a database file, and simpler API.
+
+This package provides the Ruby interface of QDBM.
diff --git a/databases/ruby-qdbm/Makefile b/databases/ruby-qdbm/Makefile
new file mode 100644
index 00000000000..722e395356f
--- /dev/null
+++ b/databases/ruby-qdbm/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/23 06:42:38 minskim Exp $
+#
+
+.include "../../databases/qdbm/Makefile.common"
+
+PKGNAME= ${RUBY_PKGPREFIX}-qdbm-1.0.0.${QDBM_VERSION}
+CATEGORIES= databases ruby
+
+MAINTAINER= obata@lins.jp
+HOMEPAGE= http://qdbm.sourceforge.net/
+COMMENT= Ruby interface of QDBM
+
+MY_SUBDIR=ruby
+BUILD_DIRS= ${MY_SUBDIR}
+CONFIGURE_DIRS= ${MY_SUBDIR}
+
+GNU_CONFIGURE= yes
+TEST_TARGET= check
+USE_RUBY_DIST_SUBDIR= no
+#USE_RUBY_EXTCONF= yes
+#RUBY_EXTCONF_SUBDIRS= ${MY_SUBDIR}/curia ${MY_SUBDIR}/depot ${MY_SUBDIR}/villa
+RUBY_HAS_ARCHLIB= yes
+
+REPLACE_RUBY= ${MY_SUBDIR}/curia/rbcrtest ${MY_SUBDIR}/depot/rbdptest \
+ ${MY_SUBDIR}/villa/rbvltest
+
+.include "../../databases/qdbm/buildlink3.mk"
+.include "../../lang/ruby/modules.mk"
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "none"
+SUBST_CLASSES+= pthread
+SUBST_STAGE.pthread= pre-configure
+SUBST_FILES.pthread= ${MY_SUBDIR}/configure
+SUBST_SED.pthread= -e 's|-lpthread|${PTHREAD_LIBS}|'
+.endif
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/ruby-qdbm/PLIST b/databases/ruby-qdbm/PLIST
new file mode 100644
index 00000000000..9f6338fc84e
--- /dev/null
+++ b/databases/ruby-qdbm/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/23 06:42:38 minskim Exp $
+${RUBY_SITEARCHLIBDIR}/mod_curia.${RUBY_DLEXT}
+${RUBY_SITEARCHLIBDIR}/mod_depot.${RUBY_DLEXT}
+${RUBY_SITEARCHLIBDIR}/mod_villa.${RUBY_DLEXT}
+${RUBY_SITELIBDIR}/curia.rb
+${RUBY_SITELIBDIR}/depot.rb
+${RUBY_SITELIBDIR}/villa.rb
+bin/rbcrtest
+bin/rbdptest
+bin/rbvltest
+share/doc/qdbm/ruby/rbspex.html
+share/doc/qdbm/ruby/rbspex-ja.html
+share/doc/qdbm/ruby/rbapidoc/curia.rb.html
+share/doc/qdbm/ruby/rbapidoc/depot.rb.html
+share/doc/qdbm/ruby/rbapidoc/index.html
+share/doc/qdbm/ruby/rbapidoc/villa.rb.html
+@dirrm share/doc/qdbm/ruby/rbapidoc
+@dirrm share/doc/qdbm/ruby