pkgsrc/databases/postgresql83-plpython/Makefile
2011-04-22 22:58:18 +00:00

20 lines
607 B
Makefile

# $NetBSD: Makefile,v 1.11 2011/04/22 22:58:18 obache Exp $
PKGNAME= ${DISTNAME:C/-/83-plpython-/}
COMMENT= PL/Python procedural language for the PostgreSQL backend
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= postgresql83-server>=${PKGVERSION_NOREV}:../../databases/postgresql83-server
.include "../../databases/postgresql83/Makefile.common"
CONFIGURE_ARGS+= --with-python
CONFIGURE_ENV+= PYTHON="${PYTHONBIN}"
BUILD_DIRS= src/pl/plpython
BUILD_MAKE_FLAGS= PGXS=1
.include "../../databases/postgresql83-client/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"