pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/ruby-postgresql Update ruby-postgresql to ve...
details: https://anonhg.NetBSD.org/pkgsrc/rev/73dcc7d6d5f6
branches: trunk
changeset: 540464:73dcc7d6d5f6
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Apr 04 15:16:02 2008 +0000
description:
Update ruby-postgresql to version 0.7.9.2008.01.28. Changes from
version 0.7.1 include:
+ Install as a Ruby gem.
- Aliases to make it easier for ActiveRecord to support both ruby-pg
(the successor to ruby-postgres) and ruby-postgres.
- Fix connections to PostgreSQL>8.2.
diffstat:
databases/ruby-postgresql/Makefile | 52 ++++++++-----------------------------
databases/ruby-postgresql/PLIST | 31 ++++++++++++----------
databases/ruby-postgresql/distinfo | 8 ++--
3 files changed, 33 insertions(+), 58 deletions(-)
diffs (110 lines):
diff -r a5c33a389191 -r 73dcc7d6d5f6 databases/ruby-postgresql/Makefile
--- a/databases/ruby-postgresql/Makefile Fri Apr 04 15:15:57 2008 +0000
+++ b/databases/ruby-postgresql/Makefile Fri Apr 04 15:16:02 2008 +0000
@@ -1,46 +1,18 @@
-# $NetBSD: Makefile,v 1.32 2007/12/02 11:58:26 wiz Exp $
-
-DISTNAME= ruby-postgres-${VERSION}
-PKGNAME= ${RUBY_PKGPREFIX}-postgresql-${VERSION}
-PKGREVISION= 8
-CATEGORIES= databases ruby
-MASTER_SITES= http://raa.ruby-lang.org/cache/postgres/ \
- http://ruby.scripting.ca/postgres/archive/
+# $NetBSD: Makefile,v 1.33 2008/04/04 15:16:02 jlam Exp $
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://ruby.scripting.ca/postgres/
-COMMENT= Ruby extension for postgresql
-
-RUBY_HAS_ARCHLIB= yes
-USE_RUBY_EXTCONF= yes
-VERSION= 0.7.1
-INSTALL_TARGET= site-install
-CONFIGURE_ARGS+= --with-pgsql-include-dir=${PGSQL_PREFIX}/include/postgresql \
- --with-pgsql-lib-dir=${PGSQL_PREFIX}/lib
+DISTNAME= postgres-0.7.9.2008.01.28
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:C/postgres/&ql/}
+CATEGORIES= databases
-DOC= README README.ja doc/postgres.html doc/postgres.ja.html
-EXAMPLE_LIBS= losample.rb psqlHelp.rb
-EXAMPLE_SCRIPTS= psql.rb test1.rb test2.rb test4.rb
-REPLACE_RUBY= sample/psql.rb sample/test1.rb sample/test2.rb \
- sample/test4.rb
-
-pre-install:
- @cd ${WRKSRC}; \
- ${CP} -p doc/postgres.jp.html doc/postgres.ja.html
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://ruby.scripting.ca/postgres/
+COMMENT= Ruby extension for PostgreSQL
-post-install:
- ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/postgresql
-.for f in ${DOC}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/postgresql
-.endfor
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/postgresql
-.for f in ${EXAMPLE_LIBS}
- ${INSTALL_DATA} ${WRKSRC}/sample/${f} ${RUBY_EXAMPLESDIR}/postgresql
-.endfor
-.for f in ${EXAMPLE_SCRIPTS}
- ${INSTALL_SCRIPT} ${WRKSRC}/sample/${f} ${RUBY_EXAMPLESDIR}/postgresql
-.endfor
+GEM_BUILD= gemspec
+CONFIGURE_ARGS= --with-pgsql-include-dir=${PGSQL_PREFIX}/include/postgresql \
+ --with-pgsql-lib-dir=${PGSQL_PREFIX}/lib
-.include "../../lang/ruby/modules.mk"
+.include "../../misc/rubygems/rubygem.mk"
+
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r a5c33a389191 -r 73dcc7d6d5f6 databases/ruby-postgresql/PLIST
--- a/databases/ruby-postgresql/PLIST Fri Apr 04 15:15:57 2008 +0000
+++ b/databases/ruby-postgresql/PLIST Fri Apr 04 15:16:02 2008 +0000
@@ -1,14 +1,17 @@
-@comment $NetBSD: PLIST,v 1.3 2004/12/04 17:20:46 taca Exp $
-${RUBY_SITEARCHLIBDIR}/postgres.${RUBY_DLEXT}
-${RUBY_DOCDIR}/postgresql/README
-${RUBY_DOCDIR}/postgresql/README.ja
-${RUBY_DOCDIR}/postgresql/postgres.html
-${RUBY_DOCDIR}/postgresql/postgres.ja.html
-${RUBY_EXAMPLESDIR}/postgresql/losample.rb
-${RUBY_EXAMPLESDIR}/postgresql/psql.rb
-${RUBY_EXAMPLESDIR}/postgresql/psqlHelp.rb
-${RUBY_EXAMPLESDIR}/postgresql/test1.rb
-${RUBY_EXAMPLESDIR}/postgresql/test2.rb
-${RUBY_EXAMPLESDIR}/postgresql/test4.rb
-@dirrm ${RUBY_DOCDIR}/postgresql
-@dirrm ${RUBY_EXAMPLESDIR}/postgresql
+@comment $NetBSD: PLIST,v 1.4 2008/04/04 15:16:02 jlam Exp $
+${GEM_HOME}/cache/postgres-${PKGVERSION}.gem
+${GEM_LIBDIR}/COPYING
+${GEM_LIBDIR}/COPYING.txt
+${GEM_LIBDIR}/Contributors
+${GEM_LIBDIR}/GPL
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README
+${GEM_LIBDIR}/ext/extconf.rb
+${GEM_LIBDIR}/ext/libpq-compat.c
+${GEM_LIBDIR}/ext/postgres.c
+${GEM_LIBDIR}/ext/type-oids.h
+${GEM_LIBDIR}/lib/postgres.${RUBY_DLEXT}
+${GEM_HOME}/specifications/postgres-${PKGVERSION}.gemspec
+@dirrm ${GEM_LIBDIR}/lib
+@dirrm ${GEM_LIBDIR}/ext
+@dirrm ${GEM_LIBDIR}
diff -r a5c33a389191 -r 73dcc7d6d5f6 databases/ruby-postgresql/distinfo
--- a/databases/ruby-postgresql/distinfo Fri Apr 04 15:15:57 2008 +0000
+++ b/databases/ruby-postgresql/distinfo Fri Apr 04 15:16:02 2008 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2006/01/03 14:25:49 taca Exp $
+$NetBSD: distinfo,v 1.7 2008/04/04 15:16:02 jlam Exp $
-SHA1 (ruby-postgres-0.7.1.tar.gz) = ba3b872511b525f6b5979031ee62bfa265697e9a
-RMD160 (ruby-postgres-0.7.1.tar.gz) = 9ec82ec6755f1ccd38582faeba239474fcb53ec9
-Size (ruby-postgres-0.7.1.tar.gz) = 29256 bytes
+SHA1 (postgres-0.7.9.2008.01.28.gem) = 229ca3c503cda8a0977cd6e6d41896da7b8d5ecc
+RMD160 (postgres-0.7.9.2008.01.28.gem) = 2473b4225802a49fd56a5adac702dc89d6cd19ba
+Size (postgres-0.7.9.2008.01.28.gem) = 32768 bytes
Home |
Main Index |
Thread Index |
Old Index