summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-09-10 04:38:01 +0000
committertaca <taca@pkgsrc.org>2010-09-10 04:38:01 +0000
commit787e76dc410d9f1b623ff0e819416db05c25de64 (patch)
treefbefcb819de5d290590837eaa4ba53e5b0a05e3d
parent8f2eb3876ec721cdb696c9bd39451b712777b7a5 (diff)
downloadpkgsrc-787e76dc410d9f1b623ff0e819416db05c25de64.tar.gz
Update databases/ruby-postgres-pr to 0.9.0.
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk. * Update HOMEPAGE. * Correct LICENSE. * Remove default value of GEM_BUILD. Changes: Add quote_ident method for rails 2.3.{3,4} compat.
-rw-r--r--databases/ruby-postgres-pr/Makefile9
-rw-r--r--databases/ruby-postgres-pr/PLIST7
-rw-r--r--databases/ruby-postgres-pr/distinfo9
-rw-r--r--databases/ruby-postgres-pr/patches/patch-aa15
4 files changed, 11 insertions, 29 deletions
diff --git a/databases/ruby-postgres-pr/Makefile b/databases/ruby-postgres-pr/Makefile
index be92cec294d..25be96d0fad 100644
--- a/databases/ruby-postgres-pr/Makefile
+++ b/databases/ruby-postgres-pr/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2009/10/17 06:41:06 taca Exp $
+# $NetBSD: Makefile,v 1.5 2010/09/10 04:38:01 taca Exp $
-DISTNAME= postgres-pr-0.6.1
-PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+DISTNAME= postgres-pr-0.6.3
CATEGORIES= databases
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -9,7 +8,5 @@ HOMEPAGE= http://rubyforge.org/projects/postgres-pr
COMMENT= Pure Ruby extension for PostgreSQL
LICENSE= modified-bsd
-GEM_BUILD= gemspec
-
-.include "../../misc/rubygems/rubygem.mk"
+.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/ruby-postgres-pr/PLIST b/databases/ruby-postgres-pr/PLIST
index 74612d873a8..417caea67ab 100644
--- a/databases/ruby-postgres-pr/PLIST
+++ b/databases/ruby-postgres-pr/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:36:20 joerg Exp $
-${GEM_HOME}/cache/postgres-pr-${PKGVERSION}.gem
+@comment $NetBSD: PLIST,v 1.4 2010/09/10 04:38:01 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/examples/client.rb
${GEM_LIBDIR}/examples/og/test.rb
${GEM_LIBDIR}/examples/server.rb
@@ -8,6 +8,7 @@ ${GEM_LIBDIR}/lib/binary_reader.rb
${GEM_LIBDIR}/lib/binary_writer.rb
${GEM_LIBDIR}/lib/buffer.rb
${GEM_LIBDIR}/lib/byteorder.rb
+${GEM_LIBDIR}/lib/postgres-pr/1q
${GEM_LIBDIR}/lib/postgres-pr/connection.rb
${GEM_LIBDIR}/lib/postgres-pr/message.rb
${GEM_LIBDIR}/lib/postgres-pr/postgres-compat.rb
@@ -18,4 +19,4 @@ ${GEM_LIBDIR}/lib/postgres-pr/typeconv/conv.rb
${GEM_LIBDIR}/lib/postgres-pr/version.rb
${GEM_LIBDIR}/lib/postgres.rb
${GEM_LIBDIR}/test/TC_message.rb
-${GEM_HOME}/specifications/postgres-pr-${PKGVERSION}.gemspec
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/databases/ruby-postgres-pr/distinfo b/databases/ruby-postgres-pr/distinfo
index f8ec9042ddb..75a05edc6b0 100644
--- a/databases/ruby-postgres-pr/distinfo
+++ b/databases/ruby-postgres-pr/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.2 2009/06/12 11:45:23 taca Exp $
+$NetBSD: distinfo,v 1.3 2010/09/10 04:38:01 taca Exp $
-SHA1 (postgres-pr-0.6.1.gem) = b7943d94ca02e9f4970211b0f7771d0099e7ac6e
-RMD160 (postgres-pr-0.6.1.gem) = c7d892da28643edbdb376f01c1e7b85187c33b34
-Size (postgres-pr-0.6.1.gem) = 12800 bytes
-SHA1 (patch-aa) = 724f1e4719ccd9036fee5164fb3b39a4c4ea4567
+SHA1 (postgres-pr-0.6.3.gem) = f38434aecd21463cc045529c8d29810941e565b9
+RMD160 (postgres-pr-0.6.3.gem) = 6b7ce0a3351ff9dca5c3ed2ecaf98e1a521229af
+Size (postgres-pr-0.6.3.gem) = 12800 bytes
diff --git a/databases/ruby-postgres-pr/patches/patch-aa b/databases/ruby-postgres-pr/patches/patch-aa
deleted file mode 100644
index e0275ea6138..00000000000
--- a/databases/ruby-postgres-pr/patches/patch-aa
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2009/06/12 11:45:23 taca Exp $
-
-Correct URL which is strictly checked by RubyGems.
-
---- ../postgres-pr-0.6.1.gemspec.orig 2009-06-12 15:04:25.000000000 +0900
-+++ ../postgres-pr-0.6.1.gemspec 2009-06-12 15:05:17.000000000 +0900
-@@ -44,7 +44,7 @@
- - examples/og
- - examples/og/test.rb
- has_rdoc: false
--homepage: postgres-pr.rubyforge.org
-+homepage: http://postgres-pr.rubyforge.org/
- licenses:
- post_install_message:
- rdoc_options: []