pkgsrc/databases/postgresql80-plpython/Makefile
jlam 3cfbae819d 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.
2005-08-06 06:25:12 +00:00

21 lines
607 B
Makefile

# $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"