summaryrefslogtreecommitdiff
path: root/databases/tk-postgresql73
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-07-24 22:28:08 +0000
committerrecht <recht@pkgsrc.org>2004-07-24 22:28:08 +0000
commitbd3082e0eb971b112bffb592731fb93f56aa90e5 (patch)
tree0594ff0336cdf2a9642af8d5bdc1eb0628510db4 /databases/tk-postgresql73
parentabeae6517d85f944887e1791cba107c58b1f26f1 (diff)
downloadpkgsrc-bd3082e0eb971b112bffb592731fb93f56aa90e5.tar.gz
reimport of tk-postgresql as tk-postgresql73
Tk interface to PostgreSQL consisting of a front-end Tcl/Tk client.
Diffstat (limited to 'databases/tk-postgresql73')
-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