aboutsummaryrefslogtreecommitdiff
path: root/databases/rubygem-sqlite3
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2005-01-16 18:41:01 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2005-01-16 18:41:01 +0000
commit44ae66555ccbcc517c31a44ed2d2591953d86f25 (patch)
tree7d8a7077b524f5ba3acbacf69a2635c870744cb1 /databases/rubygem-sqlite3
parent529a050ac1ffa998c4c4e9046c44a946d169936f (diff)
downloadports-44ae66555ccbcc517c31a44ed2d2591953d86f25.tar.gz
ports-44ae66555ccbcc517c31a44ed2d2591953d86f25.zip
Notes
Diffstat (limited to 'databases/rubygem-sqlite3')
-rw-r--r--databases/rubygem-sqlite3/Makefile9
-rw-r--r--databases/rubygem-sqlite3/distinfo4
-rw-r--r--databases/rubygem-sqlite3/files/patch-api.rb10
-rw-r--r--databases/rubygem-sqlite3/pkg-plist8
4 files changed, 20 insertions, 11 deletions
diff --git a/databases/rubygem-sqlite3/Makefile b/databases/rubygem-sqlite3/Makefile
index 76c9432c909d..28e3b8a50a05 100644
--- a/databases/rubygem-sqlite3/Makefile
+++ b/databases/rubygem-sqlite3/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= sqlite3
-PORTVERSION= 0.5.0
+PORTVERSION= 0.9.0
CATEGORIES= databases ruby
-MASTER_SITES= http://rubyforge.org/frs/download.php/2301/
+MASTER_SITES= http://rubyforge.org/frs/download.php/2488/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
DIST_SUBDIR= ruby
@@ -16,15 +16,16 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
COMMENT= Ruby interface to the SQLite DB engine version 3
+BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
USE_BZIP2= yes
USE_RUBY= yes
USE_RUBY_SETUP= yes
-NO_BUILD= yes
+CONFIGURE_ARGS= -- --with-sqlite3-dir="${LOCALBASE}"
-DOCS= ChangeLog LICENSE api/* doc/*
+DOCS= ChangeLog LICENSE README api/* doc/*
post-install:
.if !defined(NOPORTDOCS)
diff --git a/databases/rubygem-sqlite3/distinfo b/databases/rubygem-sqlite3/distinfo
index 3742db4bf84c..edbc55f532fb 100644
--- a/databases/rubygem-sqlite3/distinfo
+++ b/databases/rubygem-sqlite3/distinfo
@@ -1,2 +1,2 @@
-MD5 (ruby/sqlite3-ruby-0.5.0.tar.bz2) = 7ef518b86687a385867665ef0bbb5881
-SIZE (ruby/sqlite3-ruby-0.5.0.tar.bz2) = 52853
+MD5 (ruby/sqlite3-ruby-0.9.0.tar.bz2) = dff6405d863bc737ea6073e0eca96ef6
+SIZE (ruby/sqlite3-ruby-0.9.0.tar.bz2) = 48412
diff --git a/databases/rubygem-sqlite3/files/patch-api.rb b/databases/rubygem-sqlite3/files/patch-api.rb
index 1f2361725562..83a4f758f46d 100644
--- a/databases/rubygem-sqlite3/files/patch-api.rb
+++ b/databases/rubygem-sqlite3/files/patch-api.rb
@@ -1,9 +1,9 @@
---- lib/sqlite3/driver/dl/api.rb.orig Wed Dec 22 13:45:15 2004
-+++ lib/sqlite3/driver/dl/api.rb Sun Dec 26 06:03:27 2004
-@@ -38,7 +38,7 @@
- extend ::DL::Importable
-
+--- lib/sqlite3/driver/dl/api.rb.orig Thu Dec 23 19:37:37 2004
++++ lib/sqlite3/driver/dl/api.rb Mon Jan 17 03:30:10 2005
+@@ -40,7 +40,7 @@
library_name = case RUBY_PLATFORM.downcase
+ when /darwin/
+ "libsqlite3.dylib"
- when /linux/
+ when /linux/, /freebsd|netbsd|openbsd|dragonfly/
"libsqlite3.so"
diff --git a/databases/rubygem-sqlite3/pkg-plist b/databases/rubygem-sqlite3/pkg-plist
index aefc8cf73996..14a80f8c858e 100644
--- a/databases/rubygem-sqlite3/pkg-plist
+++ b/databases/rubygem-sqlite3/pkg-plist
@@ -3,6 +3,7 @@
%%RUBY_SITELIBDIR%%/sqlite3/database.rb
%%RUBY_SITELIBDIR%%/sqlite3/driver/dl/api.rb
%%RUBY_SITELIBDIR%%/sqlite3/driver/dl/driver.rb
+%%RUBY_SITELIBDIR%%/sqlite3/driver/native/driver.rb
%%RUBY_SITELIBDIR%%/sqlite3/errors.rb
%%RUBY_SITELIBDIR%%/sqlite3/pragmas.rb
%%RUBY_SITELIBDIR%%/sqlite3/resultset.rb
@@ -10,11 +11,13 @@
%%RUBY_SITELIBDIR%%/sqlite3/translator.rb
%%RUBY_SITELIBDIR%%/sqlite3/value.rb
%%RUBY_SITELIBDIR%%/sqlite3/version.rb
+@dirrm %%RUBY_SITELIBDIR%%/sqlite3/driver/native
@dirrm %%RUBY_SITELIBDIR%%/sqlite3/driver/dl
@dirrm %%RUBY_SITELIBDIR%%/sqlite3/driver
@dirrm %%RUBY_SITELIBDIR%%/sqlite3
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/LICENSE
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/blank.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/DL.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/DL/PtrData.html
@@ -37,6 +40,8 @@
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/SQLite3/Driver/DL.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/SQLite3/Driver/DL/API.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/SQLite3/Driver/DL/Driver.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/SQLite3/Driver/Native.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/SQLite3/Driver/Native/Driver.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/SQLite3/EmptyException.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/SQLite3/Error.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/SQLite3/Exception.html
@@ -73,6 +78,7 @@
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/sqlite3/database_rb.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/sqlite3/driver/dl/api_rb.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/sqlite3/driver/dl/driver_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/sqlite3/driver/native/driver_rb.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/sqlite3/errors_rb.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/sqlite3/pragmas_rb.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/sqlite3/resultset_rb.html
@@ -86,6 +92,7 @@
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/fr_method_index.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/index.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/rdoc-style.css
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/files/lib/sqlite3/driver/native
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/files/lib/sqlite3/driver/dl
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/files/lib/sqlite3/driver
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/files/lib/sqlite3
@@ -93,6 +100,7 @@
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/files
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/faq
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/classes/SQLite3/ResultSet
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/classes/SQLite3/Driver/Native
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/classes/SQLite3/Driver/DL
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/classes/SQLite3/Driver
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/classes/SQLite3/Database