23 lines
704 B
Makefile
23 lines
704 B
Makefile
# $NetBSD: Makefile,v 1.2 2012/06/14 07:45:34 sbd Exp $
|
|
|
|
PKGNAME= ${DISTNAME:C/-/91-pltcl-/}
|
|
PKGREVISION= 1
|
|
COMMENT= PL/Tcl procedural language for the PostgreSQL backend
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
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"
|