26 lines
783 B
Makefile
26 lines
783 B
Makefile
# $NetBSD: Makefile,v 1.10 2006/06/16 09:12:35 rillig Exp $
|
|
|
|
PKGNAME= tcl-postgresql74-${BASE_VERS}
|
|
COMMENT= Tcl interface to PostgreSQL
|
|
|
|
.include "../../databases/postgresql74/Makefile.common"
|
|
|
|
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
|
|
CONFIGURE_ARGS+= --with-tcl
|
|
CONFIGURE_ARGS+= --with-tclconfig="${BUILDLINK_PREFIX.tcl}/lib"
|
|
CONFIGURE_ENV+= TCLSH=${TCLSH:Q}
|
|
TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
|
|
MAKE_ENV+= INSTALLED_LIBPQ=1
|
|
|
|
BUILD_DIRS= src/port
|
|
BUILD_DIRS+= src/interfaces/libpgtcl
|
|
BUILD_DIRS+= src/bin/pgtclsh
|
|
|
|
post-install:
|
|
cd ${PREFIX}/man && ${TAR} -zxf ${WRKSRC}/doc/man.tar.gz \
|
|
`${SED} -e "s|#.*||" ${FILESDIR}/man.tcl`
|
|
|
|
.include "../../databases/postgresql74-lib/buildlink3.mk"
|
|
.include "../../lang/tcl/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|