Add ruby-gdbm, a Ruby extension to GDBM library.

This commit is contained in:
Akinori MUSHA 2000-08-23 19:17:22 +00:00
parent be957101cb
commit 71217109c1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31909
12 changed files with 122 additions and 0 deletions

View file

@ -44,6 +44,7 @@
SUBDIR += py-MySQLdb
SUBDIR += py-PyGreSQL
SUBDIR += rdb
SUBDIR += ruby-gdbm
SUBDIR += ruby-mysql
SUBDIR += ruby-postgres
SUBDIR += sqsh

View file

@ -0,0 +1,48 @@
# New ports collection makefile for: ruby-gdbm
# Date created: 24 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= gdbm
PORTVERSION= 1.4.6
CATEGORIES= databases ruby
MASTER_SITES= ftp://ftp.netlab.co.jp/pub/lang/ruby/${BRANCH_NAME}/ \
ftp://ftp.TokyoNet.AD.JP/pub/misc/ruby/${BRANCH_NAME}/ \
ftp://ftp.iij.ad.jp/pub/lang/ruby/${BRANCH_NAME}/ \
ftp://blade.nagaokaut.ac.jp/pub/lang/ruby/${BRANCH_NAME}/ \
ftp://ftp.krnet.ne.jp/pub/ruby/${BRANCH_NAME}/ \
ftp://mirror.nucba.ac.jp/mirror/ruby/${BRANCH_NAME}/
PKGNAMEPREFIX= ruby-
DISTNAME= ruby-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm
RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/gdbm
CONFIGURE_ARGS= --with-opt-dir="${PREFIX}"
PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
BRANCH_NAME?= 1.4
RUBY_VER?= 1.4
RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
RUBY?= ${LOCALBASE}/bin/ruby
DOCDIR= ${PREFIX}/share/doc/ruby
EXAMPLESDIR= ${PREFIX}/share/examples/ruby
do-configure:
cd ${WRKSRC}; \
${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${CONFIGURE_ARGS}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View file

@ -0,0 +1 @@
A Ruby extension to GDBM library

View file

@ -0,0 +1,2 @@
This is a Ruby extension to GDBM library, which is actually a part of
the Ruby distribution.

View file

@ -0,0 +1,8 @@
************************************************************
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.
************************************************************

View file

@ -0,0 +1 @@
lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/gdbm.so

View file

@ -0,0 +1,48 @@
# New ports collection makefile for: ruby-gdbm
# Date created: 24 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= gdbm
PORTVERSION= 1.4.6
CATEGORIES= databases ruby
MASTER_SITES= ftp://ftp.netlab.co.jp/pub/lang/ruby/${BRANCH_NAME}/ \
ftp://ftp.TokyoNet.AD.JP/pub/misc/ruby/${BRANCH_NAME}/ \
ftp://ftp.iij.ad.jp/pub/lang/ruby/${BRANCH_NAME}/ \
ftp://blade.nagaokaut.ac.jp/pub/lang/ruby/${BRANCH_NAME}/ \
ftp://ftp.krnet.ne.jp/pub/ruby/${BRANCH_NAME}/ \
ftp://mirror.nucba.ac.jp/mirror/ruby/${BRANCH_NAME}/
PKGNAMEPREFIX= ruby-
DISTNAME= ruby-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm
RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/gdbm
CONFIGURE_ARGS= --with-opt-dir="${PREFIX}"
PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
BRANCH_NAME?= 1.4
RUBY_VER?= 1.4
RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
RUBY?= ${LOCALBASE}/bin/ruby
DOCDIR= ${PREFIX}/share/doc/ruby
EXAMPLESDIR= ${PREFIX}/share/examples/ruby
do-configure:
cd ${WRKSRC}; \
${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${CONFIGURE_ARGS}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View file

@ -0,0 +1 @@
MD5 (ruby/ruby-1.4.6.tar.gz) = 3c910657b164749d9b98d7448df17f9a

View file

@ -0,0 +1 @@
A Ruby extension to GDBM library

View file

@ -0,0 +1,2 @@
This is a Ruby extension to GDBM library, which is actually a part of
the Ruby distribution.

View file

@ -0,0 +1,8 @@
************************************************************
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.
************************************************************

View file

@ -0,0 +1 @@
lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/gdbm.so