diff options
author | knu <knu@FreeBSD.org> | 2001-03-08 12:42:10 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-03-08 12:42:10 +0000 |
commit | 59dcfc46bc7bb98ac009f60e3a6c33a23d8499b7 (patch) | |
tree | 5fdc5c31874a393e624532d80c94a17e5c2fbef0 /databases | |
parent | 2b9e9ae6dbff9f62f4a83b66b166c8f46189e14f (diff) | |
download | FreeBSD-ports-59dcfc46bc7bb98ac009f60e3a6c33a23d8499b7.zip FreeBSD-ports-59dcfc46bc7bb98ac009f60e3a6c33a23d8499b7.tar.gz |
Add ruby-cdb, Ruby interface to D. J. Bernstein's cdb (constant
database) library.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/ruby-cdb/Makefile | 40 | ||||
-rw-r--r-- | databases/ruby-cdb/distinfo | 1 | ||||
-rw-r--r-- | databases/ruby-cdb/pkg-comment | 1 | ||||
-rw-r--r-- | databases/ruby-cdb/pkg-descr | 5 | ||||
-rw-r--r-- | databases/ruby-cdb/pkg-plist | 6 |
6 files changed, 54 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 6514144..92028a7 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -61,6 +61,7 @@ SUBDIR += py-gdbm SUBDIR += rdb SUBDIR += ruby-bdb + SUBDIR += ruby-cdb SUBDIR += ruby-gdbm SUBDIR += ruby14-gdbm SUBDIR += ruby-mysql diff --git a/databases/ruby-cdb/Makefile b/databases/ruby-cdb/Makefile new file mode 100644 index 0000000..c694f73 --- /dev/null +++ b/databases/ruby-cdb/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: Ruby-cdb +# Date created: 8 March 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= cdb +PORTVERSION= 0.4 +CATEGORIES= databases ruby +MASTER_SITES= http://www.fan.gr.jp/~kaz/ruby/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ruby-${PORTNAME}-${PORTVERSION} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +BUILD_DEPENDS= ${NONEXISTENT}:${CDB_PORTDIR}:build + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes + +CDB_PORTDIR= ${PORTSDIR}/databases/cdb + +WRKSRC= ${WRKDIR}/ruby-${PORTNAME} +INSTALL_TARGET= site-install + +post-extract: + ${RM} -f ${WRKSRC}/cdb + ${LN} -s `cd ${CDB_PORTDIR} && ${MAKE} -V WRKSRC` ${WRKSRC}/cdb + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}/ + ${CP} -R ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/ + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/ +.endif + +.include <bsd.port.mk> diff --git a/databases/ruby-cdb/distinfo b/databases/ruby-cdb/distinfo new file mode 100644 index 0000000..02b37ea --- /dev/null +++ b/databases/ruby-cdb/distinfo @@ -0,0 +1 @@ +MD5 (ruby/ruby-cdb-0.4.tar.gz) = 6b06fe7103e5a155d6a0a47f2596b7de diff --git a/databases/ruby-cdb/pkg-comment b/databases/ruby-cdb/pkg-comment new file mode 100644 index 0000000..2e9ae24 --- /dev/null +++ b/databases/ruby-cdb/pkg-comment @@ -0,0 +1 @@ +Ruby interface to D. J. Bernstein's cdb (constant database) library diff --git a/databases/ruby-cdb/pkg-descr b/databases/ruby-cdb/pkg-descr new file mode 100644 index 0000000..b08bc7c --- /dev/null +++ b/databases/ruby-cdb/pkg-descr @@ -0,0 +1,5 @@ +This module provides Ruby interface to D. J. Bernstein's cdb (constant +database) library. + +Author: Kazuteru Okahashi <kaz@fan.gr.jp> +WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=cdb diff --git a/databases/ruby-cdb/pkg-plist b/databases/ruby-cdb/pkg-plist new file mode 100644 index 0000000..c6ab569 --- /dev/null +++ b/databases/ruby-cdb/pkg-plist @@ -0,0 +1,6 @@ +%%RUBY_SITEARCHLIBDIR%%/cdb.so +%%RUBY_SITELIBDIR%%/cdb.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/cdb/sample.rb +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/cdb +%%PORTDOCS%%%%RUBY_DOCDIR%%/cdb/README +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/cdb |