diff options
author | joerg <joerg> | 2006-06-06 19:17:05 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-06-06 19:17:05 +0000 |
commit | 030317a296641889e644a43e525387caabd29962 (patch) | |
tree | d7c3a23af5b1c8ef3c96d4af6371590bd247238f /databases/pgaccess | |
parent | b9478d300b4a60a4f1f6d2d183f109c95cc4e064 (diff) | |
download | pkgsrc-030317a296641889e644a43e525387caabd29962.tar.gz |
Remove PostgreSQL 7.3 and pgaccess.
Diffstat (limited to 'databases/pgaccess')
-rw-r--r-- | databases/pgaccess/DESCR | 4 | ||||
-rw-r--r-- | databases/pgaccess/Makefile | 48 | ||||
-rw-r--r-- | databases/pgaccess/PLIST | 300 | ||||
-rw-r--r-- | databases/pgaccess/distinfo | 7 | ||||
-rw-r--r-- | databases/pgaccess/patches/patch-aa | 16 | ||||
-rw-r--r-- | databases/pgaccess/patches/patch-ab | 66 |
6 files changed, 0 insertions, 441 deletions
diff --git a/databases/pgaccess/DESCR b/databases/pgaccess/DESCR deleted file mode 100644 index d14ded3b693..00000000000 --- a/databases/pgaccess/DESCR +++ /dev/null @@ -1,4 +0,0 @@ -PgAccess is a free graphical database management tool for PostgreSQL. It -supports table operations, queries, sequence manipulation, function -definitions for PL/PgSQL and PgTCL, form and report design, and scripting --- all within a Tcl/Tk GUI. diff --git a/databases/pgaccess/Makefile b/databases/pgaccess/Makefile deleted file mode 100644 index 8442c6d768e..00000000000 --- a/databases/pgaccess/Makefile +++ /dev/null @@ -1,48 +0,0 @@ -# $NetBSD: Makefile,v 1.19 2006/03/04 21:29:10 jlam Exp $ -# - -DISTNAME= pgaccess-0.98.8 -PKGREVISION= 2 -CATEGORIES= databases -MASTER_SITES= http://www.pgaccess.org/download/ - -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://www.pgaccess.org/ -COMMENT= Graphical database management tool for PostgreSQL - -DEPENDS+= tk-postgresql73>=7.3.6:../../databases/tk-postgresql73 - -NO_BUILD= yes - -.include "../../mk/bsd.prefs.mk" - -PGTKSH= ${PREFIX}/bin/pgtksh -PGACCESS_HOME= ${PREFIX}/share/pgaccess -HTMLDIR= ${PREFIX}/share/doc/html/pgaccess -EGDIR= ${PREFIX}/share/examples/pgaccess - -INSTALLATION_DIRS= bin - -do-configure: - for file in ${WRKSRC}/pgaccess.tcl; do \ - ${SED} -e "s|@PGTKSH@|${PGTKSH}|g" \ - -e "s|@PGACCESS_HOME@|${PGACCESS_HOME}|g" \ - $$file > $$file.new; \ - ${MV} -f $$file.new $$file; \ - done - -do-install: - ${INSTALL_DATA_DIR} ${PGACCESS_HOME} - ${INSTALL_SCRIPT} ${WRKSRC}/pgaccess.tcl ${PGACCESS_HOME} - ${LN} -sf ${PGACCESS_HOME}/pgaccess.tcl ${PREFIX}/bin/pgaccess - ${CP} -R ${WRKSRC}/images ${PGACCESS_HOME} - ${CP} -R ${WRKSRC}/lib ${PGACCESS_HOME} - ${INSTALL_DATA_DIR} ${HTMLDIR} - ${CP} -R ${WRKSRC}/doc/html/* ${HTMLDIR} - ${INSTALL_DATA_DIR} ${EGDIR} - for file in ${WRKSRC}/demo/*; do \ - ${INSTALL_DATA} $$file ${EGDIR}; \ - done - ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PGACCESS_HOME} ${HTMLDIR} ${EGDIR} - -.include "../../mk/bsd.pkg.mk" diff --git a/databases/pgaccess/PLIST b/databases/pgaccess/PLIST deleted file mode 100644 index bb2709de72f..00000000000 --- a/databases/pgaccess/PLIST +++ /dev/null @@ -1,300 +0,0 @@ -@comment $NetBSD: PLIST,v 1.2 2003/01/11 23:04:11 jlam Exp $ -bin/pgaccess -share/doc/html/pgaccess/a_right.gif -share/doc/html/pgaccess/addindex.gif -share/doc/html/pgaccess/api.html -share/doc/html/pgaccess/ball.gif -share/doc/html/pgaccess/contents.html -share/doc/html/pgaccess/copyright.html -share/doc/html/pgaccess/documentation.html -share/doc/html/pgaccess/download.html -share/doc/html/pgaccess/faq.html -share/doc/html/pgaccess/features.html -share/doc/html/pgaccess/formdemo.sql -share/doc/html/pgaccess/forms.gif -share/doc/html/pgaccess/forms.html -share/doc/html/pgaccess/function.gif -share/doc/html/pgaccess/help.gif -share/doc/html/pgaccess/index.html -share/doc/html/pgaccess/irix.html -share/doc/html/pgaccess/linux1.gif -share/doc/html/pgaccess/maillist.html -share/doc/html/pgaccess/main.html -share/doc/html/pgaccess/mainwindow.gif -share/doc/html/pgaccess/newtable.gif -share/doc/html/pgaccess/newuser.gif -share/doc/html/pgaccess/old_index.html -share/doc/html/pgaccess/permissions.gif -share/doc/html/pgaccess/pg93patch.html -share/doc/html/pgaccess/pga-rad.html -share/doc/html/pgaccess/qbtclet.html -share/doc/html/pgaccess/qbtclet.tcl -share/doc/html/pgaccess/screenshots.html -share/doc/html/pgaccess/specialchars.html -share/doc/html/pgaccess/todo.html -share/doc/html/pgaccess/tutorial/addref.jpg -share/doc/html/pgaccess/tutorial/altern_q.jpg -share/doc/html/pgaccess/tutorial/altern_v.jpg -share/doc/html/pgaccess/tutorial/copyright.html -share/doc/html/pgaccess/tutorial/index.html -share/doc/html/pgaccess/tutorial/intro.html -share/doc/html/pgaccess/tutorial/irix.html -share/doc/html/pgaccess/tutorial/newref.txt -share/doc/html/pgaccess/tutorial/newtable.jpg -share/doc/html/pgaccess/tutorial/newtable.tga -share/doc/html/pgaccess/tutorial/problems.html -share/doc/html/pgaccess/tutorial/screen1.jpg -share/doc/html/pgaccess/tutorial/sel_tbl.jpg -share/doc/html/pgaccess/tutorial/start.html -share/doc/html/pgaccess/tutorial/tut.html -share/doc/html/pgaccess/tutorial/tut_edit.html -share/doc/html/pgaccess/tutorial/tut_new.html -share/doc/html/pgaccess/tutorial/tut_sel1.html -share/doc/html/pgaccess/tutorial/tut_user.html -share/doc/html/pgaccess/vdesigner.gif -share/doc/html/pgaccess/whatsnew.html -share/doc/html/pgaccess/win32.html -share/examples/pgaccess/README.demo -share/examples/pgaccess/formdemo72.sql -share/examples/pgaccess/formdemo73.sql -share/pgaccess/images/icon_button.gif -share/pgaccess/images/icon_checkbutton.gif -share/pgaccess/images/icon_combobox.gif -share/pgaccess/images/icon_entry.gif -share/pgaccess/images/icon_frame.gif -share/pgaccess/images/icon_label.gif -share/pgaccess/images/icon_listbox.gif -share/pgaccess/images/icon_query.gif -share/pgaccess/images/icon_radiobutton.gif -share/pgaccess/images/icon_spinbox.gif -share/pgaccess/images/icon_text.gif -share/pgaccess/lib/connections.tcl -share/pgaccess/lib/database.tcl -share/pgaccess/lib/diagrams.tcl -share/pgaccess/lib/forms.tcl -share/pgaccess/lib/functions.tcl -share/pgaccess/lib/graphs.tcl -share/pgaccess/lib/help.tcl -share/pgaccess/lib/help/abort.hlp -share/pgaccess/lib/help/add_records.hlp -share/pgaccess/lib/help/alter_table.hlp -share/pgaccess/lib/help/alter_user.hlp -share/pgaccess/lib/help/author.hlp -share/pgaccess/lib/help/begin.hlp -share/pgaccess/lib/help/close.hlp -share/pgaccess/lib/help/cluster.hlp -share/pgaccess/lib/help/commit.hlp -share/pgaccess/lib/help/copy.hlp -share/pgaccess/lib/help/copyrights.hlp -share/pgaccess/lib/help/create_aggregate.hlp -share/pgaccess/lib/help/create_database.hlp -share/pgaccess/lib/help/create_function.hlp -share/pgaccess/lib/help/create_index.hlp -share/pgaccess/lib/help/create_language.hlp -share/pgaccess/lib/help/create_operator.hlp -share/pgaccess/lib/help/create_rule.hlp -share/pgaccess/lib/help/create_sequence.hlp -share/pgaccess/lib/help/create_table.hlp -share/pgaccess/lib/help/create_table_as.hlp -share/pgaccess/lib/help/create_trigger.hlp -share/pgaccess/lib/help/create_type.hlp -share/pgaccess/lib/help/create_user.hlp -share/pgaccess/lib/help/create_view.hlp -share/pgaccess/lib/help/data_types.hlp -share/pgaccess/lib/help/datefunc.hlp -share/pgaccess/lib/help/declare.hlp -share/pgaccess/lib/help/delete.hlp -share/pgaccess/lib/help/diagrams.hlp -share/pgaccess/lib/help/drop_aggregate.hlp -share/pgaccess/lib/help/drop_database.hlp -share/pgaccess/lib/help/drop_function.hlp -share/pgaccess/lib/help/drop_index.hlp -share/pgaccess/lib/help/drop_language.hlp -share/pgaccess/lib/help/drop_operator.hlp -share/pgaccess/lib/help/drop_rule.hlp -share/pgaccess/lib/help/drop_sequence.hlp -share/pgaccess/lib/help/drop_table.hlp -share/pgaccess/lib/help/drop_trigger.hlp -share/pgaccess/lib/help/drop_type.hlp -share/pgaccess/lib/help/drop_user.hlp -share/pgaccess/lib/help/drop_view.hlp -share/pgaccess/lib/help/explain.hlp -share/pgaccess/lib/help/fetch.hlp -share/pgaccess/lib/help/form_design.hlp -share/pgaccess/lib/help/forms.hlp -share/pgaccess/lib/help/functions.hlp -share/pgaccess/lib/help/geomfunc.hlp -share/pgaccess/lib/help/grant.hlp -share/pgaccess/lib/help/graphs.hlp -share/pgaccess/lib/help/history.hlp -share/pgaccess/lib/help/index.hlp -share/pgaccess/lib/help/inheritance.hlp -share/pgaccess/lib/help/insert.hlp -share/pgaccess/lib/help/ipv4func.hlp -share/pgaccess/lib/help/isolation.hlp -share/pgaccess/lib/help/keywords.hlp -share/pgaccess/lib/help/listen.hlp -share/pgaccess/lib/help/load.hlp -share/pgaccess/lib/help/lock.hlp -share/pgaccess/lib/help/mathfunc.hlp -share/pgaccess/lib/help/move.hlp -share/pgaccess/lib/help/mvcc.hlp -share/pgaccess/lib/help/new_query.hlp -share/pgaccess/lib/help/new_table.hlp -share/pgaccess/lib/help/newteam.hlp -share/pgaccess/lib/help/notify.hlp -share/pgaccess/lib/help/open_database.hlp -share/pgaccess/lib/help/open_query.hlp -share/pgaccess/lib/help/open_table.hlp -share/pgaccess/lib/help/pgfunctions.hlp -share/pgaccess/lib/help/postgresql.hlp -share/pgaccess/lib/help/queries.hlp -share/pgaccess/lib/help/reports.hlp -share/pgaccess/lib/help/reset.hlp -share/pgaccess/lib/help/revoke.hlp -share/pgaccess/lib/help/rollback.hlp -share/pgaccess/lib/help/scripts.hlp -share/pgaccess/lib/help/select.hlp -share/pgaccess/lib/help/select_into.hlp -share/pgaccess/lib/help/sequences.hlp -share/pgaccess/lib/help/set.hlp -share/pgaccess/lib/help/show.hlp -share/pgaccess/lib/help/sql_guide.hlp -share/pgaccess/lib/help/sqlfunc.hlp -share/pgaccess/lib/help/stringfunc.hlp -share/pgaccess/lib/help/tables.hlp -share/pgaccess/lib/help/unlisten.hlp -share/pgaccess/lib/help/update.hlp -share/pgaccess/lib/help/users.hlp -share/pgaccess/lib/help/vacuum.hlp -share/pgaccess/lib/help/view_table_structure.hlp -share/pgaccess/lib/help/views.hlp -share/pgaccess/lib/help/visual_designer.hlp -share/pgaccess/lib/help/y2k.hlp -share/pgaccess/lib/importexport.tcl -share/pgaccess/lib/languages/chinese_big5 -share/pgaccess/lib/languages/chinese_gb -share/pgaccess/lib/languages/czech -share/pgaccess/lib/languages/deutsch -share/pgaccess/lib/languages/euskara -share/pgaccess/lib/languages/francais -share/pgaccess/lib/languages/italiano -share/pgaccess/lib/languages/japanese -share/pgaccess/lib/languages/magyar -share/pgaccess/lib/languages/nederlands -share/pgaccess/lib/languages/portugues -share/pgaccess/lib/languages/romana -share/pgaccess/lib/languages/russian.koi8r -share/pgaccess/lib/languages/russian_win -share/pgaccess/lib/languages/spanish -share/pgaccess/lib/mainlib.tcl -share/pgaccess/lib/plugins/pgmonitor.tcl -share/pgaccess/lib/preferences.tcl -share/pgaccess/lib/printer.tcl -share/pgaccess/lib/queries.tcl -share/pgaccess/lib/reports.tcl -share/pgaccess/lib/scripts.tcl -share/pgaccess/lib/sequences.tcl -share/pgaccess/lib/stack.tcl -share/pgaccess/lib/syntax.tcl -share/pgaccess/lib/tables.tcl -share/pgaccess/lib/users.tcl -share/pgaccess/lib/views.tcl -share/pgaccess/lib/visualqb.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/arrow.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/bitmap.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/button.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/buttonbox.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/color.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/combobox.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/dialog.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/dragsite.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/dropsite.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/dynhelp.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/entry.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/font.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/images/bold.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/copy.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/cut.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/dragfile.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/dragicon.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/error.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/file.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/folder.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/hourglass.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/info.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/italic.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/minus.xbm -share/pgaccess/lib/widgets/BWidget-1.4.1/images/new.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/opcopy.xbm -share/pgaccess/lib/widgets/BWidget-1.4.1/images/open.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/openfold.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/oplink.xbm -share/pgaccess/lib/widgets/BWidget-1.4.1/images/opmove.xbm -share/pgaccess/lib/widgets/BWidget-1.4.1/images/overstrike.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/palette.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/passwd.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/paste.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/plus.xbm -share/pgaccess/lib/widgets/BWidget-1.4.1/images/print.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/question.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/redo.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/save.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/target.xbm -share/pgaccess/lib/widgets/BWidget-1.4.1/images/underline.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/undo.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/images/warning.gif -share/pgaccess/lib/widgets/BWidget-1.4.1/init.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/label.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/labelentry.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/labelframe.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/lang/de.rc -share/pgaccess/lib/widgets/BWidget-1.4.1/lang/en.rc -share/pgaccess/lib/widgets/BWidget-1.4.1/lang/es.rc -share/pgaccess/lib/widgets/BWidget-1.4.1/lang/fr.rc -share/pgaccess/lib/widgets/BWidget-1.4.1/listbox.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/mainframe.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/messagedlg.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/notebook.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/pagesmgr.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/panedw.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/passwddlg.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/pkgIndex.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/progressbar.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/progressdlg.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/scrollframe.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/scrollview.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/scrollw.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/separator.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/spinbox.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/titleframe.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/tree.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/utils.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/widget.tcl -share/pgaccess/lib/widgets/BWidget-1.4.1/xpm2image.tcl -share/pgaccess/lib/widgets/icons1.0/LICENSE -share/pgaccess/lib/widgets/icons1.0/icons.tcl -share/pgaccess/lib/widgets/icons1.0/pkgIndex.tcl -share/pgaccess/lib/widgets/icons1.0/tkIcons -share/pgaccess/lib/widgets/icons1.0/tkIcons-sample.slick -share/pgaccess/lib/widgets/tablelist2.7/pkgIndex.tcl -share/pgaccess/lib/widgets/tablelist2.7/scripts/mwutil.tcl -share/pgaccess/lib/widgets/tablelist2.7/scripts/tablelistSortByColumn.tcl -share/pgaccess/lib/widgets/tablelist2.7/scripts/tablelistWidget.tcl -share/pgaccess/lib/widgets/tablelist2.7/scripts/tclIndex -share/pgaccess/lib/widgets/tablelist2.7/tablelist.tcl -share/pgaccess/pgaccess.tcl -@dirrm share/pgaccess/lib/widgets/tablelist2.7/scripts -@dirrm share/pgaccess/lib/widgets/tablelist2.7 -@dirrm share/pgaccess/lib/widgets/icons1.0 -@dirrm share/pgaccess/lib/widgets/BWidget-1.4.1/lang -@dirrm share/pgaccess/lib/widgets/BWidget-1.4.1/images -@dirrm share/pgaccess/lib/widgets/BWidget-1.4.1 -@dirrm share/pgaccess/lib/widgets -@dirrm share/pgaccess/lib/plugins -@dirrm share/pgaccess/lib/languages -@dirrm share/pgaccess/lib/help -@dirrm share/pgaccess/lib -@dirrm share/examples/pgaccess -@dirrm share/doc/html/pgaccess/tutorial -@dirrm share/doc/html/pgaccess diff --git a/databases/pgaccess/distinfo b/databases/pgaccess/distinfo deleted file mode 100644 index d67cdd16a3b..00000000000 --- a/databases/pgaccess/distinfo +++ /dev/null @@ -1,7 +0,0 @@ -$NetBSD: distinfo,v 1.5 2005/02/23 16:33:08 agc Exp $ - -SHA1 (pgaccess-0.98.8.tar.gz) = c02d6b0f014931101b864c6f2d2da2b2552aa6be -RMD160 (pgaccess-0.98.8.tar.gz) = 7827ae7ddfef432bde237ca94bf086ca738d4c2a -Size (pgaccess-0.98.8.tar.gz) = 862387 bytes -SHA1 (patch-aa) = 0a24cb462d7dd9816b657df4483c46a4eba27b79 -SHA1 (patch-ab) = 007d1c407f418f087871e686568c6fdfacc5ca1d diff --git a/databases/pgaccess/patches/patch-aa b/databases/pgaccess/patches/patch-aa deleted file mode 100644 index 712543e911b..00000000000 --- a/databases/pgaccess/patches/patch-aa +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-aa,v 1.2 2003/01/11 23:04:12 jlam Exp $ - ---- Makefile.orig Wed Aug 28 09:11:22 2002 -+++ Makefile -@@ -7,9 +7,8 @@ - # - #------------------------------------------------------------------------- - --bindir = /usr/bin/X11 --libdir = /usr/lib/pgaccess --wish = /usr/bin/wish -+bindir = ${PREFIX}/bin -+libdir = ${PREFIX}/lib/pgaccess - - pgaccess: - chmod a+x pgaccess.tcl diff --git a/databases/pgaccess/patches/patch-ab b/databases/pgaccess/patches/patch-ab deleted file mode 100644 index 565840ed076..00000000000 --- a/databases/pgaccess/patches/patch-ab +++ /dev/null @@ -1,66 +0,0 @@ -$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 "" |