diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-03-08 12:42:10 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-03-08 12:42:10 +0000 |
commit | 1080c89c3d9a0a2eebc2a8c0be7bb2149d373661 (patch) | |
tree | 3e1d7b7e9ff9cc1e181e46e9c04fd5d8894fd574 | |
parent | 49aea8ddc135cad83302cfca7dde0a2f3443b2b6 (diff) | |
download | ports-1080c89c3d9a0a2eebc2a8c0be7bb2149d373661.tar.gz ports-1080c89c3d9a0a2eebc2a8c0be7bb2149d373661.zip |
Notes
-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 6514144ff257..92028a76c56f 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 000000000000..c694f731ec1c --- /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 000000000000..02b37ea12c87 --- /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 000000000000..2e9ae24a6301 --- /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 000000000000..b08bc7c384d5 --- /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 000000000000..c6ab56997a28 --- /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 |