summaryrefslogtreecommitdiff
path: root/databases/tk-postgresql
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-03-18 17:46:35 +0000
committerjlam <jlam@pkgsrc.org>2000-03-18 17:46:35 +0000
commit5cfc6aa287d52deae5c03f5aea523678acd9a13a (patch)
tree8474bbec6ab533e4efad85814aa3972970618ebd /databases/tk-postgresql
parente644a79986b26e4666f17dcd6cb2f2ba2127b5d9 (diff)
downloadpkgsrc-5cfc6aa287d52deae5c03f5aea523678acd9a13a.tar.gz
tk-postgreql: Tk interface to PostgreSQL
Diffstat (limited to 'databases/tk-postgresql')
-rw-r--r--databases/tk-postgresql/Makefile36
-rw-r--r--databases/tk-postgresql/pkg/COMMENT1
-rw-r--r--databases/tk-postgresql/pkg/DESCR1
-rw-r--r--databases/tk-postgresql/pkg/PLIST2
4 files changed, 40 insertions, 0 deletions
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