summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/tk-postgresql73/DESCR1
-rw-r--r--databases/tk-postgresql73/Makefile33
-rw-r--r--databases/tk-postgresql73/PLIST3
-rw-r--r--databases/tk-postgresql73/files/man.tk3
4 files changed, 40 insertions, 0 deletions
diff --git a/databases/tk-postgresql73/DESCR b/databases/tk-postgresql73/DESCR
new file mode 100644
index 00000000000..226c475c8b0
--- /dev/null
+++ b/databases/tk-postgresql73/DESCR
@@ -0,0 +1 @@
+Tk interface to PostgreSQL consisting of a front-end Tcl/Tk client.
diff --git a/databases/tk-postgresql73/Makefile b/databases/tk-postgresql73/Makefile
new file mode 100644
index 00000000000..92f6cc3b9dd
--- /dev/null
+++ b/databases/tk-postgresql73/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/24 22:28:08 recht Exp $
+
+PKGNAME= tk-postgresql73-${BASE_VERS}
+COMMENT= Tk interface to PostgreSQL
+
+USE_BUILDLINK3= yes
+
+.include "../postgresql73/Makefile.common"
+
+USE_X11= yes
+CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
+CONFIGURE_ARGS+= --with-tcl
+CONFIGURE_ARGS+= --with-tk
+CONFIGURE_ARGS+= --with-tclconfig=${BUILDLINK_PREFIX.tcl}/lib
+CONFIGURE_ARGS+= --with-tkconfig=${BUILDLINK_PREFIX.tk}/lib
+CONFIGURE_ENV+= TCLSH="${TCLSH}"
+TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
+MAKE_ENV+= INSTALLED_LIBPQ=1 INSTALLED_LIBPGTCL=1
+
+BUILD_DIRS= ${WRKSRC}/src/bin/pgtclsh
+ALL_TARGET= pgtksh
+INSTALL_TARGET= install-tk
+
+post-install:
+ ${GTAR} zxCf ${PREFIX}/man ${WRKSRC}/doc/man.tar.gz \
+ `${SED} -e "s|#.*||" ${FILESDIR}/man.tk`
+
+.include "../../databases/postgresql73-lib/buildlink3.mk"
+.include "../../databases/tcl-postgresql73/buildlink3.mk"
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../x11/tk/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/tk-postgresql73/PLIST b/databases/tk-postgresql73/PLIST
new file mode 100644
index 00000000000..8e0c4b37ff7
--- /dev/null
+++ b/databases/tk-postgresql73/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/24 22:28:08 recht Exp $
+bin/pgtksh
+man/man1/pgtksh.1
diff --git a/databases/tk-postgresql73/files/man.tk b/databases/tk-postgresql73/files/man.tk
new file mode 100644
index 00000000000..a232134eed6
--- /dev/null
+++ b/databases/tk-postgresql73/files/man.tk
@@ -0,0 +1,3 @@
+# $NetBSD: man.tk,v 1.1.1.1 2004/07/24 22:28:08 recht Exp $
+#
+man1/pgtksh.1