summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorbrook <brook@pkgsrc.org>2012-04-15 17:57:36 +0000
committerbrook <brook@pkgsrc.org>2012-04-15 17:57:36 +0000
commitcec2ba7b01cdc3709898c04997159789d48fcd93 (patch)
treec8fccaaaa4330aacd45d19ee24a7ced9c4995bbb /math
parent66ce0fe5d234c21c142e9f32cdcd73a5613cede8 (diff)
downloadpkgsrc-cec2ba7b01cdc3709898c04997159789d48fcd93.tar.gz
Import RPostgreSQL v0.3-2.
Database interface and PostgreSQL driver for R. This package provides a Database Interface (DBI) compliant driver for R to access PostgreSQL database systems. A wiki and issue tracking system for the package are available at Google Code at https://code.google.com/p/rpostgresql/.
Diffstat (limited to 'math')
-rw-r--r--math/R-RPostgreSQL/DESCR4
-rw-r--r--math/R-RPostgreSQL/Makefile23
-rw-r--r--math/R-RPostgreSQL/distinfo7
-rw-r--r--math/R-RPostgreSQL/patches/patch-configure15
-rw-r--r--math/R-RPostgreSQL/patches/patch-configure.in15
5 files changed, 64 insertions, 0 deletions
diff --git a/math/R-RPostgreSQL/DESCR b/math/R-RPostgreSQL/DESCR
new file mode 100644
index 00000000000..3970db9b2e3
--- /dev/null
+++ b/math/R-RPostgreSQL/DESCR
@@ -0,0 +1,4 @@
+Database interface and PostgreSQL driver for R. This package provides
+a Database Interface (DBI) compliant driver for R to access PostgreSQL
+database systems. A wiki and issue tracking system for the package
+are available at Google Code at https://code.google.com/p/rpostgresql/.
diff --git a/math/R-RPostgreSQL/Makefile b/math/R-RPostgreSQL/Makefile
new file mode 100644
index 00000000000..60383173119
--- /dev/null
+++ b/math/R-RPostgreSQL/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/04/15 17:57:36 brook Exp $
+
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= ${R_HOMEPAGE_BASE}/RPostgreSQL/
+COMMENT= R interface to the PostgreSQL database system
+LICENSE= gnu-gpl-v2 AND postgresql-license
+
+R_PKGNAME= RPostgreSQL
+R_PKGVER= 0.3-2
+
+DEPENDS+= R-DBI>=0.2.5:../../math/R-DBI
+
+USE_TOOLS+= sh
+REPLACE_SH+= ${WRKSRC}/inst/devTests/copyTest.sh
+
+CHECK_INTERPRETER_SKIP= lib/R/library/RPostgreSQL/devTests/*
+
+.include "../../math/R/Makefile.extension"
+.include "../../mk/pgsql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/R-RPostgreSQL/distinfo b/math/R-RPostgreSQL/distinfo
new file mode 100644
index 00000000000..4ef3b986985
--- /dev/null
+++ b/math/R-RPostgreSQL/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/04/15 17:57:36 brook Exp $
+
+SHA1 (R/RPostgreSQL_0.3-2.tar.gz) = cffa6237894727008d7079e24ab3a561ae139816
+RMD160 (R/RPostgreSQL_0.3-2.tar.gz) = 4c53b8183716455100883545465d3437e2ef17f9
+Size (R/RPostgreSQL_0.3-2.tar.gz) = 470695 bytes
+SHA1 (patch-configure) = a1aa7d41ee22ff965dd5634e3024386b1ca6e413
+SHA1 (patch-configure.in) = a50d4d43da4c73020de86d06a3eb45a7944b8659
diff --git a/math/R-RPostgreSQL/patches/patch-configure b/math/R-RPostgreSQL/patches/patch-configure
new file mode 100644
index 00000000000..d1113272821
--- /dev/null
+++ b/math/R-RPostgreSQL/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1.1.1 2012/04/15 17:57:36 brook Exp $
+
+# see http://code.google.com/p/rpostgresql/issues/detail?id=39
+
+--- configure.orig 2011-12-31 13:11:52.000000000 +0000
++++ configure
+@@ -3008,7 +3008,7 @@ as_val=`eval 'as_val=${'$as_ac_File'}
+
+
+ ENABLE_LIBPQ=
+-if test $R_OS_TYPE == "darwin" ; then
++if test $R_OS_TYPE = "darwin" ; then
+ ENABLE_LIBPQ='
+
+ PKG_CPPFLAGS=-Ilibpq
diff --git a/math/R-RPostgreSQL/patches/patch-configure.in b/math/R-RPostgreSQL/patches/patch-configure.in
new file mode 100644
index 00000000000..dbb8f51d698
--- /dev/null
+++ b/math/R-RPostgreSQL/patches/patch-configure.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure.in,v 1.1.1.1 2012/04/15 17:57:36 brook Exp $
+
+# see http://code.google.com/p/rpostgresql/issues/detail?id=39
+
+--- configure.in.orig 2011-12-31 13:11:52.000000000 +0000
++++ configure.in
+@@ -115,7 +115,7 @@ AC_SUBST(PKG_CPPFLAGS)
+ AC_SUBST(PKG_LIBS)
+
+ ENABLE_LIBPQ=
+-if test $R_OS_TYPE == "darwin" ; then
++if test $R_OS_TYPE = "darwin" ; then
+ ENABLE_LIBPQ='
+
+ PKG_CPPFLAGS=-Ilibpq