diff options
-rw-r--r-- | databases/ruby-dbm/DESCR | 2 | ||||
-rw-r--r-- | databases/ruby-dbm/Makefile | 28 | ||||
-rw-r--r-- | databases/ruby-dbm/PLIST | 3 |
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 |