summaryrefslogtreecommitdiff
path: root/databases/postgresql84-dblink/Makefile
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
commit4a72c68371ddd8816d6c5a2f27e77e7b53e2b2c0 (patch)
treec0c64b6ff380d27b91cd1e4ad2d8c743a5cbf669 /databases/postgresql84-dblink/Makefile
parent5a71a89734ac77440a4979f033b5fb1eaea00f74 (diff)
downloadpkgsrc-4a72c68371ddd8816d6c5a2f27e77e7b53e2b2c0.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/Makefile')
-rw-r--r--databases/postgresql84-dblink/Makefile24
1 files changed, 24 insertions, 0 deletions
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"