diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-08-23 19:17:22 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-08-23 19:17:22 +0000 |
commit | 71217109c1107abd43d6f83c00274030f77a3806 (patch) | |
tree | 7b2dc073d5d8763c6bcbc80ba81b8e20076de25e /databases/ruby-gdbm | |
parent | be957101cbd7686bc74d928cf4eeb569c4d03e3b (diff) | |
download | ports-71217109c1107abd43d6f83c00274030f77a3806.tar.gz ports-71217109c1107abd43d6f83c00274030f77a3806.zip |
Notes
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 |