head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.34 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.32 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.30 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.28 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.26 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.24 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.22 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.20 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.18 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.16 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.14 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.12 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.10 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.8 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.6 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.4 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.2 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.2.0.22 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.20 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.18 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.16 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.14 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.12 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.10 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.8 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.6 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.4 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.2.0.2 netbsd-1-6-1-base:1.2 netbsd-1-6:1.1.1.1.0.8 netbsd-1-6-RELEASE-base:1.1.1.1 pkgviews:1.1.1.1.0.4 pkgviews-base:1.1.1.1 buildlink2:1.1.1.1.0.2 buildlink2-base:1.1.1.1 netbsd-1-5-PATCH003:1.1.1.1 netbsd-1-5-PATCH001:1.1.1.1 netbsd-1-5-RELEASE:1.1.1.1 netbsd-1-4-PATCH003:1.1.1.1 netbsd-1-4-PATCH002:1.1.1.1 comdex-fall-1999:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.3 date 2006.06.06.19.17.06; author joerg; state dead; branches; next 1.2; 1.2 date 2003.01.11.23.04.12; author jlam; state Exp; branches; next 1.1; 1.1 date 99.09.21.19.12.52; author jlam; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.09.21.19.12.52; author jlam; state Exp; branches; next ; desc @@ 1.3 log @Remove PostgreSQL 7.3 and pgaccess. @ text @$NetBSD: patch-ab,v 1.2 2003/01/11 23:04:12 jlam Exp $ --- pgaccess.tcl.orig Sun Dec 1 19:57:56 2002 +++ pgaccess.tcl @@@@ -12,5 +12,5 @@@@ fi # the next line restarts using wish \ -exec wish "$0" "$@@" +exec @@PGTKSH@@ "$0" "$@@" #------------------------------------------------------------ @@@@ -34,19 +34,12 @@@@ switch $tcl_platform(platform) { puts $fid "" - puts $fid "# path to libpgtcl" - if {![info exists env(PGLIB)]} { - set env(PGLIB) "/usr/lib" - } - puts $fid "PGLIB=$env(PGLIB)" - puts $fid "" - puts $fid "# pgaccess home directory" if {![info exists env(PGACCESS_HOME)]} { - set env(PGACCESS_HOME) "/usr/lib/pgaccess" + set env(PGACCESS_HOME) "@@PGACCESS_HOME@@" } puts $fid "PGACCESS_HOME=$env(PGACCESS_HOME)" puts $fid "" - puts $fid "export PGLIB PGACCESS_HOME" + puts $fid "export PGACCESS_HOME" close $fid puts "done" @@@@ -299,32 +292,4 @@@@ global PgAcVar CurrentDB proc {main} {argc argv} { global PgAcVar CurrentDB tcl_platform env - if {[info exists env(PGLIB)]} { - set libpgtclpath [file join $env(PGLIB) libpgtcl] - } else { - puts "PGLIB enviroment variable is not set, setting it to 'libpgtcl'." - set libpgtclpath {libpgtcl} - } - - set shlib ${libpgtclpath}[info sharedlibextension] - - if {![file exists $shlib]} { - puts "\nError: Shared library file: '$shlib' does not exist. \n\ - Check this file, or check PGLIB variable (in pgaccessrc)\n" - - exit - } - - if {[catch {load $shlib} err]} { - puts "Error: can not load $shlib shared library." - puts "You need to make sure that the library exists and" - puts "the environment variable PGLIB points to the directory" - puts "where it is located.\n" - puts "If you use Windows, be sure that the needed libpgtcl.dll" - puts "and libpq.dll files are copied in the Windows/System" - puts "directory" - puts "\nERROR MESSAGE: $err\n" - exit - } - set tdb "" set thost "" @ 1.2 log @Updated databases/pgaccess to 0.98.8. Major changes from version 0.98.7 include: * Completely redesigned interface, brighter and full of helpful icons and better widgets. * Connect to multiple databases on different hosts in one instance of the program. Forms, Reports, Queries, Scripts, and Diagrams can be copied between clusters. * Syntax highlighting. * Forms took a leap, with a snappy grid, more widgets, more fonts, more colors, simpler data source connection, tab order modification, and a removal of the 8k barrier. * The PgMonitor program was pulled under the umbrella, and can be run as a plugin from the main window menu. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Initial revision @ text @d3 3 a5 4 --- ./pgaccess.in.orig Wed Aug 25 10:10:36 1999 +++ ./pgaccess.in Tue Sep 21 15:00:49 1999 @@@@ -1,7 +1,7 @@@@ #!/bin/sh d7 3 a9 4 -PATH_TO_WISH=/usr/bin/wish -PGACCESS_HOME=/usr/local/pgaccess +PATH_TO_WISH=@@PGTKSH@@ +PGACCESS_HOME=@@PGACCESS_HOME@@ d11 56 a66 2 export PATH_TO_WISH export PGACCESS_HOME @ 1.1.1.1 log @PgAccess -- a free graphical database management tool for PostgreSQL @ text @@