mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Add ruby-dbd_sqlite, the SQLite driver for DBI-for-Ruby.
This commit is contained in:
parent
f35e83e268
commit
c24a1a839b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50068
@ -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
|
||||
|
33
databases/ruby-dbd_sqlite/Makefile
Normal file
33
databases/ruby-dbd_sqlite/Makefile
Normal file
@ -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>
|
1
databases/ruby-dbd_sqlite/pkg-comment
Normal file
1
databases/ruby-dbd_sqlite/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
SQLite driver for DBI-for-Ruby
|
4
databases/ruby-dbd_sqlite/pkg-descr
Normal file
4
databases/ruby-dbd_sqlite/pkg-descr
Normal file
@ -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/
|
2
databases/ruby-dbd_sqlite/pkg-plist
Normal file
2
databases/ruby-dbd_sqlite/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
%%RUBY_SITEARCHLIBDIR%%/DBD/SQLite/SQLite.so
|
||||
@dirrm %%RUBY_SITEARCHLIBDIR%%/DBD/SQLite
|
Loading…
Reference in New Issue
Block a user