pkgsrc/databases/postgresql90-plpython/Makefile

19 lines
588 B
Makefile

# $NetBSD: Makefile,v 1.10 2013/02/06 23:21:58 jperkin Exp $
PKGNAME= ${DISTNAME:C/-/90-plpython-/}
PKGREVISION= 2
COMMENT= PL/Python procedural language for the PostgreSQL backend
DEPENDS+= postgresql90-server>=${PKGVERSION_NOREV}:../../databases/postgresql90-server
.include "../../databases/postgresql90/Makefile.common"
CONFIGURE_ARGS+= --with-python
CONFIGURE_ENV+= PYTHON="${PYTHONBIN}"
BUILD_MAKE_FLAGS= PGXS=1
BUILD_DIRS= src/pl/plpython
.include "../../databases/postgresql90-client/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"