From dfa7b36bf830e783805564d1c3b583b25eea9014 Mon Sep 17 00:00:00 2001 From: form Date: Wed, 6 May 1998 13:10:01 +0000 Subject: [PATCH] pgaccess 0.86, Tcl/Tk interface for PostgreSQL --- databases/pgaccess/Makefile | 24 +++++++++++++++++++++++ databases/pgaccess/files/md5 | 1 + databases/pgaccess/patches/patch-aa | 8 ++++++++ databases/pgaccess/pkg/COMMENT | 1 + databases/pgaccess/pkg/DESCR | 8 ++++++++ databases/pgaccess/pkg/PLIST | 1 + databases/pgaccess/scripts/post-configure | 9 +++++++++ 7 files changed, 52 insertions(+) create mode 100644 databases/pgaccess/Makefile create mode 100644 databases/pgaccess/files/md5 create mode 100644 databases/pgaccess/patches/patch-aa create mode 100644 databases/pgaccess/pkg/COMMENT create mode 100644 databases/pgaccess/pkg/DESCR create mode 100644 databases/pgaccess/pkg/PLIST create mode 100644 databases/pgaccess/scripts/post-configure diff --git a/databases/pgaccess/Makefile b/databases/pgaccess/Makefile new file mode 100644 index 00000000000..2afd567fc63 --- /dev/null +++ b/databases/pgaccess/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: pgaccess +# Version required: 0.86 +# Date created: 6 May 1998 19:57 NOVST +# Whom: Oleg Form +# +# $OpenBSD: Makefile,v 1.1.1.1 1998/05/06 13:10:01 form Exp $ +# FreeBSD: Makefile,v 1.11 1998/04/21 21:30:21 andreas Exp +# + +DISTNAME= pgaccess-0.86 +CATEGORIES= databases +MASTER_SITES= http://www.flex.ro/pgaccess/ + +MAINTAINER= form@vs.itam.nsc.ru + +RUN_DEPENDS= ${PREFIX}/pgsql/bin/postmaster:${PORTSDIR}/databases/postgresql + +NO_BUILD= yes +NO_WRKSUBDIR= yes + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/pgaccess.tcl ${PREFIX}/bin/pgaccess + +.include diff --git a/databases/pgaccess/files/md5 b/databases/pgaccess/files/md5 new file mode 100644 index 00000000000..192e232d611 --- /dev/null +++ b/databases/pgaccess/files/md5 @@ -0,0 +1 @@ +MD5 (pgaccess-0.86.tar.gz) = a82780bf417993909d227e3bf81fff6a diff --git a/databases/pgaccess/patches/patch-aa b/databases/pgaccess/patches/patch-aa new file mode 100644 index 00000000000..565665a0d7e --- /dev/null +++ b/databases/pgaccess/patches/patch-aa @@ -0,0 +1,8 @@ +--- pgaccess.tcl.orig Sun Oct 12 14:45:16 1997 ++++ pgaccess.tcl Sun Oct 12 14:45:25 1997 +@@ -1,4 +1,4 @@ +-#!/usr/bin/wish ++#! /usr/local/bin/wish8.0 + ############################################################################# + # Visual Tcl v1.10 Project + # diff --git a/databases/pgaccess/pkg/COMMENT b/databases/pgaccess/pkg/COMMENT new file mode 100644 index 00000000000..61a2b01b12e --- /dev/null +++ b/databases/pgaccess/pkg/COMMENT @@ -0,0 +1 @@ +a Tcl/Tk interface to PostgreSQL diff --git a/databases/pgaccess/pkg/DESCR b/databases/pgaccess/pkg/DESCR new file mode 100644 index 00000000000..f799bf7818f --- /dev/null +++ b/databases/pgaccess/pkg/DESCR @@ -0,0 +1,8 @@ +Please note: you have to compile and install the postgresql port with +the following commands, so that you can use pgaccess as database frontend: + + make USE_TCL=yes all install + +More infos: + + http://www.flex.ro/pgaccess/index.html diff --git a/databases/pgaccess/pkg/PLIST b/databases/pgaccess/pkg/PLIST new file mode 100644 index 00000000000..a5e2d2929a2 --- /dev/null +++ b/databases/pgaccess/pkg/PLIST @@ -0,0 +1 @@ +bin/pgaccess diff --git a/databases/pgaccess/scripts/post-configure b/databases/pgaccess/scripts/post-configure new file mode 100644 index 00000000000..e99c62d8408 --- /dev/null +++ b/databases/pgaccess/scripts/post-configure @@ -0,0 +1,9 @@ +#! /bin/sh + +mv ${WRKSRC}/pgaccess.tcl ${WRKSRC}/pgaccess.tcl.$$ + +sed -e "s|load libpgtcl.so|load ${PREFIX}/pgsql/lib/libpgtcl.so|" \ + < ${WRKSRC}/pgaccess.tcl.$$ \ + > ${WRKSRC}/pgaccess.tcl + +rm -f ${WRKSRC}/pgaccess.tcl.$$