blob: 40d365c8b33d29f356d41bc9624cf6672edc7a5d (
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
|
# $NetBSD: Makefile,v 1.3 2004/12/03 15:14:53 wiz Exp $
PKGNAME= tk-postgresql73-${BASE_VERS}
PKGREVISION= 1
COMMENT= Tk interface to PostgreSQL
USE_BUILDLINK3= yes
.include "../postgresql73/Makefile.common"
USE_X11= yes
CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
CONFIGURE_ARGS+= --with-tcl
CONFIGURE_ARGS+= --with-tk
CONFIGURE_ARGS+= --with-tclconfig=${BUILDLINK_PREFIX.tcl}/lib
CONFIGURE_ARGS+= --with-tkconfig=${BUILDLINK_PREFIX.tk}/lib
CONFIGURE_ENV+= TCLSH="${TCLSH}"
TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
MAKE_ENV+= INSTALLED_LIBPQ=1 INSTALLED_LIBPGTCL=1
BUILD_DIRS= ${WRKSRC}/src/bin/pgtclsh
BUILD_TARGET= pgtksh
INSTALL_TARGET= install-tk
post-install:
${GTAR} zxCf ${PREFIX}/man ${WRKSRC}/doc/man.tar.gz \
`${SED} -e "s|#.*||" ${FILESDIR}/man.tk`
.include "../../databases/postgresql73-lib/buildlink3.mk"
.include "../../databases/tcl-postgresql73/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|