summaryrefslogtreecommitdiff
path: root/databases/postgresql91-plpython/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql91-plpython/Makefile')
-rw-r--r--databases/postgresql91-plpython/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/databases/postgresql91-plpython/Makefile b/databases/postgresql91-plpython/Makefile
new file mode 100644
index 00000000000..eb4f195ffdb
--- /dev/null
+++ b/databases/postgresql91-plpython/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/09/15 08:31:43 adam Exp $
+
+PKGNAME= ${DISTNAME:C/-/91-plpython-/}
+COMMENT= PL/Python procedural language for the PostgreSQL backend
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= postgresql91-server>=${PKGVERSION_NOREV}:../../databases/postgresql91-server
+
+.include "../../databases/postgresql91/Makefile.common"
+
+CONFIGURE_ARGS+= --with-python
+CONFIGURE_ENV+= PYTHON="${PYTHONBIN}"
+BUILD_MAKE_FLAGS= PGXS=1
+
+BUILD_DIRS= src/pl/plpython
+
+.include "../../databases/postgresql91-client/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"