pkgsrc/databases/postgresql93-plpython/Makefile

18 lines
569 B
Makefile

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