summaryrefslogtreecommitdiffstats
path: root/databases/rubygem-sqlite3-ruby
diff options
context:
space:
mode:
Diffstat (limited to 'databases/rubygem-sqlite3-ruby')
-rw-r--r--databases/rubygem-sqlite3-ruby/Makefile9
-rw-r--r--databases/rubygem-sqlite3-ruby/distinfo4
-rw-r--r--databases/rubygem-sqlite3-ruby/files/patch-api.rb10
-rw-r--r--databases/rubygem-sqlite3-ruby/pkg-plist8
4 files changed, 20 insertions, 11 deletions
diff --git a/databases/rubygem-sqlite3-ruby/Makefile b/databases/rubygem-sqlite3-ruby/Makefile
index 76c9432..28e3b8a 100644
--- a/databases/rubygem-sqlite3-ruby/Makefile
+++ b/databases/rubygem-sqlite3-ruby/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-ruby/distinfo b/databases/rubygem-sqlite3-ruby/distinfo
index 3742db4..edbc55f 100644
--- a/databases/rubygem-sqlite3-ruby/distinfo
+++ b/databases/rubygem-sqlite3-ruby/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-ruby/files/patch-api.rb b/databases/rubygem-sqlite3-ruby/files/patch-api.rb
index 1f23617..83a4f75 100644
--- a/databases/rubygem-sqlite3-ruby/files/patch-api.rb
+++ b/databases/rubygem-sqlite3-ruby/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-ruby/pkg-plist b/databases/rubygem-sqlite3-ruby/pkg-plist
index aefc8cf..14a80f8 100644
--- a/databases/rubygem-sqlite3-ruby/pkg-plist
+++ b/databases/rubygem-sqlite3-ruby/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
OpenPOWER on IntegriCloud