This is a port of the Tcl/Tk stuff in the postgresql-7.2
distribution. It includes pgtclsh, pgtksh and also the infamous pgaccess GUI. PR: ports/34860 Submitted by: Palle Girgensohn <girgen@partitur.se>
This commit is contained in:
parent
03b1c588de
commit
d90bc6b5b2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54899
@ -95,6 +95,7 @@
|
||||
SUBDIR += postgresql-odbc
|
||||
SUBDIR += postgresql-plruby
|
||||
SUBDIR += postgresql-pltcl
|
||||
SUBDIR += postgresql-tcltk
|
||||
SUBDIR += postgresql7
|
||||
SUBDIR += pxtools
|
||||
SUBDIR += py-MySQL
|
||||
|
63
databases/postgresql-tcltk/Makefile
Normal file
63
databases/postgresql-tcltk/Makefile
Normal file
@ -0,0 +1,63 @@
|
||||
# New ports collection makefile for: PostgreSQL JDBC
|
||||
# Date created: January 14, 2002
|
||||
# Whom: Palle Girgensohn <girgen@partitur.se>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= postgresql-tcltk
|
||||
PORTVERSION= 7.2
|
||||
CATEGORIES= databases tcl83 tk83
|
||||
|
||||
MAINTAINER= girgen@partitur.se
|
||||
|
||||
POSTGRESQL_SUBPORT=YES
|
||||
.include <${.CURDIR}/../postgresql7/Makefile>
|
||||
|
||||
LIB_DEPENDS= tcl${TCLVERSION:S/.//}:${PORTSDIR}/lang/tcl${TCLVERSION:S/.//} \
|
||||
pq:${PORTSDIR}/databases/postgresql7
|
||||
|
||||
# you can use "make TCLVERSION=8.4" or similar for your favourite tcl version
|
||||
TCLVERSION?= 8.3
|
||||
PLIST_SUB+= TCLVERSION=${TCLVERSION}
|
||||
CONFIGURE_ARGS= --with-tcl \
|
||||
--with-tclconfig=${TCLCONFIG} \
|
||||
--with-includes=${INCDIRS}
|
||||
|
||||
TCL_INCDIR= ${LOCALBASE}/include/tcl${TCLVERSION}
|
||||
TCLCONFIG= ${LOCALBASE}/lib/tcl${TCLVERSION}
|
||||
MAKE_ENV+= TCL_INCDIR=${TCL_INCDIR}
|
||||
|
||||
.if defined(WITHOUT_TK)
|
||||
CONFIGURE_ARGS+= --without-tk
|
||||
INCDIRS= ${TCL_INCDIR}
|
||||
PLIST_SUB+= TK="@comment "
|
||||
.else
|
||||
CONFIGURE_ARGS+= --with-tkconfig="${TKCONFIG}"
|
||||
TK_INCDIR= ${LOCALBASE}/include/tk${TCLVERSION}
|
||||
CONFIGURE_ENV+= WISH=${LOCALBASE}/bin/wish${TCLVERSION}
|
||||
LIB_DEPENDS+= tk${TCLVERSION:S/.//}:${PORTSDIR}/x11-toolkits/tk${TCLVERSION:S/.//}
|
||||
TKCONFIG= ${LOCALBASE}/lib/tk${TCLVERSION}
|
||||
INCDIRS= ${TCL_INCDIR}:${TK_INCDIR}
|
||||
PLIST_SUB+= TK=""
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
@ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/bin/pgtclsh
|
||||
@ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/interfaces/libpgtcl
|
||||
.if !defined(WITHOUT_TK)
|
||||
@ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/bin/pgaccess
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/bin/pgtclsh install
|
||||
@ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/interfaces/libpgtcl install
|
||||
.if !defined(WITHOUT_TK)
|
||||
@ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/bin/pgaccess install
|
||||
.endif
|
||||
# Preparing a loadable TCL-package (pkgIndex.tcl)
|
||||
@${MKDIR} ${PREFIX}/lib/tcl${TCLVERSION}/Pgtcl1.3
|
||||
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/pkgIndex.tcl.in \
|
||||
> ${PREFIX}/lib/tcl${TCLVERSION}/Pgtcl1.3/pkgIndex.tcl
|
||||
|
||||
.include <bsd.port.mk>
|
4
databases/postgresql-tcltk/files/pkgIndex.tcl.in
Normal file
4
databases/postgresql-tcltk/files/pkgIndex.tcl.in
Normal file
@ -0,0 +1,4 @@
|
||||
# Package-index file for Pgtcl-package. Enables you to load PostgreSQL
|
||||
# interface functions right into you TCL-interpreter as simply as
|
||||
# package require Pgtcl
|
||||
package ifneeded Pgtcl 1.3 "load %%PREFIX%%/lib/libpgtcl.so"
|
1
databases/postgresql-tcltk/pkg-comment
Normal file
1
databases/postgresql-tcltk/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
An TCL interface to the database PostgreSQL, including a tk GUI
|
8
databases/postgresql-tcltk/pkg-descr
Normal file
8
databases/postgresql-tcltk/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
libpgtcl is a library that implements Tcl commands for front-end
|
||||
clients to interact with the Postgresql backends.
|
||||
|
||||
pgaccess is a great graphical database management tool for PostgreSQL.
|
||||
|
||||
This software is part of the standard PostgreSQL distribution.
|
||||
|
||||
WWW: http://www.postgresql.org/
|
148
databases/postgresql-tcltk/pkg-plist
Normal file
148
databases/postgresql-tcltk/pkg-plist
Normal file
@ -0,0 +1,148 @@
|
||||
bin/pgtclsh
|
||||
include/libpgtcl.h
|
||||
lib/tcl%%TCLVERSION%%/Pgtcl1.3/pkgIndex.tcl
|
||||
@dirrm lib/tcl%%TCLVERSION%%/Pgtcl1.3
|
||||
lib/libpgtcl.a
|
||||
lib/libpgtcl.so
|
||||
lib/libpgtcl.so.2
|
||||
%%TK%%bin/pgtksh
|
||||
%%TK%%bin/pgaccess
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/abort.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/add_records.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/alter_table.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/alter_user.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/author.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/begin.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/close.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/cluster.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/commit.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/copy.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/copyrights.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/create_aggregate.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/create_database.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/create_function.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/create_index.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/create_language.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/create_operator.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/create_rule.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/create_sequence.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/create_table.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/create_table_as.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/create_trigger.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/create_type.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/create_user.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/create_view.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/data_types.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/datefunc.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/declare.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/delete.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/drop_aggregate.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/drop_database.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/drop_function.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/drop_index.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/drop_language.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/drop_operator.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/drop_rule.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/drop_sequence.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/drop_table.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/drop_trigger.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/drop_type.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/drop_user.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/drop_view.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/explain.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/fetch.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/form_design.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/forms.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/functions.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/geomfunc.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/grant.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/history.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/index.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/inheritance.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/insert.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/ipv4func.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/isolation.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/keywords.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/listen.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/load.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/lock.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/mathfunc.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/move.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/mvcc.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/new_query.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/new_table.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/notify.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/open_query.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/open_table.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/pgfunctions.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/postgresql.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/queries.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/reports.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/reset.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/revoke.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/rollback.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/schema.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/scripts.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/select.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/select_into.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/sequences.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/set.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/show.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/sql_guide.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/sqlfunc.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/stringfunc.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/tables.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/unlisten.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/update.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/users.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/vacuum.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/view_table_structure.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/views.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/visual_designer.hlp
|
||||
%%TK%%share/postgresql/pgaccess/lib/help/y2k.hlp
|
||||
%%TK%%@dirrm share/postgresql/pgaccess/lib/help
|
||||
%%TK%%share/postgresql/pgaccess/lib/languages/chinese_big5
|
||||
%%TK%%share/postgresql/pgaccess/lib/languages/chinese_gb
|
||||
%%TK%%share/postgresql/pgaccess/lib/languages/czech
|
||||
%%TK%%share/postgresql/pgaccess/lib/languages/deutsch
|
||||
%%TK%%share/postgresql/pgaccess/lib/languages/euskara
|
||||
%%TK%%share/postgresql/pgaccess/lib/languages/francais
|
||||
%%TK%%share/postgresql/pgaccess/lib/languages/italiano
|
||||
%%TK%%share/postgresql/pgaccess/lib/languages/japanese
|
||||
%%TK%%share/postgresql/pgaccess/lib/languages/magyar
|
||||
%%TK%%share/postgresql/pgaccess/lib/languages/nederlands
|
||||
%%TK%%share/postgresql/pgaccess/lib/languages/portugues
|
||||
%%TK%%share/postgresql/pgaccess/lib/languages/romana
|
||||
%%TK%%share/postgresql/pgaccess/lib/languages/russian.koi8r
|
||||
%%TK%%share/postgresql/pgaccess/lib/languages/russian_win
|
||||
%%TK%%share/postgresql/pgaccess/lib/languages/spanish
|
||||
%%TK%%@dirrm share/postgresql/pgaccess/lib/languages
|
||||
%%TK%%share/postgresql/pgaccess/lib/database.tcl
|
||||
%%TK%%share/postgresql/pgaccess/lib/forms.tcl
|
||||
%%TK%%share/postgresql/pgaccess/lib/functions.tcl
|
||||
%%TK%%share/postgresql/pgaccess/lib/help.tcl
|
||||
%%TK%%share/postgresql/pgaccess/lib/mainlib.tcl
|
||||
%%TK%%share/postgresql/pgaccess/lib/preferences.tcl
|
||||
%%TK%%share/postgresql/pgaccess/lib/queries.tcl
|
||||
%%TK%%share/postgresql/pgaccess/lib/reports.tcl
|
||||
%%TK%%share/postgresql/pgaccess/lib/schema.tcl
|
||||
%%TK%%share/postgresql/pgaccess/lib/scripts.tcl
|
||||
%%TK%%share/postgresql/pgaccess/lib/sequences.tcl
|
||||
%%TK%%share/postgresql/pgaccess/lib/tables.tcl
|
||||
%%TK%%share/postgresql/pgaccess/lib/users.tcl
|
||||
%%TK%%share/postgresql/pgaccess/lib/views.tcl
|
||||
%%TK%%share/postgresql/pgaccess/lib/visualqb.tcl
|
||||
%%TK%%@dirrm share/postgresql/pgaccess/lib
|
||||
%%TK%%share/postgresql/pgaccess/images/icon_button.gif
|
||||
%%TK%%share/postgresql/pgaccess/images/icon_checkbutton.gif
|
||||
%%TK%%share/postgresql/pgaccess/images/icon_entry.gif
|
||||
%%TK%%share/postgresql/pgaccess/images/icon_frame.gif
|
||||
%%TK%%share/postgresql/pgaccess/images/icon_label.gif
|
||||
%%TK%%share/postgresql/pgaccess/images/icon_listbox.gif
|
||||
%%TK%%share/postgresql/pgaccess/images/icon_query.gif
|
||||
%%TK%%share/postgresql/pgaccess/images/icon_radiobutton.gif
|
||||
%%TK%%share/postgresql/pgaccess/images/icon_text.gif
|
||||
%%TK%%@dirrm share/postgresql/pgaccess/images
|
||||
%%TK%%share/postgresql/pgaccess/main.tcl
|
||||
%%TK%%@dirrm share/postgresql/pgaccess
|
||||
%%TK%%@unexec rmdir %D/share/postgresql 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user