import pgtcl 1.5

tcl interface to postgresql

submitted by Valery Masiutsin (val.masutin at gmail)
This commit is contained in:
steven 2007-10-13 08:54:02 +00:00
parent b256df2a4c
commit 1286751267
5 changed files with 121 additions and 0 deletions

45
databases/pgtcl/Makefile Normal file
View File

@ -0,0 +1,45 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/10/13 08:54:02 steven Exp $
SHARED_ONLY= Yes
COMMENT= Tcl interface to PostgreSQL
V= 1.5
DISTNAME= pgtcl$V
PKGNAME= pgtcl-$V
SHARED_LIBS= pgtcl 0.0
CATEGORIES= databases
HOMEPAGE= http://pgfoundry.org/projects/pgtcl/
MAINTAINER= Valery Masiutsin <val.masutin@gmail.com>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://pgfoundry.org/frs/download.php/338/
TCL_VERSION= 8.4
LIB_DEPENDS= pq.>=5:postgresql-client-*:databases/postgresql
RUN_DEPENDS= :tcl-${TCL_VERSION}.*:lang/tcl/${TCL_VERSION}
BUILD_DEPENDS= ${RUN_DEPENDS}
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-tcl=${LOCALBASE}/lib/tcl${TCL_VERSION} \
--with-tclinclude=${LOCALBASE}/include/tcl${TCL_VERSION} \
--with-postgres-include=${LOCALBASE}/include/postgresql \
--with-postgres-lib=${LOCALBASE}/lib
MAKE_FLAGS= PKG_LIB_FILE=libpgtcl.so.${LIBpgtcl_VERSION}
FAKE_FLAGS= ${MAKE_FLAGS} DESTDIR=${DESTDIR}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pgtcl/html
${INSTALL_DATA} ${WRKSRC}/doc/html/* ${PREFIX}/share/doc/pgtcl/html
${INSTALL_DATA} ${WRKSRC}/doc/libpgtcl.pdf ${PREFIX}/share/doc/pgtcl
.include <bsd.port.mk>

5
databases/pgtcl/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (pgtcl1.5.tar.gz) = bu0cM4/Du3qER5fJK3m5Ng==
RMD160 (pgtcl1.5.tar.gz) = 8ZgGbFOKlWb5BE6ImUI+4x4SM0k=
SHA1 (pgtcl1.5.tar.gz) = jSvlN8EjEAq08abdwRaE/U4MzSM=
SHA256 (pgtcl1.5.tar.gz) = uu3doB9SED9X4mXrse1ZROiA74F3aQOJefatzOMzhaI=
SIZE (pgtcl1.5.tar.gz) = 486901

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2007/10/13 08:54:02 steven Exp $
--- Makefile.in.orig Mon Jun 13 23:02:03 2005
+++ Makefile.in Sun Sep 16 22:33:09 2007
@@ -167,7 +167,7 @@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(
# for the BINARIES that you specified above have already been done.
#========================================================================
-all: binaries libraries doc
+all: binaries libraries
#========================================================================
# The binaries target builds executable programs, Windows .dll's, unix
@@ -186,7 +186,7 @@ doc:
@echo " xml2nroff sample.xml > sample.n"
@echo " xml2html sample.xml > sample.html"
-install: all install-binaries install-libraries install-doc
+install: all install-binaries install-libraries
install-binaries: binaries install-lib-binaries install-bin-binaries

View File

@ -0,0 +1,2 @@
This package provides Tcl bindings to the PostgreSQL client library,
which is used to communicate with a PostreSQL server.

48
databases/pgtcl/pkg/PLIST Normal file
View File

@ -0,0 +1,48 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/10/13 08:54:02 steven Exp $
include/libpgtcl.h
lib/pgtcl1.5/
@lib lib/pgtcl1.5/libpgtcl.so.${LIBpgtcl_VERSION}
lib/pgtcl1.5/pgtcl.tcl
lib/pgtcl1.5/pkgIndex.tcl
share/doc/pgtcl/
share/doc/pgtcl/html/
share/doc/pgtcl/html/index.html
share/doc/pgtcl/html/libpgtcl-loading.html
share/doc/pgtcl/html/libpgtcl-ref.html
share/doc/pgtcl/html/libpgtcl.html
share/doc/pgtcl/html/pgtcl-commandhandles.html
share/doc/pgtcl/html/pgtcl-examplesect.html
share/doc/pgtcl/html/pgtcl-pgblocking.html
share/doc/pgtcl/html/pgtcl-pgcancelrequest.html
share/doc/pgtcl/html/pgtcl-pgconndefaults.html
share/doc/pgtcl/html/pgtcl-pgconnect.html
share/doc/pgtcl/html/pgtcl-pgconninfo.html
share/doc/pgtcl/html/pgtcl-pgdisconnect.html
share/doc/pgtcl/html/pgtcl-pgescape-bytea.html
share/doc/pgtcl/html/pgtcl-pgescape-string.html
share/doc/pgtcl/html/pgtcl-pgexec.html
share/doc/pgtcl/html/pgtcl-pgexecprepared.html
share/doc/pgtcl/html/pgtcl-pgexecute.html
share/doc/pgtcl/html/pgtcl-pggetresult.html
share/doc/pgtcl/html/pgtcl-pgisbusy.html
share/doc/pgtcl/html/pgtcl-pglisten.html
share/doc/pgtcl/html/pgtcl-pgloclose.html
share/doc/pgtcl/html/pgtcl-pglocreat.html
share/doc/pgtcl/html/pgtcl-pgloexport.html
share/doc/pgtcl/html/pgtcl-pgloimport.html
share/doc/pgtcl/html/pgtcl-pglolseek.html
share/doc/pgtcl/html/pgtcl-pgloopen.html
share/doc/pgtcl/html/pgtcl-pgloread.html
share/doc/pgtcl/html/pgtcl-pglotell.html
share/doc/pgtcl/html/pgtcl-pglounlink.html
share/doc/pgtcl/html/pgtcl-pglowrite.html
share/doc/pgtcl/html/pgtcl-pgon-connection-loss.html
share/doc/pgtcl/html/pgtcl-pgresult.html
share/doc/pgtcl/html/pgtcl-pgresults.html
share/doc/pgtcl/html/pgtcl-pgselect.html
share/doc/pgtcl/html/pgtcl-pgsendquery.html
share/doc/pgtcl/html/pgtcl-pgsendqueryprepared.html
share/doc/pgtcl/html/pgtcl-pgunescape-bytea.html
share/doc/pgtcl/html/pgtcl-quote.html
share/doc/pgtcl/html/pgtcl-tclnamespace.html
share/doc/pgtcl/libpgtcl.pdf