From 5cfc6aa287d52deae5c03f5aea523678acd9a13a Mon Sep 17 00:00:00 2001 From: jlam Date: Sat, 18 Mar 2000 17:46:35 +0000 Subject: tk-postgreql: Tk interface to PostgreSQL --- databases/tk-postgresql/Makefile | 36 ++++++++++++++++++++++++++++++++++++ databases/tk-postgresql/pkg/COMMENT | 1 + databases/tk-postgresql/pkg/DESCR | 1 + databases/tk-postgresql/pkg/PLIST | 2 ++ 4 files changed, 40 insertions(+) create mode 100644 databases/tk-postgresql/Makefile create mode 100644 databases/tk-postgresql/pkg/COMMENT create mode 100644 databases/tk-postgresql/pkg/DESCR create mode 100644 databases/tk-postgresql/pkg/PLIST diff --git a/databases/tk-postgresql/Makefile b/databases/tk-postgresql/Makefile new file mode 100644 index 00000000000..5d3a3aad4a4 --- /dev/null +++ b/databases/tk-postgresql/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/03/18 17:46:35 jlam Exp $ + +PKGNAME= tk-${DISTNAME} + +DEPENDS+= tcl-postgresql-6.5.3:../../databases/tcl-postgresql +DEPENDS+= tk-8.0.5:../../x11/tk80 + +TCLSH= ${LOCALBASE}/bin/tclsh8.0 +TCL_INCDIR= ${LOCALBASE}/include/tcl8.0 +TCL_CONFIGDIR= ${LOCALBASE}/lib/tcl8.0 + +TK_INCDIR= ${LOCALBASE}/include/tk8.0 +TK_CONFIGDIR= ${LOCALBASE}/lib/tk8.0 + +USE_X11= yes + +MAKE_ENV+= INSTALLED_LIBPQ=1 INSTALLED_LIBPGTCL=1 + +CONFIGURE_ARGS+= --without-perl --without-odbc +CONFIGURE_ARGS+= --with-tcl \ + --with-tclconfig="${TCL_CONFIGDIR}" \ + --with-tkconfig="${TK_CONFIGDIR}" \ + --with-includes="${TCL_INCDIR} ${TK_INCDIR}" \ + --with-libraries="${LOCALBASE}/lib" +CONFIGURE_ENV+= TCLSH="${TCLSH}" + +do-build: + cd ${WRKSRC}/bin/pgtclsh && ${SETENV} ${MAKE_ENV} \ + ${MAKE_PROGRAM} ${MAKE_FLAGS} pgtksh + +do-install: + cd ${WRKSRC}/bin/pgtclsh && ${SETENV} ${MAKE_ENV} \ + ${MAKE_PROGRAM} ${MAKE_FLAGS} install_tk + strip ${PREFIX}/bin/pgtksh + +.include "../../databases/postgresql/Makefile.common" diff --git a/databases/tk-postgresql/pkg/COMMENT b/databases/tk-postgresql/pkg/COMMENT new file mode 100644 index 00000000000..20358497b41 --- /dev/null +++ b/databases/tk-postgresql/pkg/COMMENT @@ -0,0 +1 @@ +Tk interface to PostgreSQL diff --git a/databases/tk-postgresql/pkg/DESCR b/databases/tk-postgresql/pkg/DESCR new file mode 100644 index 00000000000..226c475c8b0 --- /dev/null +++ b/databases/tk-postgresql/pkg/DESCR @@ -0,0 +1 @@ +Tk interface to PostgreSQL consisting of a front-end Tcl/Tk client. diff --git a/databases/tk-postgresql/pkg/PLIST b/databases/tk-postgresql/pkg/PLIST new file mode 100644 index 00000000000..b59cf502916 --- /dev/null +++ b/databases/tk-postgresql/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/03/18 17:46:36 jlam Exp $ +bin/pgtksh -- cgit v1.2.3