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

20 lines
629 B
Makefile

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