Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2002 04:40:19 +0100 (CET)
From:      Palle Girgensohn <girgen@partitur.se>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/34860: new port databases/postgresql-tcltk
Message-ID:  <200202120340.g1C3eJq66424@palle.girgensohn.se>

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

>Number:         34860
>Category:       ports
>Synopsis:       new port databases/postgresql-tcltk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 11 20:00:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Palle Girgensohn <girgen@partitur.se>
>Release:        FreeBSD 4.5-PRERELEASE i386
>Organization:
Partitur
>Environment:
System: FreeBSD palle.girgensohn.se 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #11: Fri Dec 28 17:22:10 CET 2001 root@palle.girgensohn.se:/usr/obj/usr/src/sys/STORDATAN i386


	
>Description:
This is a port of the Tcl/Tk stuff in the postgresql-7.2
distribution. It includes pgtclsh, pgtksh and also the infamous
pgaccess GUI.

	
>How-To-Repeat:
	
>Fix:

	


# 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:
#
#	postgresql-tcltk
#	postgresql-tcltk/pkg-comment
#	postgresql-tcltk/pkg-descr
#	postgresql-tcltk/pkg-plist
#	postgresql-tcltk/files
#	postgresql-tcltk/files/pkgIndex.tcl.in
#	postgresql-tcltk/Makefile
#
echo c - postgresql-tcltk
mkdir -p postgresql-tcltk > /dev/null 2>&1
echo x - postgresql-tcltk/pkg-comment
sed 's/^X//' >postgresql-tcltk/pkg-comment << 'END-of-postgresql-tcltk/pkg-comment'
XAn TCL interface to the database PostgreSQL, including a tk GUI
END-of-postgresql-tcltk/pkg-comment
echo x - postgresql-tcltk/pkg-descr
sed 's/^X//' >postgresql-tcltk/pkg-descr << 'END-of-postgresql-tcltk/pkg-descr'
Xlibpgtcl is a library that implements Tcl commands for front-end
Xclients to interact with the Postgresql backends.
X
Xpgaccess is a great graphical database management tool for PostgreSQL.
X
XThis software is part of the standard PostgreSQL distribution.
X
XWWW: http://www.postgresql.org/
END-of-postgresql-tcltk/pkg-descr
echo x - postgresql-tcltk/pkg-plist
sed 's/^X//' >postgresql-tcltk/pkg-plist << 'END-of-postgresql-tcltk/pkg-plist'
Xbin/pgtclsh
Xinclude/libpgtcl.h
Xlib/tcl%%TCLVERSION%%/Pgtcl1.3/pkgIndex.tcl
X@dirrm lib/tcl%%TCLVERSION%%/Pgtcl1.3
Xlib/libpgtcl.a
Xlib/libpgtcl.so
Xlib/libpgtcl.so.2
X%%TK%%bin/pgtksh
X%%TK%%bin/pgaccess
X%%TK%%share/postgresql/pgaccess/lib/help/abort.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/add_records.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/alter_table.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/alter_user.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/author.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/begin.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/close.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/cluster.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/commit.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/copy.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/copyrights.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/create_aggregate.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/create_database.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/create_function.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/create_index.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/create_language.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/create_operator.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/create_rule.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/create_sequence.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/create_table.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/create_table_as.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/create_trigger.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/create_type.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/create_user.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/create_view.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/data_types.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/datefunc.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/declare.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/delete.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/drop_aggregate.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/drop_database.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/drop_function.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/drop_index.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/drop_language.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/drop_operator.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/drop_rule.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/drop_sequence.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/drop_table.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/drop_trigger.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/drop_type.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/drop_user.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/drop_view.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/explain.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/fetch.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/form_design.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/forms.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/functions.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/geomfunc.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/grant.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/history.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/index.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/inheritance.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/insert.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/ipv4func.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/isolation.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/keywords.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/listen.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/load.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/lock.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/mathfunc.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/move.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/mvcc.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/new_query.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/new_table.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/notify.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/open_query.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/open_table.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/pgfunctions.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/postgresql.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/queries.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/reports.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/reset.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/revoke.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/rollback.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/schema.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/scripts.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/select.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/select_into.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/sequences.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/set.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/show.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/sql_guide.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/sqlfunc.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/stringfunc.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/tables.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/unlisten.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/update.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/users.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/vacuum.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/view_table_structure.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/views.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/visual_designer.hlp
X%%TK%%share/postgresql/pgaccess/lib/help/y2k.hlp
X%%TK%%@dirrm share/postgresql/pgaccess/lib/help
X%%TK%%share/postgresql/pgaccess/lib/languages/chinese_big5
X%%TK%%share/postgresql/pgaccess/lib/languages/chinese_gb
X%%TK%%share/postgresql/pgaccess/lib/languages/czech
X%%TK%%share/postgresql/pgaccess/lib/languages/deutsch
X%%TK%%share/postgresql/pgaccess/lib/languages/euskara
X%%TK%%share/postgresql/pgaccess/lib/languages/francais
X%%TK%%share/postgresql/pgaccess/lib/languages/italiano
X%%TK%%share/postgresql/pgaccess/lib/languages/japanese
X%%TK%%share/postgresql/pgaccess/lib/languages/magyar
X%%TK%%share/postgresql/pgaccess/lib/languages/nederlands
X%%TK%%share/postgresql/pgaccess/lib/languages/portugues
X%%TK%%share/postgresql/pgaccess/lib/languages/romana
X%%TK%%share/postgresql/pgaccess/lib/languages/russian.koi8r
X%%TK%%share/postgresql/pgaccess/lib/languages/russian_win
X%%TK%%share/postgresql/pgaccess/lib/languages/spanish
X%%TK%%@dirrm share/postgresql/pgaccess/lib/languages
X%%TK%%share/postgresql/pgaccess/lib/database.tcl
X%%TK%%share/postgresql/pgaccess/lib/forms.tcl
X%%TK%%share/postgresql/pgaccess/lib/functions.tcl
X%%TK%%share/postgresql/pgaccess/lib/help.tcl
X%%TK%%share/postgresql/pgaccess/lib/mainlib.tcl
X%%TK%%share/postgresql/pgaccess/lib/preferences.tcl
X%%TK%%share/postgresql/pgaccess/lib/queries.tcl
X%%TK%%share/postgresql/pgaccess/lib/reports.tcl
X%%TK%%share/postgresql/pgaccess/lib/schema.tcl
X%%TK%%share/postgresql/pgaccess/lib/scripts.tcl
X%%TK%%share/postgresql/pgaccess/lib/sequences.tcl
X%%TK%%share/postgresql/pgaccess/lib/tables.tcl
X%%TK%%share/postgresql/pgaccess/lib/users.tcl
X%%TK%%share/postgresql/pgaccess/lib/views.tcl
X%%TK%%share/postgresql/pgaccess/lib/visualqb.tcl
X%%TK%%@dirrm share/postgresql/pgaccess/lib
X%%TK%%share/postgresql/pgaccess/images/icon_button.gif
X%%TK%%share/postgresql/pgaccess/images/icon_checkbutton.gif
X%%TK%%share/postgresql/pgaccess/images/icon_entry.gif
X%%TK%%share/postgresql/pgaccess/images/icon_frame.gif
X%%TK%%share/postgresql/pgaccess/images/icon_label.gif
X%%TK%%share/postgresql/pgaccess/images/icon_listbox.gif
X%%TK%%share/postgresql/pgaccess/images/icon_query.gif
X%%TK%%share/postgresql/pgaccess/images/icon_radiobutton.gif
X%%TK%%share/postgresql/pgaccess/images/icon_text.gif
X%%TK%%@dirrm share/postgresql/pgaccess/images
X%%TK%%share/postgresql/pgaccess/main.tcl
X%%TK%%@dirrm share/postgresql/pgaccess
X%%TK%%@unexec rmdir %D/share/postgresql 2>/dev/null || true
END-of-postgresql-tcltk/pkg-plist
echo c - postgresql-tcltk/files
mkdir -p postgresql-tcltk/files > /dev/null 2>&1
echo x - postgresql-tcltk/files/pkgIndex.tcl.in
sed 's/^X//' >postgresql-tcltk/files/pkgIndex.tcl.in << 'END-of-postgresql-tcltk/files/pkgIndex.tcl.in'
X# Package-index file for Pgtcl-package. Enables you to load PostgreSQL
X# interface functions right into you TCL-interpreter as simply as
X#	package require Pgtcl
Xpackage ifneeded Pgtcl 1.3 "load %%PREFIX%%/lib/libpgtcl.so"
END-of-postgresql-tcltk/files/pkgIndex.tcl.in
echo x - postgresql-tcltk/Makefile
sed 's/^X//' >postgresql-tcltk/Makefile << 'END-of-postgresql-tcltk/Makefile'
X# New ports collection makefile for:	PostgreSQL JDBC
X# Date created:		January 14, 2002
X# Whom:			Palle Girgensohn <girgen@partitur.se>
X#
X# $FreeBSD: ports/databases/postgresql7/Makefile,v 1.90 2001/12/12 19:30:35 ijliao Exp $
X#
X
XPORTNAME=	postgresql-tcltk
XPORTVERSION=	7.2
XCATEGORIES=	databases tcl83 tk83
X
XMAINTAINER=	girgen@partitur.se
X
XPOSTGRESQL_SUBPORT=YES
X.include <${.CURDIR}/../postgresql7/Makefile>
X
XLIB_DEPENDS=	tcl${TCLVERSION:S/.//}:${PORTSDIR}/lang/tcl${TCLVERSION:S/.//} \
X		pq:${PORTSDIR}/databases/postgresql7
X
X# you can use "make TCLVERSION=8.4" or similar for your favourite tcl version
XTCLVERSION?=	8.3
XPLIST_SUB+=	TCLVERSION=${TCLVERSION}
XCONFIGURE_ARGS=	--with-tcl \
X		--with-tclconfig=${TCLCONFIG} \
X		--with-includes=${INCDIRS}
X
XTCL_INCDIR=	${LOCALBASE}/include/tcl${TCLVERSION}
XTCLCONFIG=	${LOCALBASE}/lib/tcl${TCLVERSION}
XMAKE_ENV+=	TCL_INCDIR=${TCL_INCDIR}
X
X.if defined(WITHOUT_TK)
XCONFIGURE_ARGS+= --without-tk
XINCDIRS=	${TCL_INCDIR}
XPLIST_SUB+=	TK="@comment "
X.else
XCONFIGURE_ARGS+= --with-tkconfig="${TKCONFIG}"
XTK_INCDIR=	${LOCALBASE}/include/tk${TCLVERSION}
XCONFIGURE_ENV+=	WISH=${LOCALBASE}/bin/wish${TCLVERSION}
XLIB_DEPENDS+=	tk${TCLVERSION:S/.//}:${PORTSDIR}/x11-toolkits/tk${TCLVERSION:S/.//}
XTKCONFIG=	${LOCALBASE}/lib/tk${TCLVERSION}
XINCDIRS=	${TCL_INCDIR}:${TK_INCDIR}
XPLIST_SUB+=	TK=""
X.endif
X
Xdo-build:
X	@ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/bin/pgtclsh
X	@ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/interfaces/libpgtcl
X.if !defined(WITHOUT_TK)
X	@ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/bin/pgaccess
X.endif
X
Xdo-install:
X	@ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/bin/pgtclsh install
X	@ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/interfaces/libpgtcl install
X.if !defined(WITHOUT_TK)
X	@ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/bin/pgaccess install
X.endif
X# Preparing a loadable TCL-package (pkgIndex.tcl)
X	@${MKDIR} ${PREFIX}/lib/tcl${TCLVERSION}/Pgtcl1.3
X	@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/pkgIndex.tcl.in \
X		> ${PREFIX}/lib/tcl${TCLVERSION}/Pgtcl1.3/pkgIndex.tcl
X
X.include <bsd.port.mk>
END-of-postgresql-tcltk/Makefile
exit

>Release-Note:
>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?200202120340.g1C3eJq66424>