# $NetBSD: Makefile,v 1.12 2005/12/05 23:55:05 rillig Exp $ PKGNAME= tk-postgresql73-${BASE_VERS} PKGREVISION= 1 COMMENT= Tk interface to PostgreSQL .include "../../databases/postgresql73/Makefile.common" USE_TOOLS+= gtar CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q} 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:Q} TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh MAKE_ENV+= INSTALLED_LIBPQ=1 INSTALLED_LIBPGTCL=1 BUILD_DIRS= ${WRKSRC}/src/port BUILD_DIRS+= ${WRKSRC}/src/bin/pgtclsh INSTALL_DIRS= ${WRKSRC}/src/bin/pgtclsh 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"