2014-08-11 13:27:10 +02:00

19 lines
570 B
Makefile

# $NetBSD: Makefile,v 1.17 2014/02/23 11:25:50 adam Exp $
PKGNAME= ${DISTNAME:C/-/84-plpython-/}
COMMENT= PL/Python procedural language for the PostgreSQL backend
DEPENDS+= postgresql84-server>=${PKGVERSION_NOREV}:../../databases/postgresql84-server
.include "../../databases/postgresql84/Makefile.common"
CONFIGURE_ARGS+= --with-python
CONFIGURE_ENV+= PYTHON="${PYTHONBIN}"
BUILD_DIRS= src/pl/plpython
BUILD_MAKE_FLAGS= PGXS=1
.include "../../databases/postgresql84-client/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"