diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-11-15 13:18:52 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-11-15 13:18:52 +0000 |
commit | c24a1a839bfeff576c8e4e79985c88db2eb7a33f (patch) | |
tree | 298de1fd1cb4f1a11cbbfc7da9063a88c1f3006a /databases | |
parent | f35e83e26828c028836a7638c57a34c00cb0d8c2 (diff) | |
download | ports-c24a1a839bfeff576c8e4e79985c88db2eb7a33f.tar.gz ports-c24a1a839bfeff576c8e4e79985c88db2eb7a33f.zip |
Notes
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/ruby-dbd_sqlite/Makefile | 33 | ||||
-rw-r--r-- | databases/ruby-dbd_sqlite/pkg-comment | 1 | ||||
-rw-r--r-- | databases/ruby-dbd_sqlite/pkg-descr | 4 | ||||
-rw-r--r-- | databases/ruby-dbd_sqlite/pkg-plist | 2 |
5 files changed, 41 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 94305ab48979..1cc37f4667e5 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -98,6 +98,7 @@ SUBDIR += ruby-dbd_odbc SUBDIR += ruby-dbd_pg SUBDIR += ruby-dbd_proxy + SUBDIR += ruby-dbd_sqlite SUBDIR += ruby-dbd_sybase SUBDIR += ruby-dbi SUBDIR += ruby-gdbm diff --git a/databases/ruby-dbd_sqlite/Makefile b/databases/ruby-dbd_sqlite/Makefile new file mode 100644 index 000000000000..adb09d1bfecd --- /dev/null +++ b/databases/ruby-dbd_sqlite/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: dbd_sqlite for DBD-for-Ruby +# Date created: 15 November 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= dbd_sqlite +PORTVERSION= ${RUBY_DBI_PORTVERSION} +CATEGORIES= databases ruby +MASTER_SITES= ${RUBY_DBI_MASTER_SITES} +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ${RUBY_DBI_DISTNAME} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +LIB_DEPENDS= sqlite.1:${.CURDIR}/../sqlite +RUN_DEPENDS= ${RUBY_SITELIBDIR}/dbi.rb:${RUBY_DBI_PORTDIR} + +USE_RUBY= yes +USE_RUBY_SETUP= yes + +WRKSRC= ${RUBY_DBI_WRKSRC} +CONFIGURE_ARGS= --with=ext/${PORTNAME} + +post-patch: + ${RUBY} -i- -pe 'gsub "/usr/local", "${LOCALBASE}"' \ + ${WRKSRC}/ext/dbd_sqlite/extconf.rb + +.include "${.CURDIR}/../ruby-dbi/Makefile.common" + +.include <bsd.port.mk> diff --git a/databases/ruby-dbd_sqlite/pkg-comment b/databases/ruby-dbd_sqlite/pkg-comment new file mode 100644 index 000000000000..139532e1be9d --- /dev/null +++ b/databases/ruby-dbd_sqlite/pkg-comment @@ -0,0 +1 @@ +SQLite driver for DBI-for-Ruby diff --git a/databases/ruby-dbd_sqlite/pkg-descr b/databases/ruby-dbd_sqlite/pkg-descr new file mode 100644 index 000000000000..3a0b4e469992 --- /dev/null +++ b/databases/ruby-dbd_sqlite/pkg-descr @@ -0,0 +1,4 @@ +This is the SQLite driver for DBI-for-Ruby. + +Author: Rainer Perl <rainer.perl@sprytech.com> +WWW: http://www.ruby-projects.org/dbi/ diff --git a/databases/ruby-dbd_sqlite/pkg-plist b/databases/ruby-dbd_sqlite/pkg-plist new file mode 100644 index 000000000000..e32e88f69229 --- /dev/null +++ b/databases/ruby-dbd_sqlite/pkg-plist @@ -0,0 +1,2 @@ +%%RUBY_SITEARCHLIBDIR%%/DBD/SQLite/SQLite.so +@dirrm %%RUBY_SITEARCHLIBDIR%%/DBD/SQLite |