1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

Add ruby-dbd_postgresql, the PostgreSQL driver for DBI-for-Ruby.

This commit is contained in:
Akinori MUSHA 2001-06-02 18:03:43 +00:00
parent 6983008be6
commit c3a35c36e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43441
6 changed files with 57 additions and 0 deletions

View File

@ -72,6 +72,7 @@
SUBDIR += ruby-bdb
SUBDIR += ruby-cdb
SUBDIR += ruby-dbd_mysql
SUBDIR += ruby-dbd_postgresql
SUBDIR += ruby-dbi
SUBDIR += ruby-gdbm
SUBDIR += ruby-rdbc1

View File

@ -0,0 +1,42 @@
# New ports collection makefile for: dbd_postgresql for DBD-for-Ruby
# Date created: 3 June 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= dbd_postgresql
PORTVERSION= 0.0.4
CATEGORIES= databases ruby
MASTER_SITES= ftp://ftp.one.net/pub/users/jweirich/tools/ruby-dbi/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-dbi-postgresql-${PORTVERSION}
EXTRACT_SUFX= .tgz
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
RUN_DEPENDS= ${RUBY_SITELIBDIR}/dbi.rb:${.CURDIR}/../ruby-dbi \
${RUBY_SITEARCHLIBDIR}/postgres.so:${.CURDIR}/../ruby-postgres
USE_RUBY= yes
NO_BUILD= yes
EXAMPLES_EN= *.rb
DOCS_EN= README
do-install:
${INSTALL_DATA} ${WRKSRC}/dbi/*.rb ${RUBY_SITELIBDIR}/dbi/
.if !defined(NOPORTDOCS)
${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>

View File

@ -0,0 +1 @@
MD5 (ruby/ruby-dbi-postgresql-0.0.4.tgz) = 14ae1d7428e2f4a03108cbad67305587

View File

@ -0,0 +1 @@
PostgreSQL driver for DBI-for-Ruby

View File

@ -0,0 +1,3 @@
This is the PostgreSQL driver for Rainer Perl's DBI-for-Ruby.
Author: Jim Weirich <jweirich@one.ent>

View File

@ -0,0 +1,9 @@
%%RUBY_SITELIBDIR%%/dbi/dbd_postgresql.rb
%%RUBY_SITELIBDIR%%/dbi/sqlquote.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbi/dbd_postgresql/runtests.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbi/dbd_postgresql/testdbi.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbi/dbd_postgresql/testdbipostgres.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbi/dbd_postgresql/testsqlquote.rb
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/dbi/dbd_postgresql
%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/dbd_postgresql/README
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/dbi/dbd_postgresql