summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2004-11-27 14:27:50 +0000
committertaca <taca@pkgsrc.org>2004-11-27 14:27:50 +0000
commit628884caa8242cbbd6b328ff06278433e1a0fbac (patch)
treed7822bf8f73d8a1eac7652129c9d6792bb598cfd /databases
parent58699b32b175b4cfbcb83a250d2dccdfb9a56bb8 (diff)
downloadpkgsrc-628884caa8242cbbd6b328ff06278433e1a0fbac.tar.gz
Initial import of ruby-dbm package. This is part of Ruby distribution
and this package covers both Ruby 1.8 base and 1.6 base. This is a Ruby extension to DBM library (including Berkley DB's DBM compatible one), which is actually a part of the Ruby distribution.
Diffstat (limited to 'databases')
-rw-r--r--databases/ruby-dbm/DESCR2
-rw-r--r--databases/ruby-dbm/Makefile28
-rw-r--r--databases/ruby-dbm/PLIST3
3 files changed, 33 insertions, 0 deletions
diff --git a/databases/ruby-dbm/DESCR b/databases/ruby-dbm/DESCR
new file mode 100644
index 00000000000..8ad3815271c
--- /dev/null
+++ b/databases/ruby-dbm/DESCR
@@ -0,0 +1,2 @@
+This is a Ruby extension to DBM library (including Berkley DB's DBM
+compatible one), which is actually a part of the Ruby distribution.
diff --git a/databases/ruby-dbm/Makefile b/databases/ruby-dbm/Makefile
new file mode 100644
index 00000000000..34f5e0978cf
--- /dev/null
+++ b/databases/ruby-dbm/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/27 14:27:50 taca Exp $
+#
+
+DISTNAME= ${RUBY_DISTNAME}
+PKGNAME= ${RUBY_PKGPREFIX}-dbm-${RUBY_VERSION}
+CATEGORIES= databases ruby
+MASTER_SITES= ${MASTER_SITE_RUBY}
+
+MAINTAINER= taca@NetBSD.org
+HOMEPAGE= ${RUBY_HOMEPAGE}
+COMMENT= Ruby extension to DBM library
+
+USE_BUILDLINK3= yes
+USE_RUBY_EXTCONF= yes
+DISTINFO_FILE= ${RUBY_DISTINFO_FILE}
+WRKSRC= ${RUBY_WRKSRC}/ext/dbm
+EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/dbm \
+ ${RUBY_DISTNAME}/sample/dbmtest.rb
+
+BDB_ACCEPTED?= db1
+
+post-install:
+ ${INSTALL_DATA} ${RUBY_WRKSRC}/sample/dbmtest.rb ${RUBY_EXAMPLESDIR}
+
+.include "../../lang/ruby/modules.mk"
+.include "../../lang/ruby/Makefile.common"
+.include "../../mk/bdb.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/ruby-dbm/PLIST b/databases/ruby-dbm/PLIST
new file mode 100644
index 00000000000..97b6638bb84
--- /dev/null
+++ b/databases/ruby-dbm/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/27 14:27:50 taca Exp $
+${RUBY_SITEARCHLIBDIR}/dbm.so
+${RUBY_EXAMPLESDIR}/dbmtest.rb