mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Add ruby-gdbm, a Ruby extension to GDBM library.
This commit is contained in:
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
|
@ -44,6 +44,7 @@
|
||||||
SUBDIR += py-MySQLdb
|
SUBDIR += py-MySQLdb
|
||||||
SUBDIR += py-PyGreSQL
|
SUBDIR += py-PyGreSQL
|
||||||
SUBDIR += rdb
|
SUBDIR += rdb
|
||||||
|
SUBDIR += ruby-gdbm
|
||||||
SUBDIR += ruby-mysql
|
SUBDIR += ruby-mysql
|
||||||
SUBDIR += ruby-postgres
|
SUBDIR += ruby-postgres
|
||||||
SUBDIR += sqsh
|
SUBDIR += sqsh
|
||||||
|
|
48
databases/ruby-gdbm/Makefile
Normal file
48
databases/ruby-gdbm/Makefile
Normal 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>
|
1
databases/ruby-gdbm/pkg-comment
Normal file
1
databases/ruby-gdbm/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
||||||
|
A Ruby extension to GDBM library
|
2
databases/ruby-gdbm/pkg-descr
Normal file
2
databases/ruby-gdbm/pkg-descr
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
This is a Ruby extension to GDBM library, which is actually a part of
|
||||||
|
the Ruby distribution.
|
8
databases/ruby-gdbm/pkg-message
Normal file
8
databases/ruby-gdbm/pkg-message
Normal 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.
|
||||||
|
************************************************************
|
1
databases/ruby-gdbm/pkg-plist
Normal file
1
databases/ruby-gdbm/pkg-plist
Normal file
|
@ -0,0 +1 @@
|
||||||
|
lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/gdbm.so
|
48
databases/ruby14-gdbm/Makefile
Normal file
48
databases/ruby14-gdbm/Makefile
Normal 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>
|
1
databases/ruby14-gdbm/distinfo
Normal file
1
databases/ruby14-gdbm/distinfo
Normal file
|
@ -0,0 +1 @@
|
||||||
|
MD5 (ruby/ruby-1.4.6.tar.gz) = 3c910657b164749d9b98d7448df17f9a
|
1
databases/ruby14-gdbm/pkg-comment
Normal file
1
databases/ruby14-gdbm/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
||||||
|
A Ruby extension to GDBM library
|
2
databases/ruby14-gdbm/pkg-descr
Normal file
2
databases/ruby14-gdbm/pkg-descr
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
This is a Ruby extension to GDBM library, which is actually a part of
|
||||||
|
the Ruby distribution.
|
8
databases/ruby14-gdbm/pkg-message
Normal file
8
databases/ruby14-gdbm/pkg-message
Normal 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.
|
||||||
|
************************************************************
|
1
databases/ruby14-gdbm/pkg-plist
Normal file
1
databases/ruby14-gdbm/pkg-plist
Normal file
|
@ -0,0 +1 @@
|
||||||
|
lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/gdbm.so
|
Loading…
Add table
Reference in a new issue