[Midnightbsd-cvs] mports: mports/databases: Add ruby's gdbm interface
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Jun 26 15:57:07 EDT 2008
Log Message:
-----------
Add ruby's gdbm interface
Modified Files:
--------------
mports/databases:
Makefile (r1.59 -> r1.60)
Added Files:
-----------
mports/databases/ruby-gdbm:
Makefile (r1.1)
pkg-descr (r1.1)
pkg-message (r1.1)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/databases/Makefile,v
retrieving revision 1.59
retrieving revision 1.60
diff -L databases/Makefile -L databases/Makefile -u -r1.59 -r1.60
--- databases/Makefile
+++ databases/Makefile
@@ -80,6 +80,7 @@
SUBDIR += rrdtool
SUBDIR += ruby-bdb
SUBDIR += ruby-bdb1
+ SUBDIR += ruby-gdbm
SUBDIR += sqlclient
SUBDIR += sqlite3
SUBDIR += unixODBC
--- /dev/null
+++ databases/ruby-gdbm/pkg-message
@@ -0,0 +1,6 @@
+This package doesn't contain any manuals nor examples, but
+it wouldn't be a problem, as the interface of this module
+is exactly the same as DBM and SDBM, except GDBM has a
+"reorganize" method. See the DBM module's document included
+in the ruby-man package, and gdbm(3) manpage included in the
+gdbm package.
--- /dev/null
+++ databases/ruby-gdbm/pkg-descr
@@ -0,0 +1,2 @@
+This is a Ruby extension to GDBM library, which is actually a part of
+the Ruby distribution.
--- /dev/null
+++ databases/ruby-gdbm/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: ruby-gdbm
+# Date created: 24 Aug 2000
+# Whom: Akinori MUSHA aka knu <knu at idaemons.org>
+#
+# $MidnightBSD: mports/databases/ruby-gdbm/Makefile,v 1.1 2008/06/26 19:57:04 laffer1 Exp $
+# $FreeBSD: ports/databases/ruby-gdbm/Makefile,v 1.22 2008/04/06 08:58:03 stas Exp $
+#
+
+PORTNAME= gdbm
+PORTVERSION= ${RUBY_PORTVERSION}
+PORTREVISION= ${RUBY_PORTREVISION}
+PORTEPOCH= 1
+CATEGORIES= databases ruby
+MASTER_SITES= # none
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTFILES= # none
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= A Ruby extension to GDBM library
+LICENSE= gpl2
+
+BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/${RUBY_PORT}:patch
+LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm
+
+PLIST_FILES= %%RUBY_ARCHLIBDIR%%/gdbm.so
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+.include <bsd.port.pre.mk>
+
+MAKE_ARGS= sitelibdir='$$(rubylibdir)'
+
+do-extract:
+ ${MKDIR} ${WRKDIR}
+ ${LN} -sf `cd ${PORTSDIR}/${RUBY_PORT}; ${MAKE} -V WRKDIR`/${PORTNAME} ${WRKDIR}/
+
+.include <bsd.port.post.mk>
More information about the Midnightbsd-cvs
mailing list