2016-04-09 14:51:44 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2016/04/09 12:51:45 adam Exp $
|
2011-09-15 10:27:38 +02:00
|
|
|
|
|
|
|
PKGNAME= ${DISTNAME:C/-/91-pltcl-/}
|
|
|
|
COMMENT= PL/Tcl procedural language for the PostgreSQL backend
|
|
|
|
|
|
|
|
DEPENDS+= postgresql91-server>=${PKGVERSION_NOREV}:../../databases/postgresql91-server
|
|
|
|
|
|
|
|
.include "../../databases/postgresql91/Makefile.common"
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-tcl
|
|
|
|
CONFIGURE_ARGS+= --with-tclconfig="${BUILDLINK_PREFIX.tcl}/lib"
|
|
|
|
CONFIGURE_ENV+= TCLSH="${TCLSH}"
|
|
|
|
TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
|
|
|
|
BUILD_MAKE_FLAGS= PGXS=1
|
|
|
|
|
|
|
|
BUILD_DIRS= src/pl/tcl
|
|
|
|
|
|
|
|
.include "../../databases/postgresql91-client/buildlink3.mk"
|
|
|
|
.include "../../lang/tcl/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|