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:
parent
f1af018522
commit
e38ea31921
5 changed files with 59 additions and 0 deletions
2
databases/tcl-postgresql74/DESCR
Normal file
2
databases/tcl-postgresql74/DESCR
Normal file
|
@ -0,0 +1,2 @@
|
|||
Tcl interface to PostgreSQL, including front-end clients and a loadable
|
||||
shared object for Tcl clients.
|
26
databases/tcl-postgresql74/Makefile
Normal file
26
databases/tcl-postgresql74/Makefile
Normal 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"
|
8
databases/tcl-postgresql74/PLIST
Normal file
8
databases/tcl-postgresql74/PLIST
Normal 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
|
20
databases/tcl-postgresql74/buildlink3.mk
Normal file
20
databases/tcl-postgresql74/buildlink3.mk
Normal 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/+$//}
|
3
databases/tcl-postgresql74/files/man.tcl
Normal file
3
databases/tcl-postgresql74/files/man.tcl
Normal file
|
@ -0,0 +1,3 @@
|
|||
# $NetBSD: man.tcl,v 1.1.1.1 2005/04/29 13:58:04 gson Exp $
|
||||
#
|
||||
man1/pgtclsh.1
|
Loading…
Reference in a new issue