pkgsrc/databases/postgresql96-plpython/Makefile
2021-12-08 16:01:42 +00:00

20 lines
630 B
Makefile

# $NetBSD: Makefile,v 1.21 2021/12/08 16:03:48 adam Exp $
PKGNAME= ${DISTNAME:S/-/96-plpython-/}
PKGREVISION= 1
COMMENT= PL/Python procedural language for the PostgreSQL backend
DEPENDS+= postgresql96-server>=${PKGVERSION_NOREV}:../../databases/postgresql96-server
.include "../../databases/postgresql96/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/postgresql96-client/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"