summaryrefslogtreecommitdiff
path: root/databases/postgresql95-plpython/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql95-plpython/Makefile')
-rw-r--r--databases/postgresql95-plpython/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/databases/postgresql95-plpython/Makefile b/databases/postgresql95-plpython/Makefile
new file mode 100644
index 00000000000..7fafb729dd6
--- /dev/null
+++ b/databases/postgresql95-plpython/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2016/02/25 21:37:36 tnn Exp $
+
+PKGNAME= ${DISTNAME:C/-/95-plpython-/}
+COMMENT= PL/Python procedural language for the PostgreSQL backend
+
+DEPENDS+= postgresql95-server>=${PKGVERSION_NOREV}:../../databases/postgresql95-server
+
+.include "../../databases/postgresql95/Makefile.common"
+
+CONFIGURE_ARGS+= --with-python
+CONFIGURE_ENV+= PYTHON="${PYTHONBIN}"
+BUILD_MAKE_FLAGS= PGXS=1
+
+BUILD_DIRS= src/pl/plpython contrib/hstore_plpython
+
+.include "../../databases/postgresql95-client/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"