summaryrefslogtreecommitdiff
path: root/databases/ruby-sqlite3
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-04 15:30:00 +0000
committerjlam <jlam@pkgsrc.org>2008-04-04 15:30:00 +0000
commit49044b1ec2caacbe0cd6751700981b592cdb06b1 (patch)
treec080e0fce7907456de3fe1768865d098adfb51fd /databases/ruby-sqlite3
parentd5b336e4ba6b8a28d7b0778f55c1cbb057689834 (diff)
downloadpkgsrc-49044b1ec2caacbe0cd6751700981b592cdb06b1.tar.gz
Install as a gem using the pkgsrc rubygem.mk framework instead of
directly into site_ruby.
Diffstat (limited to 'databases/ruby-sqlite3')
-rw-r--r--databases/ruby-sqlite3/Makefile24
-rw-r--r--databases/ruby-sqlite3/PLIST165
-rw-r--r--databases/ruby-sqlite3/distinfo8
3 files changed, 58 insertions, 139 deletions
diff --git a/databases/ruby-sqlite3/Makefile b/databases/ruby-sqlite3/Makefile
index 5e2fbf930cb..e8d88415590 100644
--- a/databases/ruby-sqlite3/Makefile
+++ b/databases/ruby-sqlite3/Makefile
@@ -1,31 +1,17 @@
-# $NetBSD: Makefile,v 1.5 2008/02/08 15:13:54 obache Exp $
+# $NetBSD: Makefile,v 1.6 2008/04/04 15:30:00 jlam Exp $
DISTNAME= sqlite3-ruby-1.2.1
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/-ruby//}
-CATEGORIES= databases ruby
-MASTER_SITES= http://rubyforge.org/frs/download.php/17096/
-EXTRACT_SUFX= .tar.bz2
+PKGREVISION= 1
+CATEGORIES= databases
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://sqlite-ruby.rubyforge.org/
COMMENT= Ruby interface for the SQLite database engine
-PKG_DESTDIR_SUPPORT= user-destdir
+GEM_BUILD= gemspec
-RUBY_HAS_ARCHLIB= yes
-USE_RUBY_SETUP= yes
-
-DOCS= ChangeLog LICENSE README
+.include "../../misc/rubygems/rubygem.mk"
.include "../../databases/sqlite3/buildlink3.mk"
-.include "../../lang/ruby/modules.mk"
-
-post-install:
- ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_DOCDIR:Q}/sqlite3/api
-.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC:Q}/${f:Q} ${DESTDIR}${RUBY_DOCDIR:Q}/sqlite3/
-.endfor
- cd ${WRKSRC:Q}/doc && ${PAX} -rw -pp * ${DESTDIR}${RUBY_DOCDIR:Q}/sqlite3
- cd ${WRKSRC:Q}/api && ${PAX} -rw -pp * ${DESTDIR}${RUBY_DOCDIR:Q}/sqlite3/api
-
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/ruby-sqlite3/PLIST b/databases/ruby-sqlite3/PLIST
index 5e5a0be9b48..58c235272e4 100644
--- a/databases/ruby-sqlite3/PLIST
+++ b/databases/ruby-sqlite3/PLIST
@@ -1,116 +1,49 @@
-@comment $NetBSD: PLIST,v 1.3 2007/04/01 09:10:34 obache Exp $
-${RUBY_DOCDIR}/sqlite3/ChangeLog
-${RUBY_DOCDIR}/sqlite3/LICENSE
-${RUBY_DOCDIR}/sqlite3/README
-${RUBY_DOCDIR}/sqlite3/api/classes/DL.html
-${RUBY_DOCDIR}/sqlite3/api/classes/DL/PtrData.html
-${RUBY_DOCDIR}/sqlite3/api/classes/Kernel.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/AbortException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/AuthorizationException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Blob.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/BusyException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/CantOpenException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Constants.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Constants/ColumnType.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Constants/ErrorCode.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Constants/TextRep.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/ConstraintException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/CorruptException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Database.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Database/FunctionProxy.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Driver.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Driver/DL.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Driver/DL/API.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Driver/DL/Driver.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Driver/Native.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Driver/Native/Driver.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/EmptyException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Error.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Exception.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/FormatException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/FullException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/IOException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/InternalException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/InterruptException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/LockedException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/MemoryException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/MismatchException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/MisuseException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/NotADatabaseException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/NotFoundException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/PermissionException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Pragmas.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/ProtocolException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/RangeException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/ReadOnlyException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/ResultSet.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/ResultSet/FieldsContainer.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/ResultSet/TypesContainer.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/SQLException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/SchemaChangedException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Statement.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/TooBigException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Translator.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/UnsupportedException.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Value.html
-${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Version.html
-${RUBY_DOCDIR}/sqlite3/api/classes/String.html
-${RUBY_DOCDIR}/sqlite3/api/created.rid
-${RUBY_DOCDIR}/sqlite3/api/files/lib/sqlite3/constants_rb.html
-${RUBY_DOCDIR}/sqlite3/api/files/lib/sqlite3/database_rb.html
-${RUBY_DOCDIR}/sqlite3/api/files/lib/sqlite3/driver/dl/api_rb.html
-${RUBY_DOCDIR}/sqlite3/api/files/lib/sqlite3/driver/dl/driver_rb.html
-${RUBY_DOCDIR}/sqlite3/api/files/lib/sqlite3/driver/native/driver_rb.html
-${RUBY_DOCDIR}/sqlite3/api/files/lib/sqlite3/errors_rb.html
-${RUBY_DOCDIR}/sqlite3/api/files/lib/sqlite3/pragmas_rb.html
-${RUBY_DOCDIR}/sqlite3/api/files/lib/sqlite3/resultset_rb.html
-${RUBY_DOCDIR}/sqlite3/api/files/lib/sqlite3/statement_rb.html
-${RUBY_DOCDIR}/sqlite3/api/files/lib/sqlite3/translator_rb.html
-${RUBY_DOCDIR}/sqlite3/api/files/lib/sqlite3/value_rb.html
-${RUBY_DOCDIR}/sqlite3/api/files/lib/sqlite3/version_rb.html
-${RUBY_DOCDIR}/sqlite3/api/files/lib/sqlite3_rb.html
-${RUBY_DOCDIR}/sqlite3/api/fr_class_index.html
-${RUBY_DOCDIR}/sqlite3/api/fr_file_index.html
-${RUBY_DOCDIR}/sqlite3/api/fr_method_index.html
-${RUBY_DOCDIR}/sqlite3/api/index.html
-${RUBY_DOCDIR}/sqlite3/api/rdoc-style.css
-${RUBY_DOCDIR}/sqlite3/faq/faq.html
-${RUBY_DOCDIR}/sqlite3/faq/faq.rb
-${RUBY_DOCDIR}/sqlite3/faq/faq.yml
-${RUBY_SITEARCHLIBDIR}/sqlite3_api.${RUBY_DLEXT}
-${RUBY_SITELIBDIR}/sqlite3.rb
-${RUBY_SITELIBDIR}/sqlite3/constants.rb
-${RUBY_SITELIBDIR}/sqlite3/database.rb
-${RUBY_SITELIBDIR}/sqlite3/driver/dl/driver.rb
-${RUBY_SITELIBDIR}/sqlite3/driver/dl/api.rb
-${RUBY_SITELIBDIR}/sqlite3/driver/native/driver.rb
-${RUBY_SITELIBDIR}/sqlite3/errors.rb
-${RUBY_SITELIBDIR}/sqlite3/pragmas.rb
-${RUBY_SITELIBDIR}/sqlite3/resultset.rb
-${RUBY_SITELIBDIR}/sqlite3/statement.rb
-${RUBY_SITELIBDIR}/sqlite3/translator.rb
-${RUBY_SITELIBDIR}/sqlite3/value.rb
-${RUBY_SITELIBDIR}/sqlite3/version.rb
-@dirrm ${RUBY_DOCDIR}/sqlite3/api/files/lib/sqlite3/driver/dl
-@dirrm ${RUBY_DOCDIR}/sqlite3/api/files/lib/sqlite3/driver/native
-@dirrm ${RUBY_DOCDIR}/sqlite3/api/files/lib/sqlite3/driver
-@dirrm ${RUBY_DOCDIR}/sqlite3/api/files/lib/sqlite3
-@dirrm ${RUBY_DOCDIR}/sqlite3/api/files/lib
-@dirrm ${RUBY_DOCDIR}/sqlite3/api/files
-@dirrm ${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Constants
-@dirrm ${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Database
-@dirrm ${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Driver/DL
-@dirrm ${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Driver/Native
-@dirrm ${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/Driver
-@dirrm ${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3/ResultSet
-@dirrm ${RUBY_DOCDIR}/sqlite3/api/classes/SQLite3
-@dirrm ${RUBY_DOCDIR}/sqlite3/api/classes/DL
-@dirrm ${RUBY_DOCDIR}/sqlite3/api/classes
-@dirrm ${RUBY_DOCDIR}/sqlite3/api
-@dirrm ${RUBY_DOCDIR}/sqlite3/faq
-@dirrm ${RUBY_DOCDIR}/sqlite3
-@dirrm ${RUBY_SITELIBDIR}/sqlite3/driver/dl
-@dirrm ${RUBY_SITELIBDIR}/sqlite3/driver/native
-@dirrm ${RUBY_SITELIBDIR}/sqlite3/driver
-@dirrm ${RUBY_SITELIBDIR}/sqlite3
+@comment $NetBSD: PLIST,v 1.4 2008/04/04 15:30:00 jlam Exp $
+${GEM_HOME}/cache/sqlite3-ruby-${PKGVERSION}.gem
+${GEM_LIBDIR}/README
+${GEM_LIBDIR}/doc/faq/faq.html
+${GEM_LIBDIR}/doc/faq/faq.rb
+${GEM_LIBDIR}/doc/faq/faq.yml
+${GEM_LIBDIR}/ext/sqlite3_api/MANIFEST
+${GEM_LIBDIR}/ext/sqlite3_api/Makefile
+${GEM_LIBDIR}/ext/sqlite3_api/extconf.rb
+${GEM_LIBDIR}/ext/sqlite3_api/sqlite3_api.i
+${GEM_LIBDIR}/ext/sqlite3_api/sqlite3_api_wrap.c
+${GEM_LIBDIR}/ext/sqlite3_api/win32/build.bat
+${GEM_LIBDIR}/lib/sqlite3.rb
+${GEM_LIBDIR}/lib/sqlite3/constants.rb
+${GEM_LIBDIR}/lib/sqlite3/database.rb
+${GEM_LIBDIR}/lib/sqlite3/driver/dl/api.rb
+${GEM_LIBDIR}/lib/sqlite3/driver/dl/driver.rb
+${GEM_LIBDIR}/lib/sqlite3/driver/native/driver.rb
+${GEM_LIBDIR}/lib/sqlite3/errors.rb
+${GEM_LIBDIR}/lib/sqlite3/pragmas.rb
+${GEM_LIBDIR}/lib/sqlite3/resultset.rb
+${GEM_LIBDIR}/lib/sqlite3/statement.rb
+${GEM_LIBDIR}/lib/sqlite3/translator.rb
+${GEM_LIBDIR}/lib/sqlite3/value.rb
+${GEM_LIBDIR}/lib/sqlite3/version.rb
+${GEM_LIBDIR}/lib/sqlite3_api.${RUBY_DLEXT}
+${GEM_LIBDIR}/test/bm.rb
+${GEM_LIBDIR}/test/driver/dl/tc_driver.rb
+${GEM_LIBDIR}/test/mocks.rb
+${GEM_LIBDIR}/test/native-vs-dl.rb
+${GEM_LIBDIR}/test/tc_database.rb
+${GEM_LIBDIR}/test/tc_errors.rb
+${GEM_LIBDIR}/test/tc_integration.rb
+${GEM_LIBDIR}/test/tests.rb
+${GEM_HOME}/specifications/sqlite3-ruby-${PKGVERSION}.gemspec
+@dirrm ${GEM_LIBDIR}/test/driver/dl
+@dirrm ${GEM_LIBDIR}/test/driver
+@dirrm ${GEM_LIBDIR}/test
+@dirrm ${GEM_LIBDIR}/lib/sqlite3/driver/native
+@dirrm ${GEM_LIBDIR}/lib/sqlite3/driver/dl
+@dirrm ${GEM_LIBDIR}/lib/sqlite3/driver
+@dirrm ${GEM_LIBDIR}/lib/sqlite3
+@dirrm ${GEM_LIBDIR}/lib
+@dirrm ${GEM_LIBDIR}/ext/sqlite3_api/win32
+@dirrm ${GEM_LIBDIR}/ext/sqlite3_api
+@dirrm ${GEM_LIBDIR}/ext
+@dirrm ${GEM_LIBDIR}/doc/faq
+@dirrm ${GEM_LIBDIR}/doc
+@dirrm ${GEM_LIBDIR}
diff --git a/databases/ruby-sqlite3/distinfo b/databases/ruby-sqlite3/distinfo
index fbeabdbe375..ca0022808f1 100644
--- a/databases/ruby-sqlite3/distinfo
+++ b/databases/ruby-sqlite3/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2007/04/01 09:10:34 obache Exp $
+$NetBSD: distinfo,v 1.3 2008/04/04 15:30:00 jlam Exp $
-SHA1 (sqlite3-ruby-1.2.1.tar.bz2) = 68d40bc263d36fed256ca74954c6894760d72ebd
-RMD160 (sqlite3-ruby-1.2.1.tar.bz2) = de3042471a2e021e299c79c189fb35eb364f0128
-Size (sqlite3-ruby-1.2.1.tar.bz2) = 83105 bytes
+SHA1 (sqlite3-ruby-1.2.1.gem) = b749ca7ceff3f568965918d68259081bdd650802
+RMD160 (sqlite3-ruby-1.2.1.gem) = 4fe9e32803cb65307831c8b5b60fcab3935b5205
+Size (sqlite3-ruby-1.2.1.gem) = 59392 bytes