diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2002-02-19 08:40:00 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2002-02-19 08:40:00 +0000 |
commit | d90bc6b5b23f14cd0822c4b5529f0d3f4a3ebd0a (patch) | |
tree | c1228490b3bb77983f05d9b6775524d377191c30 /databases | |
parent | 03b1c588deccfa90aca0e47cb1f7b03fb7212968 (diff) | |
download | ports-d90bc6b5b23f14cd0822c4b5529f0d3f4a3ebd0a.tar.gz ports-d90bc6b5b23f14cd0822c4b5529f0d3f4a3ebd0a.zip |
Notes
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/postgresql-tcltk/Makefile | 63 | ||||
-rw-r--r-- | databases/postgresql-tcltk/files/pkgIndex.tcl.in | 4 | ||||
-rw-r--r-- | databases/postgresql-tcltk/pkg-comment | 1 | ||||
-rw-r--r-- | databases/postgresql-tcltk/pkg-descr | 8 | ||||
-rw-r--r-- | databases/postgresql-tcltk/pkg-plist | 148 |
6 files changed, 225 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 8e5e425b09e5..41c487f84147 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -95,6 +95,7 @@ SUBDIR += postgresql-odbc SUBDIR += postgresql-plruby SUBDIR += postgresql-pltcl + SUBDIR += postgresql-tcltk SUBDIR += postgresql7 SUBDIR += pxtools SUBDIR += py-MySQL diff --git a/databases/postgresql-tcltk/Makefile b/databases/postgresql-tcltk/Makefile new file mode 100644 index 000000000000..019338399df0 --- /dev/null +++ b/databases/postgresql-tcltk/Makefile @@ -0,0 +1,63 @@ +# New ports collection makefile for: PostgreSQL JDBC +# Date created: January 14, 2002 +# Whom: Palle Girgensohn <girgen@partitur.se> +# +# $FreeBSD$ +# + +PORTNAME= postgresql-tcltk +PORTVERSION= 7.2 +CATEGORIES= databases tcl83 tk83 + +MAINTAINER= girgen@partitur.se + +POSTGRESQL_SUBPORT=YES +.include <${.CURDIR}/../postgresql7/Makefile> + +LIB_DEPENDS= tcl${TCLVERSION:S/.//}:${PORTSDIR}/lang/tcl${TCLVERSION:S/.//} \ + pq:${PORTSDIR}/databases/postgresql7 + +# you can use "make TCLVERSION=8.4" or similar for your favourite tcl version +TCLVERSION?= 8.3 +PLIST_SUB+= TCLVERSION=${TCLVERSION} +CONFIGURE_ARGS= --with-tcl \ + --with-tclconfig=${TCLCONFIG} \ + --with-includes=${INCDIRS} + +TCL_INCDIR= ${LOCALBASE}/include/tcl${TCLVERSION} +TCLCONFIG= ${LOCALBASE}/lib/tcl${TCLVERSION} +MAKE_ENV+= TCL_INCDIR=${TCL_INCDIR} + +.if defined(WITHOUT_TK) +CONFIGURE_ARGS+= --without-tk +INCDIRS= ${TCL_INCDIR} +PLIST_SUB+= TK="@comment " +.else +CONFIGURE_ARGS+= --with-tkconfig="${TKCONFIG}" +TK_INCDIR= ${LOCALBASE}/include/tk${TCLVERSION} +CONFIGURE_ENV+= WISH=${LOCALBASE}/bin/wish${TCLVERSION} +LIB_DEPENDS+= tk${TCLVERSION:S/.//}:${PORTSDIR}/x11-toolkits/tk${TCLVERSION:S/.//} +TKCONFIG= ${LOCALBASE}/lib/tk${TCLVERSION} +INCDIRS= ${TCL_INCDIR}:${TK_INCDIR} +PLIST_SUB+= TK="" +.endif + +do-build: + @ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/bin/pgtclsh + @ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/interfaces/libpgtcl +.if !defined(WITHOUT_TK) + @ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/bin/pgaccess +.endif + +do-install: + @ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/bin/pgtclsh install + @ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/interfaces/libpgtcl install +.if !defined(WITHOUT_TK) + @ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/bin/pgaccess install +.endif +# Preparing a loadable TCL-package (pkgIndex.tcl) + @${MKDIR} ${PREFIX}/lib/tcl${TCLVERSION}/Pgtcl1.3 + @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/pkgIndex.tcl.in \ + > ${PREFIX}/lib/tcl${TCLVERSION}/Pgtcl1.3/pkgIndex.tcl + +.include <bsd.port.mk> diff --git a/databases/postgresql-tcltk/files/pkgIndex.tcl.in b/databases/postgresql-tcltk/files/pkgIndex.tcl.in new file mode 100644 index 000000000000..bd8329b15c69 --- /dev/null +++ b/databases/postgresql-tcltk/files/pkgIndex.tcl.in @@ -0,0 +1,4 @@ +# Package-index file for Pgtcl-package. Enables you to load PostgreSQL +# interface functions right into you TCL-interpreter as simply as +# package require Pgtcl +package ifneeded Pgtcl 1.3 "load %%PREFIX%%/lib/libpgtcl.so" diff --git a/databases/postgresql-tcltk/pkg-comment b/databases/postgresql-tcltk/pkg-comment new file mode 100644 index 000000000000..e9ecbb8442ee --- /dev/null +++ b/databases/postgresql-tcltk/pkg-comment @@ -0,0 +1 @@ +An TCL interface to the database PostgreSQL, including a tk GUI diff --git a/databases/postgresql-tcltk/pkg-descr b/databases/postgresql-tcltk/pkg-descr new file mode 100644 index 000000000000..32561ddf75c7 --- /dev/null +++ b/databases/postgresql-tcltk/pkg-descr @@ -0,0 +1,8 @@ +libpgtcl is a library that implements Tcl commands for front-end +clients to interact with the Postgresql backends. + +pgaccess is a great graphical database management tool for PostgreSQL. + +This software is part of the standard PostgreSQL distribution. + +WWW: http://www.postgresql.org/ diff --git a/databases/postgresql-tcltk/pkg-plist b/databases/postgresql-tcltk/pkg-plist new file mode 100644 index 000000000000..bd3771fa3e75 --- /dev/null +++ b/databases/postgresql-tcltk/pkg-plist @@ -0,0 +1,148 @@ +bin/pgtclsh +include/libpgtcl.h +lib/tcl%%TCLVERSION%%/Pgtcl1.3/pkgIndex.tcl +@dirrm lib/tcl%%TCLVERSION%%/Pgtcl1.3 +lib/libpgtcl.a +lib/libpgtcl.so +lib/libpgtcl.so.2 +%%TK%%bin/pgtksh +%%TK%%bin/pgaccess +%%TK%%share/postgresql/pgaccess/lib/help/abort.hlp +%%TK%%share/postgresql/pgaccess/lib/help/add_records.hlp +%%TK%%share/postgresql/pgaccess/lib/help/alter_table.hlp +%%TK%%share/postgresql/pgaccess/lib/help/alter_user.hlp +%%TK%%share/postgresql/pgaccess/lib/help/author.hlp +%%TK%%share/postgresql/pgaccess/lib/help/begin.hlp +%%TK%%share/postgresql/pgaccess/lib/help/close.hlp +%%TK%%share/postgresql/pgaccess/lib/help/cluster.hlp +%%TK%%share/postgresql/pgaccess/lib/help/commit.hlp +%%TK%%share/postgresql/pgaccess/lib/help/copy.hlp +%%TK%%share/postgresql/pgaccess/lib/help/copyrights.hlp +%%TK%%share/postgresql/pgaccess/lib/help/create_aggregate.hlp +%%TK%%share/postgresql/pgaccess/lib/help/create_database.hlp +%%TK%%share/postgresql/pgaccess/lib/help/create_function.hlp +%%TK%%share/postgresql/pgaccess/lib/help/create_index.hlp +%%TK%%share/postgresql/pgaccess/lib/help/create_language.hlp +%%TK%%share/postgresql/pgaccess/lib/help/create_operator.hlp +%%TK%%share/postgresql/pgaccess/lib/help/create_rule.hlp +%%TK%%share/postgresql/pgaccess/lib/help/create_sequence.hlp +%%TK%%share/postgresql/pgaccess/lib/help/create_table.hlp +%%TK%%share/postgresql/pgaccess/lib/help/create_table_as.hlp +%%TK%%share/postgresql/pgaccess/lib/help/create_trigger.hlp +%%TK%%share/postgresql/pgaccess/lib/help/create_type.hlp +%%TK%%share/postgresql/pgaccess/lib/help/create_user.hlp +%%TK%%share/postgresql/pgaccess/lib/help/create_view.hlp +%%TK%%share/postgresql/pgaccess/lib/help/data_types.hlp +%%TK%%share/postgresql/pgaccess/lib/help/datefunc.hlp +%%TK%%share/postgresql/pgaccess/lib/help/declare.hlp +%%TK%%share/postgresql/pgaccess/lib/help/delete.hlp +%%TK%%share/postgresql/pgaccess/lib/help/drop_aggregate.hlp +%%TK%%share/postgresql/pgaccess/lib/help/drop_database.hlp +%%TK%%share/postgresql/pgaccess/lib/help/drop_function.hlp +%%TK%%share/postgresql/pgaccess/lib/help/drop_index.hlp +%%TK%%share/postgresql/pgaccess/lib/help/drop_language.hlp +%%TK%%share/postgresql/pgaccess/lib/help/drop_operator.hlp +%%TK%%share/postgresql/pgaccess/lib/help/drop_rule.hlp +%%TK%%share/postgresql/pgaccess/lib/help/drop_sequence.hlp +%%TK%%share/postgresql/pgaccess/lib/help/drop_table.hlp +%%TK%%share/postgresql/pgaccess/lib/help/drop_trigger.hlp +%%TK%%share/postgresql/pgaccess/lib/help/drop_type.hlp +%%TK%%share/postgresql/pgaccess/lib/help/drop_user.hlp +%%TK%%share/postgresql/pgaccess/lib/help/drop_view.hlp +%%TK%%share/postgresql/pgaccess/lib/help/explain.hlp +%%TK%%share/postgresql/pgaccess/lib/help/fetch.hlp +%%TK%%share/postgresql/pgaccess/lib/help/form_design.hlp +%%TK%%share/postgresql/pgaccess/lib/help/forms.hlp +%%TK%%share/postgresql/pgaccess/lib/help/functions.hlp +%%TK%%share/postgresql/pgaccess/lib/help/geomfunc.hlp +%%TK%%share/postgresql/pgaccess/lib/help/grant.hlp +%%TK%%share/postgresql/pgaccess/lib/help/history.hlp +%%TK%%share/postgresql/pgaccess/lib/help/index.hlp +%%TK%%share/postgresql/pgaccess/lib/help/inheritance.hlp +%%TK%%share/postgresql/pgaccess/lib/help/insert.hlp +%%TK%%share/postgresql/pgaccess/lib/help/ipv4func.hlp +%%TK%%share/postgresql/pgaccess/lib/help/isolation.hlp +%%TK%%share/postgresql/pgaccess/lib/help/keywords.hlp +%%TK%%share/postgresql/pgaccess/lib/help/listen.hlp +%%TK%%share/postgresql/pgaccess/lib/help/load.hlp +%%TK%%share/postgresql/pgaccess/lib/help/lock.hlp +%%TK%%share/postgresql/pgaccess/lib/help/mathfunc.hlp +%%TK%%share/postgresql/pgaccess/lib/help/move.hlp +%%TK%%share/postgresql/pgaccess/lib/help/mvcc.hlp +%%TK%%share/postgresql/pgaccess/lib/help/new_query.hlp +%%TK%%share/postgresql/pgaccess/lib/help/new_table.hlp +%%TK%%share/postgresql/pgaccess/lib/help/notify.hlp +%%TK%%share/postgresql/pgaccess/lib/help/open_query.hlp +%%TK%%share/postgresql/pgaccess/lib/help/open_table.hlp +%%TK%%share/postgresql/pgaccess/lib/help/pgfunctions.hlp +%%TK%%share/postgresql/pgaccess/lib/help/postgresql.hlp +%%TK%%share/postgresql/pgaccess/lib/help/queries.hlp +%%TK%%share/postgresql/pgaccess/lib/help/reports.hlp +%%TK%%share/postgresql/pgaccess/lib/help/reset.hlp +%%TK%%share/postgresql/pgaccess/lib/help/revoke.hlp +%%TK%%share/postgresql/pgaccess/lib/help/rollback.hlp +%%TK%%share/postgresql/pgaccess/lib/help/schema.hlp +%%TK%%share/postgresql/pgaccess/lib/help/scripts.hlp +%%TK%%share/postgresql/pgaccess/lib/help/select.hlp +%%TK%%share/postgresql/pgaccess/lib/help/select_into.hlp +%%TK%%share/postgresql/pgaccess/lib/help/sequences.hlp +%%TK%%share/postgresql/pgaccess/lib/help/set.hlp +%%TK%%share/postgresql/pgaccess/lib/help/show.hlp +%%TK%%share/postgresql/pgaccess/lib/help/sql_guide.hlp +%%TK%%share/postgresql/pgaccess/lib/help/sqlfunc.hlp +%%TK%%share/postgresql/pgaccess/lib/help/stringfunc.hlp +%%TK%%share/postgresql/pgaccess/lib/help/tables.hlp +%%TK%%share/postgresql/pgaccess/lib/help/unlisten.hlp +%%TK%%share/postgresql/pgaccess/lib/help/update.hlp +%%TK%%share/postgresql/pgaccess/lib/help/users.hlp +%%TK%%share/postgresql/pgaccess/lib/help/vacuum.hlp +%%TK%%share/postgresql/pgaccess/lib/help/view_table_structure.hlp +%%TK%%share/postgresql/pgaccess/lib/help/views.hlp +%%TK%%share/postgresql/pgaccess/lib/help/visual_designer.hlp +%%TK%%share/postgresql/pgaccess/lib/help/y2k.hlp +%%TK%%@dirrm share/postgresql/pgaccess/lib/help +%%TK%%share/postgresql/pgaccess/lib/languages/chinese_big5 +%%TK%%share/postgresql/pgaccess/lib/languages/chinese_gb +%%TK%%share/postgresql/pgaccess/lib/languages/czech +%%TK%%share/postgresql/pgaccess/lib/languages/deutsch +%%TK%%share/postgresql/pgaccess/lib/languages/euskara +%%TK%%share/postgresql/pgaccess/lib/languages/francais +%%TK%%share/postgresql/pgaccess/lib/languages/italiano +%%TK%%share/postgresql/pgaccess/lib/languages/japanese +%%TK%%share/postgresql/pgaccess/lib/languages/magyar +%%TK%%share/postgresql/pgaccess/lib/languages/nederlands +%%TK%%share/postgresql/pgaccess/lib/languages/portugues +%%TK%%share/postgresql/pgaccess/lib/languages/romana +%%TK%%share/postgresql/pgaccess/lib/languages/russian.koi8r +%%TK%%share/postgresql/pgaccess/lib/languages/russian_win +%%TK%%share/postgresql/pgaccess/lib/languages/spanish +%%TK%%@dirrm share/postgresql/pgaccess/lib/languages +%%TK%%share/postgresql/pgaccess/lib/database.tcl +%%TK%%share/postgresql/pgaccess/lib/forms.tcl +%%TK%%share/postgresql/pgaccess/lib/functions.tcl +%%TK%%share/postgresql/pgaccess/lib/help.tcl +%%TK%%share/postgresql/pgaccess/lib/mainlib.tcl +%%TK%%share/postgresql/pgaccess/lib/preferences.tcl +%%TK%%share/postgresql/pgaccess/lib/queries.tcl +%%TK%%share/postgresql/pgaccess/lib/reports.tcl +%%TK%%share/postgresql/pgaccess/lib/schema.tcl +%%TK%%share/postgresql/pgaccess/lib/scripts.tcl +%%TK%%share/postgresql/pgaccess/lib/sequences.tcl +%%TK%%share/postgresql/pgaccess/lib/tables.tcl +%%TK%%share/postgresql/pgaccess/lib/users.tcl +%%TK%%share/postgresql/pgaccess/lib/views.tcl +%%TK%%share/postgresql/pgaccess/lib/visualqb.tcl +%%TK%%@dirrm share/postgresql/pgaccess/lib +%%TK%%share/postgresql/pgaccess/images/icon_button.gif +%%TK%%share/postgresql/pgaccess/images/icon_checkbutton.gif +%%TK%%share/postgresql/pgaccess/images/icon_entry.gif +%%TK%%share/postgresql/pgaccess/images/icon_frame.gif +%%TK%%share/postgresql/pgaccess/images/icon_label.gif +%%TK%%share/postgresql/pgaccess/images/icon_listbox.gif +%%TK%%share/postgresql/pgaccess/images/icon_query.gif +%%TK%%share/postgresql/pgaccess/images/icon_radiobutton.gif +%%TK%%share/postgresql/pgaccess/images/icon_text.gif +%%TK%%@dirrm share/postgresql/pgaccess/images +%%TK%%share/postgresql/pgaccess/main.tcl +%%TK%%@dirrm share/postgresql/pgaccess +%%TK%%@unexec rmdir %D/share/postgresql 2>/dev/null || true |