summaryrefslogtreecommitdiff
path: root/databases
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
commit87e0fa1a5f467516d6f52ba08b6e372174d70b7b (patch)
tree0594ff0336cdf2a9642af8d5bdc1eb0628510db4 /databases
parent8277db15bab306a675dc6d302d06a39b3c1af4e1 (diff)
downloadpkgsrc-87e0fa1a5f467516d6f52ba08b6e372174d70b7b.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')
-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