21 lines
673 B
Makefile
21 lines
673 B
Makefile
# $NetBSD: Makefile,v 1.5 2016/03/05 11:28:16 jperkin Exp $
|
|
|
|
PKGNAME= ${DISTNAME:C/-/93-pltcl-/}
|
|
PKGREVISION= 1
|
|
COMMENT= PL/Tcl procedural language for the PostgreSQL backend
|
|
|
|
DEPENDS+= postgresql93-server>=${PKGVERSION_NOREV}:../../databases/postgresql93-server
|
|
|
|
.include "../../databases/postgresql93/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/postgresql93-client/buildlink3.mk"
|
|
.include "../../lang/tcl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|