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.
This commit is contained in:
minskim 2005-11-23 06:42:38 +00:00
parent 5481107fde
commit 681347c023
3 changed files with 59 additions and 0 deletions

View file

@ -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.

View file

@ -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"

18
databases/ruby-qdbm/PLIST Normal file
View file

@ -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