diff options
author | knu <knu@FreeBSD.org> | 2001-06-02 16:58:41 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-06-02 16:58:41 +0000 |
commit | f7844866eb75e37560915f597d6d5796f92d2a05 (patch) | |
tree | bd8640207bfcdd9a34374fb1ddd05bea01c6f07f /databases | |
parent | 0f4c2246773d1b6ef8f694ca9917f1b6fba31f18 (diff) | |
download | FreeBSD-ports-f7844866eb75e37560915f597d6d5796f92d2a05.zip FreeBSD-ports-f7844866eb75e37560915f597d6d5796f92d2a05.tar.gz |
Add ruby-dbd_mysql, the MySQL driver for DBI-for-Ruby.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/ruby-dbd_mysql/Makefile | 44 | ||||
-rw-r--r-- | databases/ruby-dbd_mysql/distinfo | 1 | ||||
-rw-r--r-- | databases/ruby-dbd_mysql/pkg-comment | 1 | ||||
-rw-r--r-- | databases/ruby-dbd_mysql/pkg-descr | 4 | ||||
-rw-r--r-- | databases/ruby-dbd_mysql/pkg-plist | 6 |
6 files changed, 57 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index d6fa36c..6355a68 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -71,6 +71,7 @@ SUBDIR += rdb SUBDIR += ruby-bdb SUBDIR += ruby-cdb + SUBDIR += ruby-dbd_mysql SUBDIR += ruby-dbi SUBDIR += ruby-gdbm SUBDIR += ruby-rdbc1 diff --git a/databases/ruby-dbd_mysql/Makefile b/databases/ruby-dbd_mysql/Makefile new file mode 100644 index 0000000..ebd9dcc5 --- /dev/null +++ b/databases/ruby-dbd_mysql/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: dbd_mysql for DBD-for-Ruby +# Date created: 3 June 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= dbd_mysql +PORTVERSION= 0.0.4 +CATEGORIES= databases ruby +MASTER_SITES= http://www.sprytech.com/~rainer.perl/ruby/files/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ruby-dbi-${PORTVERSION} +EXTRACT_SUFX= .tgz +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +RUN_DEPENDS= ${RUBY_SITELIBDIR}/dbi.rb:${.CURDIR}/../ruby-dbi \ + ${RUBY_SITEARCHLIBDIR}/mysql.so:${.CURDIR}/../ruby-mysql + +USE_RUBY= yes + +NO_BUILD= yes + +WRKSRC= ${WRKDIR}/lib/${PORTNAME} + +EXAMPLES_EN= ../../examples/test1.rb +DOCS_EN= doc/* + +do-install: +.if !defined(NOPORTDOCS) + ${INSTALL_DATA} ${WRKSRC}/*.rb ${RUBY_SITELIBDIR}/dbi/ + ${MKDIR} ${RUBY_EXAMPLESDIR}/dbi/${PORTNAME} +.for f in ${EXAMPLES_EN} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/dbi/${PORTNAME}/ +.endfor + ${MKDIR} ${RUBY_DOCDIR}/dbi/${PORTNAME} +.for f in ${DOCS_EN} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/dbi/${PORTNAME}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/databases/ruby-dbd_mysql/distinfo b/databases/ruby-dbd_mysql/distinfo new file mode 100644 index 0000000..577d95d --- /dev/null +++ b/databases/ruby-dbd_mysql/distinfo @@ -0,0 +1 @@ +MD5 (ruby/ruby-dbi-0.0.4.tgz) = 65dc83374cce86f8494fd47537902449 diff --git a/databases/ruby-dbd_mysql/pkg-comment b/databases/ruby-dbd_mysql/pkg-comment new file mode 100644 index 0000000..0073874 --- /dev/null +++ b/databases/ruby-dbd_mysql/pkg-comment @@ -0,0 +1 @@ +MySQL driver for DBI-for-Ruby diff --git a/databases/ruby-dbd_mysql/pkg-descr b/databases/ruby-dbd_mysql/pkg-descr new file mode 100644 index 0000000..5726b99 --- /dev/null +++ b/databases/ruby-dbd_mysql/pkg-descr @@ -0,0 +1,4 @@ +This is the MySQL driver for Rainer Perl's DBI-for-Ruby. + +Author: Christian Werner <chw@ch-werner.de> +WWW: http://www.ch-werner.de/rubydbi/ diff --git a/databases/ruby-dbd_mysql/pkg-plist b/databases/ruby-dbd_mysql/pkg-plist new file mode 100644 index 0000000..86a95a0 --- /dev/null +++ b/databases/ruby-dbd_mysql/pkg-plist @@ -0,0 +1,6 @@ +%%RUBY_SITELIBDIR%%/dbi/dbd_mysql.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbi/dbd_mysql/test1.rb +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/dbi/dbd_mysql +%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/dbd_mysql/HISTORY +%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/dbd_mysql/README +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/dbi/dbd_mysql |