From f78aec7e45df91fc618f88ff25ac96af15440f2b Mon Sep 17 00:00:00 2001 From: minskim Date: Wed, 23 Nov 2005 06:42:38 +0000 Subject: 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. --- databases/ruby-qdbm/DESCR | 6 ++++++ databases/ruby-qdbm/Makefile | 35 +++++++++++++++++++++++++++++++++++ databases/ruby-qdbm/PLIST | 18 ++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 databases/ruby-qdbm/DESCR create mode 100644 databases/ruby-qdbm/Makefile create mode 100644 databases/ruby-qdbm/PLIST (limited to 'databases/ruby-qdbm') 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 -- cgit v1.2.3