summaryrefslogtreecommitdiff
path: root/databases/postgresql80-plpython/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-08-06 06:25:12 +0000
committerjlam <jlam@pkgsrc.org>2005-08-06 06:25:12 +0000
commite0492d33061c52299cb8d9f227d27352017b5ffb (patch)
tree2c14201ffda47781ab0e82f99010dfc15439e753 /databases/postgresql80-plpython/Makefile
parent08185e52560ce493d0844174b38c83e0107c9e8f (diff)
downloadpkgsrc-e0492d33061c52299cb8d9f227d27352017b5ffb.tar.gz
Import databases/postgresql80-plpython-8.0.3.
PL/Python allows you to write functions in the Python programming language that may be used in SQL queries as if they were built into Postgres. The PL/Python intepreter is a full Python interpreter. PL/Python is currently only available as an "untrusted" language (meaning it does not offer any way of restricting what users can do in it). It has therefore been named "plpythonu". The trusted variant plpython may become available again in future, if a new secure execution mechanism is developed in Python.
Diffstat (limited to 'databases/postgresql80-plpython/Makefile')
-rw-r--r--databases/postgresql80-plpython/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/databases/postgresql80-plpython/Makefile b/databases/postgresql80-plpython/Makefile
new file mode 100644
index 00000000000..d8efb4c7206
--- /dev/null
+++ b/databases/postgresql80-plpython/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/08/06 06:25:12 jlam Exp $
+
+PKGNAME= postgresql80-plpython-${BASE_VERS}
+COMMENT= PL/Python procedural language for the PostgreSQL backend
+
+DEPENDS+= postgresql80-server>=${BASE_VERS}:../../databases/postgresql80-server
+
+.include "../../databases/postgresql80/Makefile.common"
+
+CONFIGURE_ARGS+= --with-python
+CONFIGURE_ENV+= PYTHON="${PYTHONBIN}"
+
+BUILD_DIRS= ${WRKSRC}/src/pl/plpython
+
+USE_LIBTOOL= yes
+PKG_LIBTOOL= ${PKG_SHLIBTOOL}
+
+.include "../../databases/postgresql80-client/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+
+.include "../../mk/bsd.pkg.mk"