33 lines
1 KiB
Makefile
33 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.13 2006/02/05 23:08:38 joerg Exp $
|
|
|
|
PKGNAME= tk-postgresql73-${BASE_VERS}
|
|
PKGREVISION= 2
|
|
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"
|