blob: b7643bdb96906b7b8cd801334de4fb3040a36b59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.3 2001/06/23 19:26:51 jlam Exp $
.include "../../databases/postgresql/Makefile.common"
.include "../../databases/postgresql/Makefile.ssl"
PKGNAME= postgresql-pltcl-${PG_VERS}
PG_PKG_VERS= # empty
COMMENT= PL/Tcl procedural language for the PostgreSQL backend
USE_BUILDLINK_ONLY= # defined
BUILDLINK_DEPENDS.postgresql-lib= postgresql-lib>=${PG_BASE_VERS}
DEPENDS+= postgresql-server>=${PG_BASE_VERS}:../../databases/postgresql-server
CONFIGURE_ARGS+= --with-tcl
CONFIGURE_ARGS+= --with-tclconfig="${BUILDLINK_DIR}/lib"
CONFIGURE_ENV+= TCLSH="${TCLSH}"
TCLSH= ${LOCALBASE}/bin/tclsh
DIRS_TO_BUILD= src/pl/tcl
do-build:
.for DIR in ${DIRS_TO_BUILD}
cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} ${MAKE_FLAGS} ${ALL_TARGET}
.endfor
do-install:
.for DIR in ${DIRS_TO_BUILD}
cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET}
.endfor
.include "../../databases/postgresql-lib/buildlink.mk"
.include "../../lang/tcl/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|