diff options
author | knu <knu@FreeBSD.org> | 2000-08-24 03:17:22 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-08-24 03:17:22 +0800 |
commit | 95261f66b90d10cbd7d55151252eba9b007dd9d5 (patch) | |
tree | aadf61b95502e4c81ff5963fcf4160a9dc7d2d4c /databases/ruby-gdbm | |
parent | d740f1377cf10b4fe7f2eebee38b140d81de1c40 (diff) | |
download | freebsd-ports-gnome-95261f66b90d10cbd7d55151252eba9b007dd9d5.tar.gz freebsd-ports-gnome-95261f66b90d10cbd7d55151252eba9b007dd9d5.tar.zst freebsd-ports-gnome-95261f66b90d10cbd7d55151252eba9b007dd9d5.zip |
Add ruby-gdbm, a Ruby extension to GDBM library.
Diffstat (limited to 'databases/ruby-gdbm')
-rw-r--r-- | databases/ruby-gdbm/Makefile | 48 | ||||
-rw-r--r-- | databases/ruby-gdbm/pkg-comment | 1 | ||||
-rw-r--r-- | databases/ruby-gdbm/pkg-descr | 2 | ||||
-rw-r--r-- | databases/ruby-gdbm/pkg-message | 8 | ||||
-rw-r--r-- | databases/ruby-gdbm/pkg-plist | 1 |
5 files changed, 60 insertions, 0 deletions
diff --git a/databases/ruby-gdbm/Makefile b/databases/ruby-gdbm/Makefile new file mode 100644 index 000000000000..524063a13189 --- /dev/null +++ b/databases/ruby-gdbm/Makefile @@ -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> diff --git a/databases/ruby-gdbm/pkg-comment b/databases/ruby-gdbm/pkg-comment new file mode 100644 index 000000000000..1b9b46ac1c99 --- /dev/null +++ b/databases/ruby-gdbm/pkg-comment @@ -0,0 +1 @@ +A Ruby extension to GDBM library diff --git a/databases/ruby-gdbm/pkg-descr b/databases/ruby-gdbm/pkg-descr new file mode 100644 index 000000000000..23479f5040d7 --- /dev/null +++ b/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. diff --git a/databases/ruby-gdbm/pkg-message b/databases/ruby-gdbm/pkg-message new file mode 100644 index 000000000000..46850a9cd980 --- /dev/null +++ b/databases/ruby-gdbm/pkg-message @@ -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. +************************************************************ diff --git a/databases/ruby-gdbm/pkg-plist b/databases/ruby-gdbm/pkg-plist new file mode 100644 index 000000000000..3701c984985e --- /dev/null +++ b/databases/ruby-gdbm/pkg-plist @@ -0,0 +1 @@ +lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/gdbm.so |