Tcl interface to PostgreSQL, including front-end clients and a loadable

shared object for Tcl clients.

This is based on, and almost identical to, the tcl-postgresql73 package,
but for PostgreSQL 7.4 rather than 7.3.
This commit is contained in:
gson 2005-04-29 13:58:04 +00:00
parent f1af018522
commit e38ea31921
5 changed files with 59 additions and 0 deletions

View file

@ -0,0 +1,2 @@
Tcl interface to PostgreSQL, including front-end clients and a loadable
shared object for Tcl clients.

View file

@ -0,0 +1,26 @@
# $NetBSD: Makefile,v 1.1.1.1 2005/04/29 13:58:04 gson Exp $
PKGNAME= tcl-postgresql74-${BASE_VERS}
COMMENT= Tcl interface to PostgreSQL
.include "../postgresql74/Makefile.common"
CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
CONFIGURE_ARGS+= --with-tcl
CONFIGURE_ARGS+= --with-tclconfig="${BUILDLINK_PREFIX.tcl}/lib"
CONFIGURE_ENV+= TCLSH="${TCLSH}"
TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
MAKE_ENV+= INSTALLED_LIBPQ=1
BUILD_DIRS= ${WRKSRC}/src/port
BUILD_DIRS+= ${WRKSRC}/src/interfaces/libpgtcl
BUILD_DIRS+= ${WRKSRC}/src/bin/pgtclsh
post-install:
${GTAR} zxCf ${PREFIX}/man ${WRKSRC}/doc/man.tar.gz \
`${SED} -e "s|#.*||" ${FILESDIR}/man.tcl`
.include "../postgresql74-lib/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,8 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2005/04/29 13:58:04 gson Exp $
bin/pgtclsh
include/libpgtcl.h
lib/libpgtcl.a
lib/libpgtcl.so
lib/libpgtcl.so.2
lib/libpgtcl.so.2.4
man/man1/pgtclsh.1

View file

@ -0,0 +1,20 @@
# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/04/29 13:58:04 gson Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TCL_POSTGRESQL73_BUILDLINK3_MK:= ${TCL_POSTGRESQL73_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= tcl-postgresql73
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntcl-postgresql73}
BUILDLINK_PACKAGES+= tcl-postgresql73
.if !empty(TCL_POSTGRESQL73_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.tcl-postgresql73+= tcl-postgresql73>=7.3.6
BUILDLINK_PKGSRCDIR.tcl-postgresql73?= ../../databases/tcl-postgresql73
.endif # TCL_POSTGRESQL73_BUILDLINK3_MK
.include "../../lang/tcl/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}

View file

@ -0,0 +1,3 @@
# $NetBSD: man.tcl,v 1.1.1.1 2005/04/29 13:58:04 gson Exp $
#
man1/pgtclsh.1