diff options
author | frueauf <frueauf@pkgsrc.org> | 1999-01-04 13:08:47 +0000 |
---|---|---|
committer | frueauf <frueauf@pkgsrc.org> | 1999-01-04 13:08:47 +0000 |
commit | 74d196422ace8b773e6e7fbbfc803b9e5d752137 (patch) | |
tree | 59cd6e7d75dd6d5bd3115b2d4ff3822d975f3677 /databases | |
parent | 1f4b04d4d9219a74205748ff133458b315d1ae16 (diff) | |
download | pkgsrc-74d196422ace8b773e6e7fbbfc803b9e5d752137.tar.gz |
Initial import of gtksql-0.2, a query tool for PostgreSQL written with GTK.
Provided in pr 6691 by Rene Hexel with additional fixes by myself.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/gtksql/Makefile | 24 | ||||
-rw-r--r-- | databases/gtksql/files/md5 | 3 | ||||
-rw-r--r-- | databases/gtksql/patches/patch-aa | 25 | ||||
-rw-r--r-- | databases/gtksql/pkg/COMMENT | 1 | ||||
-rw-r--r-- | databases/gtksql/pkg/DESCR | 10 | ||||
-rw-r--r-- | databases/gtksql/pkg/PLIST | 2 |
6 files changed, 65 insertions, 0 deletions
diff --git a/databases/gtksql/Makefile b/databases/gtksql/Makefile new file mode 100644 index 00000000000..35ef4ffa4af --- /dev/null +++ b/databases/gtksql/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/01/04 13:08:47 frueauf Exp $ +# + +DISTNAME= gtksql-0.2 +CATEGORIES= databases +MASTER_SITES= http://www.multimania.com/bbrox/GtkSQL/ \ + ftp://ftp.infodrom.north.de/pub/unix/gtkbuffet/apps/gtksql/ + +MAINTAINER= packages@NetBSD.org +HOMEPAGE= http://www.multimania.com/bbrox/GtkSQL/ + +DEPENDS+= gtk+-1.0.6:../../x11/gtk10 +DEPENDS+= postgresql-6.4.2:../../databases/postgresql + +USE_X11= yes + +PGUSER?= pgsql + +post-patch: + ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.bak + ${SED} -e 's|@PGUSER@|${PGUSER}|g' < ${WRKSRC}/Makefile.bak \ + > ${WRKSRC}/Makefile + +.include "../../mk/bsd.pkg.mk" diff --git a/databases/gtksql/files/md5 b/databases/gtksql/files/md5 new file mode 100644 index 00000000000..992c1ff3082 --- /dev/null +++ b/databases/gtksql/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/01/04 13:08:47 frueauf Exp $ + +MD5 (gtksql-0.2.tar.gz) = 74cdab5745874b5bdcef21398e95c066 diff --git a/databases/gtksql/patches/patch-aa b/databases/gtksql/patches/patch-aa new file mode 100644 index 00000000000..0e01a236ed0 --- /dev/null +++ b/databases/gtksql/patches/patch-aa @@ -0,0 +1,25 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/01/04 13:08:47 frueauf Exp $ + +--- Makefile.orig Wed Aug 5 21:10:26 1998 ++++ Makefile Mon Jan 4 13:43:43 1999 +@@ -1,6 +1,6 @@ + # Here, what you need for Pgsql +-PGSQLIBS = -L/usr/local/pgsql/lib -lpq +-PGSQLCFLAGS = -I/usr/local/pgsql/include ++PGSQLIBS = -L${LOCALBASE}/@PGUSER@/lib -lpq ++PGSQLCFLAGS = -I${LOCALBASE}/@PGUSER@/include + # Your favorite compilation options here :-) + MCFLAGS = -Wall -O -g + +@@ -23,8 +23,8 @@ + clean: + rm *.o gtksql + +-install: all +- cp gtksql $(DESTDIR)usr/bin/ ++install: ++ cp gtksql ${PREFIX}/bin/ + + .c.o: +- gcc $(CFLAGS) $(GTKCFLAGS) $(PGSQLCFLAGS) -c $*.c -o ./$*.o ++ gcc $(CFLAGS) $(GTKCFLAGS) $(PGSQLCFLAGS) -c $*.c -o ./$*.o diff --git a/databases/gtksql/pkg/COMMENT b/databases/gtksql/pkg/COMMENT new file mode 100644 index 00000000000..ac44261dc34 --- /dev/null +++ b/databases/gtksql/pkg/COMMENT @@ -0,0 +1 @@ +a query tool for PostgreSQL written with GTK. diff --git a/databases/gtksql/pkg/DESCR b/databases/gtksql/pkg/DESCR new file mode 100644 index 00000000000..8878d189b06 --- /dev/null +++ b/databases/gtksql/pkg/DESCR @@ -0,0 +1,10 @@ +GtkSQL is a graphical query tool (like PostgreSQL's psql). It +is released under the GNU GPL license, and was developped using +Gtk+ 1.0.0 and PostgreSQL 6.3. + +Its main features are: + + * multiple SQL buffers + * SQL keywords, table names and fields autocompletion + * easy displaying of tables definitions + * exporting of query results diff --git a/databases/gtksql/pkg/PLIST b/databases/gtksql/pkg/PLIST new file mode 100644 index 00000000000..5e2fb8c303c --- /dev/null +++ b/databases/gtksql/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/01/04 13:08:47 frueauf Exp $ +bin/gtksql |