pkgsrc/databases/postgresql11-pltcl/Makefile

22 lines
694 B
Makefile

# $NetBSD: Makefile,v 1.10 2020/12/04 04:55:44 riastradh Exp $
PKGNAME= ${DISTNAME:S/-/11-pltcl-/}
PKGREVISION= 1
COMMENT= PL/Tcl procedural language for the PostgreSQL backend
DEPENDS+= postgresql11-server>=${PKGVERSION_NOREV}:../../databases/postgresql11-server
.include "../../databases/postgresql11/Makefile.common"
USE_TOOLS+= perl
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/postgresql11-client/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"