pkgsrc/databases/postgresql11-plpython/Makefile
2020-08-31 18:06:29 +00:00

20 lines
628 B
Makefile

# $NetBSD: Makefile,v 1.9 2020/08/31 18:07:11 wiz Exp $
PKGNAME= ${DISTNAME:S/-/11-plpython-/}
PKGREVISION= 1
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"