pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/ruby-dbm Revive separated ruby packages, rub...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3134f8ca07e1
branches: trunk
changeset: 490258:3134f8ca07e1
user: taca <taca%pkgsrc.org@localhost>
date: Sun Mar 06 16:52:38 2005 +0000
description:
Revive separated ruby packages, ruby-dbm, ruby-zlib, ruby-digest and
ruby-openssl with bump PKGREVISION.
Added ruby-dbm/Makefile to handle IRIX case, use native base system's
ndbm(3) instead of Berkley DB's ndbm compatible interface, too.
diffstat:
databases/ruby-dbm/Makefile | 37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
diffs (41 lines):
diff -r fe9ce0ddd4b7 -r 3134f8ca07e1 databases/ruby-dbm/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/ruby-dbm/Makefile Sun Mar 06 16:52:38 2005 +0000
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.5 2005/03/06 16:52:39 taca Exp $
+#
+
+DISTNAME= ${RUBY_DISTNAME}
+PKGNAME= ${RUBY_PKGPREFIX}-dbm-${RUBY_VERSION}
+PKGREVISION= 1
+CATEGORIES= databases ruby
+MASTER_SITES= ${MASTER_SITE_RUBY}
+
+MAINTAINER= taca%NetBSD.org@localhost
+HOMEPAGE= ${RUBY_HOMEPAGE}
+COMMENT= Ruby extension to DBM library
+
+RUBY_HAS_ARCHLIB= yes
+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
+
+post-install:
+ ${INSTALL_DATA} ${RUBY_WRKSRC}/sample/dbmtest.rb ${RUBY_EXAMPLESDIR}
+
+.include "../../mk/bsd.prefs.mk"
+#
+# XXX: Ruby extconf shuld select native ndbm(3) or Berkley DB's
+# ndbm(3) compatible support.
+#
+.if ${OPSYS} != "IRIX" && ${OPSYS} != "SunOS"
+BDB_ACCEPTED?= db1
+.include "../../mk/bdb.buildlink3.mk"
+.endif
+
+.include "../../lang/ruby/modules.mk"
+.include "../../lang/ruby/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index