summaryrefslogtreecommitdiff
path: root/databases/ruby-pg
diff options
context:
space:
mode:
authorerh <erh>2008-10-16 21:48:26 +0000
committererh <erh>2008-10-16 21:48:26 +0000
commitbe26f434c39a528e7fb5422d16fdd25c214a38e0 (patch)
tree591f5008d0780e1db21fe63c84aa0805b28e9dd1 /databases/ruby-pg
parent8e75f768e5140f539cd8dc54dabf3bd1f6e8b82e (diff)
downloadpkgsrc-be26f434c39a528e7fb5422d16fdd25c214a38e0.tar.gz
Add the ruby-pg module, a newer replacement for ruby-postgres
Diffstat (limited to 'databases/ruby-pg')
-rw-r--r--databases/ruby-pg/DESCR2
-rw-r--r--databases/ruby-pg/Makefile17
-rw-r--r--databases/ruby-pg/PLIST18
-rw-r--r--databases/ruby-pg/distinfo5
4 files changed, 42 insertions, 0 deletions
diff --git a/databases/ruby-pg/DESCR b/databases/ruby-pg/DESCR
new file mode 100644
index 00000000000..59f4a62b8d3
--- /dev/null
+++ b/databases/ruby-pg/DESCR
@@ -0,0 +1,2 @@
+This is the extension library to access a PostgreSQL database from Ruby.
+This is the new module to replace the old ruby-postgres one.
diff --git a/databases/ruby-pg/Makefile b/databases/ruby-pg/Makefile
new file mode 100644
index 00000000000..4036086968d
--- /dev/null
+++ b/databases/ruby-pg/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2008/10/16 21:48:26 erh Exp $
+
+DISTNAME= pg-0.7.9.2008.01.28
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:C/postgres/&ql/}
+CATEGORIES= databases
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://rubyforge.org/projects/ruby-pg/
+COMMENT= Ruby extension for PostgreSQL
+
+GEM_BUILD= gemspec
+CONFIGURE_ARGS= --with-pgsql-include-dir=${PGSQL_PREFIX}/include/postgresql \
+ --with-pgsql-lib-dir=${PGSQL_PREFIX}/lib
+
+.include "../../misc/rubygems/rubygem.mk"
+.include "../../mk/pgsql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/ruby-pg/PLIST b/databases/ruby-pg/PLIST
new file mode 100644
index 00000000000..127c2e7719a
--- /dev/null
+++ b/databases/ruby-pg/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1 2008/10/16 21:48:26 erh Exp $
+${GEM_HOME}/cache/pg-${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/compat.c
+${GEM_LIBDIR}/ext/compat.h
+${GEM_LIBDIR}/ext/pg.c
+${GEM_LIBDIR}/ext/pg.h
+${GEM_LIBDIR}/lib/pg.${RUBY_DLEXT}
+${GEM_HOME}/specifications/pg-${PKGVERSION}.gemspec
+@dirrm ${GEM_LIBDIR}/lib
+@dirrm ${GEM_LIBDIR}/ext
+@dirrm ${GEM_LIBDIR}
diff --git a/databases/ruby-pg/distinfo b/databases/ruby-pg/distinfo
new file mode 100644
index 00000000000..e0aca34718c
--- /dev/null
+++ b/databases/ruby-pg/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2008/10/16 21:48:26 erh Exp $
+
+SHA1 (pg-0.7.9.2008.01.28.gem) = 8fd8c448c30a8330902cbbbb64620d530fb4254e
+RMD160 (pg-0.7.9.2008.01.28.gem) = 5fc2d45e853d9ab900f46e51f76f1967f82ee17c
+Size (pg-0.7.9.2008.01.28.gem) = 36864 bytes