pkgsrc/databases/postgresql11-plpython/Makefile

19 lines
616 B
Makefile

# $NetBSD: Makefile,v 1.6 2020/05/12 15:53:18 rillig Exp $
PKGNAME= ${DISTNAME:S/-/11-plpython-/}
COMMENT= PL/Python procedural language for the PostgreSQL backend
DEPENDS+= postgresql11-server>=${PKGVERSION_NOREV}:../../databases/postgresql11-server
.include "../../databases/postgresql11/Makefile.common"
TOOLS_BROKEN+= perl
CONFIGURE_ARGS+= --with-python
CONFIGURE_ENV+= PYTHON="${PYTHONBIN}"
BUILD_MAKE_FLAGS= PGXS=1
BUILD_DIRS= src/pl/plpython contrib/hstore_plpython
.include "../../databases/postgresql11-client/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"