summaryrefslogtreecommitdiff
path: root/databases/postgresql84-dblink
diff options
context:
space:
mode:
authormbalmer <mbalmer@pkgsrc.org>2010-08-04 06:04:41 +0000
committermbalmer <mbalmer@pkgsrc.org>2010-08-04 06:04:41 +0000
commit493dffa690614f5024b4be423fbf1696370454ef (patch)
treec0c64b6ff380d27b91cd1e4ad2d8c743a5cbf669 /databases/postgresql84-dblink
parent19434e8cf78ec66eeefe49df1a94a622332d05bc (diff)
downloadpkgsrc-493dffa690614f5024b4be423fbf1696370454ef.tar.gz
databases/postgresql84-dblink is a contributed module for PostgreSQL to
allow for connection to a remote server directly from a DB backend, e.g. from PL/pgSQL functions.
Diffstat (limited to 'databases/postgresql84-dblink')
-rw-r--r--databases/postgresql84-dblink/DESCR2
-rw-r--r--databases/postgresql84-dblink/Makefile24
-rw-r--r--databases/postgresql84-dblink/PLIST4
3 files changed, 30 insertions, 0 deletions
diff --git a/databases/postgresql84-dblink/DESCR b/databases/postgresql84-dblink/DESCR
new file mode 100644
index 00000000000..d6641c1971b
--- /dev/null
+++ b/databases/postgresql84-dblink/DESCR
@@ -0,0 +1,2 @@
+The ``dblink'' PostgreSQL contrib module to connect to remote database
+servers.
diff --git a/databases/postgresql84-dblink/Makefile b/databases/postgresql84-dblink/Makefile
new file mode 100644
index 00000000000..442dee61e00
--- /dev/null
+++ b/databases/postgresql84-dblink/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2010/08/04 06:04:41 mbalmer Exp $
+PKGNAME= postgresql84-dblink-${BASE_VERS}
+COMMENT= dblink module for remote database connections
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= postgresql84-server>=${BASE_VERS}:../../databases/postgresql84-server
+
+.include "../../databases/postgresql84/Makefile.common"
+
+BUILD_DIRS= src/interfaces/libpq \
+ contrib/dblink
+
+INSTALL_DIRS= contrib/dblink
+
+USE_LIBTOOL= yes
+PKG_LIBTOOL= ${PKG_SHLIBTOOL}
+
+REQD_DIRS+= ${PG_SUBPREFIX}share/doc/postgresql/contrib
+REQD_DIRS+= ${PG_SUBPREFIX}share/postgresql/contrib
+
+.include "../../databases/postgresql84-client/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql84-dblink/PLIST b/databases/postgresql84-dblink/PLIST
new file mode 100644
index 00000000000..da26c74656a
--- /dev/null
+++ b/databases/postgresql84-dblink/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2010/08/04 06:04:41 mbalmer Exp $
+lib/postgresql/dblink.la
+share/postgresql/contrib/dblink.sql
+share/postgresql/contrib/uninstall_dblink.sql