Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 1998 09:30:29 +0300 (MSK)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/8767: New port: gtksql-0.2
Message-ID:  <199811200630.JAA04657@icc.surw.chel.su>

next in thread | raw e-mail | index | archive | help

>Number:         8767
>Category:       ports
>Synopsis:       New port: gtksql-0.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 19 22:40:00 PST 1998
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Organization:
South Ural Railway ICC
>Release:        FreeBSD 2.2.7-RELEASE i386
>Environment:

>Description:

   This is a port of gtksql-0.2.

GtkSQL is a graphical query tool for PostgreSQL.  You can work on
multiple queries simultaneously:

 * send the current query to the database
 * add a new query
 * delete current query
 * rename current query
 * export current query
 * display the table information
 * move to the next or previous query 
 * SQL keyword, table name and field name autocompletion
 * rescan the table database.

http://www.multimania.com/bbrox/GtkSQL/


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gtksql-0.2
#	gtksql-0.2/Makefile
#	gtksql-0.2/files
#	gtksql-0.2/files/md5
#	gtksql-0.2/pkg
#	gtksql-0.2/pkg/PLIST
#	gtksql-0.2/pkg/COMMENT
#	gtksql-0.2/pkg/DESCR
#	gtksql-0.2/patches
#	gtksql-0.2/patches/patch-aa
#
echo c - gtksql-0.2
mkdir -p gtksql-0.2 > /dev/null 2>&1
echo x - gtksql-0.2/Makefile
sed 's/^X//' >gtksql-0.2/Makefile << 'END-of-gtksql-0.2/Makefile'
X# New ports collection makefile for:	gtksql
X# Version required:			0.2
X# Date created:				19 November 1998
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=	gtksql-0.2
XCATEGORIES=	databases
XMASTER_SITES=	http://www.multimania.com/bbrox/GtkSQL/
X
XMAINTAINER=	andy@icc.surw.chel.su
X
XLIB_DEPENDS=	gtk.1.:${PORTSDIR}/x11-toolkits/gtk \
X		pq.1:${PORTSDIR}/databases/postgresql
X
XUSE_X_PREFIX=	yes
X
Xdo-install:
X	@ ${INSTALL_PROGRAM} ${WRKSRC}/gtksql ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X	@ ${MKDIR} ${PREFIX}/share/doc/gtksql
X.for file in COPYING Changelog README
X	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/gtksql
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-gtksql-0.2/Makefile
echo c - gtksql-0.2/files
mkdir -p gtksql-0.2/files > /dev/null 2>&1
echo x - gtksql-0.2/files/md5
sed 's/^X//' >gtksql-0.2/files/md5 << 'END-of-gtksql-0.2/files/md5'
XMD5 (gtksql-0.2.tar.gz) = 74cdab5745874b5bdcef21398e95c066
END-of-gtksql-0.2/files/md5
echo c - gtksql-0.2/pkg
mkdir -p gtksql-0.2/pkg > /dev/null 2>&1
echo x - gtksql-0.2/pkg/PLIST
sed 's/^X//' >gtksql-0.2/pkg/PLIST << 'END-of-gtksql-0.2/pkg/PLIST'
Xbin/gtksql
Xshare/doc/gtksql/COPYING
Xshare/doc/gtksql/Changelog
Xshare/doc/gtksql/README
X@dirrm share/doc/gtksql
END-of-gtksql-0.2/pkg/PLIST
echo x - gtksql-0.2/pkg/COMMENT
sed 's/^X//' >gtksql-0.2/pkg/COMMENT << 'END-of-gtksql-0.2/pkg/COMMENT'
XGraphical query tool for PostgreSQL.
END-of-gtksql-0.2/pkg/COMMENT
echo x - gtksql-0.2/pkg/DESCR
sed 's/^X//' >gtksql-0.2/pkg/DESCR << 'END-of-gtksql-0.2/pkg/DESCR'
XGtkSQL is a graphical query tool for PostgreSQL.  You can work on
Xmultiple queries simultaneously:
X
X * send the current query to the database
X * add a new query
X * delete current query
X * rename current query
X * export current query
X * display the table information
X * move to the next or previous query 
X * SQL keyword, table name and field name autocompletion
X * rescan the table database.
X
Xhttp://www.multimania.com/bbrox/GtkSQL/
END-of-gtksql-0.2/pkg/DESCR
echo c - gtksql-0.2/patches
mkdir -p gtksql-0.2/patches > /dev/null 2>&1
echo x - gtksql-0.2/patches/patch-aa
sed 's/^X//' >gtksql-0.2/patches/patch-aa << 'END-of-gtksql-0.2/patches/patch-aa'
X--- Makefile	Wed Aug  5 19:10:26 1998
X+++ /home/andy/tmp/wrk/Makefile	Fri Nov 20 14:05:10 1998
X@@ -1,8 +1,23 @@
X+#
X+# C compiler
X+#
X+CC?= gcc
X+
X+#
X+# Local packages
X+#
X+LOCALBASE?= /usr/local
X+
X+#
X+# Installation prefix
X+#
X+PREFIX?= $(LOCALBASE)
X+
X # Here, what you need for Pgsql
X-PGSQLIBS    = -L/usr/local/pgsql/lib -lpq
X-PGSQLCFLAGS = -I/usr/local/pgsql/include
X+PGSQLIBS    = -L$(LOCALBASE)/pgsql/lib -lpq
X+PGSQLCFLAGS = -I$(LOCALBASE)/pgsql/include
X # Your favorite compilation options here :-)
X-MCFLAGS  = -Wall -O -g
X+CFLAGS?= -Wall -O -g
X 
X # The database modules you want to be built
X DBOBJS  = postgres.o
X@@ -12,19 +27,19 @@
X MOBJS   = main.o queries.o dialogs.o tables.o common.o export.o status.o
X 
X OBJS    = $(MOBJS) $(DBOBJS)
X-CFLAGS  = $(MCFLAGS) $(DBFLAGS)
X+CFLAGS+=  $(DBFLAGS)
X 
X GTKLIBS     = `gtk-config --libs`
X GTKCFLAGS   = `gtk-config --cflags`
X 
X all: $(OBJS)
X-	gcc -o gtksql $(OBJS) $(PGSQLIBS) $(GTKLIBS) $(CFLAGS)
X+	$(CC) -o gtksql $(OBJS) $(PGSQLIBS) $(GTKLIBS) $(CFLAGS)
X 
X clean:
X 	rm *.o gtksql
X 
X install: all
X-	cp gtksql $(DESTDIR)usr/bin/
X+	cp gtksql $(PREFIX)/bin
X 
X .c.o: 
X-	gcc $(CFLAGS) $(GTKCFLAGS) $(PGSQLCFLAGS) -c $*.c -o ./$*.o
X+	$(CC) $(CFLAGS) $(GTKCFLAGS) $(PGSQLCFLAGS) -c $*.c -o ./$*.o
END-of-gtksql-0.2/patches/patch-aa
exit


>How-To-Repeat:

>Fix:

   Please, check and commit this port.

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811200630.JAA04657>