summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>1999-09-21 19:12:52 +0000
committerjlam <jlam@pkgsrc.org>1999-09-21 19:12:52 +0000
commit55eff1c6f173b0495ee630ede3d66374803eb7ea (patch)
treedbd9d4a2684aa28224b6205541ffcfbaddcf1d61
parentc3bab7dba14be8892aed96f2f8ad2aad44443339 (diff)
downloadpkgsrc-55eff1c6f173b0495ee630ede3d66374803eb7ea.tar.gz
PgAccess -- a free graphical database management tool for PostgreSQL
-rw-r--r--databases/pgaccess/Makefile45
-rw-r--r--databases/pgaccess/files/md53
-rw-r--r--databases/pgaccess/files/patch-sum4
-rw-r--r--databases/pgaccess/patches/patch-aa12
-rw-r--r--databases/pgaccess/patches/patch-ab14
-rw-r--r--databases/pgaccess/pkg/COMMENT1
-rw-r--r--databases/pgaccess/pkg/DESCR4
-rw-r--r--databases/pgaccess/pkg/PLIST188
8 files changed, 271 insertions, 0 deletions
diff --git a/databases/pgaccess/Makefile b/databases/pgaccess/Makefile
new file mode 100644
index 00000000000..96e8772e8c4
--- /dev/null
+++ b/databases/pgaccess/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/09/21 19:12:52 jlam Exp $
+#
+
+DISTNAME= pgaccess-0.98
+WRKSRC= ${WRKDIR}/pgaccess
+CATEGORIES= databases
+MASTER_SITES= ftp://ftp.flex.ro/pub/pgaccess/
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://www.flex.ro/pgaccess/
+
+DEPENDS+= postgresql-6.5.2:../../databases/postgresql
+
+NO_BUILD= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+PGUSER?= pgsql
+
+PGTKSH= ${PREFIX}/${PGUSER}/bin/pgtksh
+PGACCESS_HOME= ${PREFIX}/share/pgaccess
+DOCDIR= ${PREFIX}/share/doc/pgaccess
+EGDIR= ${PREFIX}/share/examples/pgaccess
+
+pre-patch:
+ ${MV} ${WRKSRC}/pgaccess ${WRKSRC}/pgaccess.in
+
+do-configure:
+ ${SED} -e "s,@PGTKSH@,${PGTKSH},g" \
+ -e "s,@PGACCESS_HOME@,${PGACCESS_HOME},g" \
+ ${WRKSRC}/pgaccess.in > ${WRKSRC}/pgaccess
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/pgaccess ${PREFIX}/bin/pgaccess
+ ${INSTALL_DATA_DIR} ${PGACCESS_HOME}
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/main.tcl ${PGACCESS_HOME}
+ ${CP} -R ${WRKSRC}/lib ${PGACCESS_HOME}
+ ${CP} -R ${WRKSRC}/images ${PGACCESS_HOME}
+ ${CP} -R ${WRKSRC}/doc/html/* ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/demo/formdemo.sql ${EGDIR}
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PGACCESS_HOME} ${DOCDIR} ${EGDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/pgaccess/files/md5 b/databases/pgaccess/files/md5
new file mode 100644
index 00000000000..6476d891c97
--- /dev/null
+++ b/databases/pgaccess/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/09/21 19:12:52 jlam Exp $
+
+MD5 (pgaccess-0.98.tar.gz) = cd41e557ccba682b28376eda6be55aa7
diff --git a/databases/pgaccess/files/patch-sum b/databases/pgaccess/files/patch-sum
new file mode 100644
index 00000000000..320ce53c611
--- /dev/null
+++ b/databases/pgaccess/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/09/21 19:12:52 jlam Exp $
+
+MD5 (patch-aa) = 32a8868a1faaf328f0b4566e4e3aef9a
+MD5 (patch-ab) = 9534a736bb07f2ea8c4b26f655128b65
diff --git a/databases/pgaccess/patches/patch-aa b/databases/pgaccess/patches/patch-aa
new file mode 100644
index 00000000000..5444313bfe8
--- /dev/null
+++ b/databases/pgaccess/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/09/21 19:12:52 jlam Exp $
+
+--- ./main.tcl.orig Mon Sep 6 09:29:18 1999
++++ ./main.tcl Tue Sep 21 15:00:02 1999
+@@ -166,7 +166,6 @@
+
+ proc {main} {argc argv} {
+ global PgAcVar CurrentDB tcl_platform
+- load libpgtcl[info sharedlibextension]
+ catch {Mainlib::draw_tabs}
+ set PgAcVar(opendb,username) {}
+ set PgAcVar(opendb,password) {}
diff --git a/databases/pgaccess/patches/patch-ab b/databases/pgaccess/patches/patch-ab
new file mode 100644
index 00000000000..02e7ae21d30
--- /dev/null
+++ b/databases/pgaccess/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/09/21 19:12:52 jlam Exp $
+
+--- ./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
+
+-PATH_TO_WISH=/usr/bin/wish
+-PGACCESS_HOME=/usr/local/pgaccess
++PATH_TO_WISH=@PGTKSH@
++PGACCESS_HOME=@PGACCESS_HOME@
+
+ export PATH_TO_WISH
+ export PGACCESS_HOME
diff --git a/databases/pgaccess/pkg/COMMENT b/databases/pgaccess/pkg/COMMENT
new file mode 100644
index 00000000000..a50eb97040f
--- /dev/null
+++ b/databases/pgaccess/pkg/COMMENT
@@ -0,0 +1 @@
+a free graphical database management tool for PostgreSQL
diff --git a/databases/pgaccess/pkg/DESCR b/databases/pgaccess/pkg/DESCR
new file mode 100644
index 00000000000..cddcdfda0d6
--- /dev/null
+++ b/databases/pgaccess/pkg/DESCR
@@ -0,0 +1,4 @@
+PgAcess 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/pkg/PLIST b/databases/pgaccess/pkg/PLIST
new file mode 100644
index 00000000000..5e78e6a9918
--- /dev/null
+++ b/databases/pgaccess/pkg/PLIST
@@ -0,0 +1,188 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/09/21 19:12:52 jlam Exp $
+bin/pgaccess
+share/doc/pgaccess/a_right.gif
+share/doc/pgaccess/addindex.gif
+share/doc/pgaccess/api.html
+share/doc/pgaccess/ball.gif
+share/doc/pgaccess/contents.html
+share/doc/pgaccess/copyright.html
+share/doc/pgaccess/documentation.html
+share/doc/pgaccess/download.html
+share/doc/pgaccess/faq.html
+share/doc/pgaccess/features.html
+share/doc/pgaccess/formdemo.sql
+share/doc/pgaccess/forms.gif
+share/doc/pgaccess/forms.html
+share/doc/pgaccess/function.gif
+share/doc/pgaccess/help.gif
+share/doc/pgaccess/index.html
+share/doc/pgaccess/irix.html
+share/doc/pgaccess/linux1.gif
+share/doc/pgaccess/maillist.html
+share/doc/pgaccess/main.html
+share/doc/pgaccess/mainwindow.gif
+share/doc/pgaccess/newtable.gif
+share/doc/pgaccess/newuser.gif
+share/doc/pgaccess/old_index.html
+share/doc/pgaccess/permissions.gif
+share/doc/pgaccess/pg93patch.html
+share/doc/pgaccess/pga-rad.html
+share/doc/pgaccess/qbtclet.html
+share/doc/pgaccess/qbtclet.tcl
+share/doc/pgaccess/screenshots.html
+share/doc/pgaccess/specialchars.html
+share/doc/pgaccess/todo.html
+share/doc/pgaccess/tutorial/addref.jpg
+share/doc/pgaccess/tutorial/altern_q.jpg
+share/doc/pgaccess/tutorial/altern_v.jpg
+share/doc/pgaccess/tutorial/copyright.html
+share/doc/pgaccess/tutorial/index.html
+share/doc/pgaccess/tutorial/intro.html
+share/doc/pgaccess/tutorial/irix.html
+share/doc/pgaccess/tutorial/newref.txt
+share/doc/pgaccess/tutorial/newtable.jpg
+share/doc/pgaccess/tutorial/newtable.tga
+share/doc/pgaccess/tutorial/problems.html
+share/doc/pgaccess/tutorial/screen1.jpg
+share/doc/pgaccess/tutorial/sel_tbl.jpg
+share/doc/pgaccess/tutorial/start.html
+share/doc/pgaccess/tutorial/tut.html
+share/doc/pgaccess/tutorial/tut_edit.html
+share/doc/pgaccess/tutorial/tut_new.html
+share/doc/pgaccess/tutorial/tut_sel1.html
+share/doc/pgaccess/tutorial/tut_user.html
+share/doc/pgaccess/vdesigner.gif
+share/doc/pgaccess/whatsnew.html
+share/doc/pgaccess/win32.html
+share/examples/pgaccess/formdemo.sql
+share/pgaccess/images/icon_button.gif
+share/pgaccess/images/icon_checkbutton.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_text.gif
+share/pgaccess/lib/database.tcl
+share/pgaccess/lib/forms.tcl
+share/pgaccess/lib/functions.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/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/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/notify.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/schema.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/languages/francais
+share/pgaccess/lib/languages/italiano
+share/pgaccess/lib/languages/magyar
+share/pgaccess/lib/languages/romana
+share/pgaccess/lib/mainlib.tcl
+share/pgaccess/lib/preferences.tcl
+share/pgaccess/lib/qed
+share/pgaccess/lib/queries.tcl
+share/pgaccess/lib/reports.tcl
+share/pgaccess/lib/schema.tcl
+share/pgaccess/lib/scripts.tcl
+share/pgaccess/lib/sequences.tcl
+share/pgaccess/lib/tables.tcl
+share/pgaccess/lib/users.tcl
+share/pgaccess/lib/views.tcl
+share/pgaccess/lib/visualqb.tcl
+share/pgaccess/main.tcl
+@dirrm share/pgaccess/lib/languages
+@dirrm share/pgaccess/lib/help
+@dirrm share/pgaccess/lib
+@dirrm share/pgaccess/images
+@dirrm share/pgaccess
+@dirrm share/examples/pgaccess
+@dirrm share/doc/pgaccess/tutorial
+@dirrm share/doc/pgaccess