summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-07-24 22:25:01 +0000
committerrecht <recht@pkgsrc.org>2004-07-24 22:25:01 +0000
commit7cf814fc56aafa0dbf7c810b021f7d4fb54f03ef (patch)
treebd8334b3736795a5385d1d5de8fb5307cac5848e /databases
parent0d27f1d887a7f0c73af4dbfae85f984c9aab751f (diff)
downloadpkgsrc-7cf814fc56aafa0dbf7c810b021f7d4fb54f03ef.tar.gz
reimport of tcl-postgresql as tcl-postgresql73
Tcl interface to PostgreSQL, including front-end clients and a loadable shared object for Tcl clients.
Diffstat (limited to 'databases')
-rw-r--r--databases/tcl-postgresql73/DESCR2
-rw-r--r--databases/tcl-postgresql73/Makefile27
-rw-r--r--databases/tcl-postgresql73/PLIST8
-rw-r--r--databases/tcl-postgresql73/buildlink3.mk21
-rw-r--r--databases/tcl-postgresql73/files/man.tcl3
5 files changed, 61 insertions, 0 deletions
diff --git a/databases/tcl-postgresql73/DESCR b/databases/tcl-postgresql73/DESCR
new file mode 100644
index 00000000000..a6d6ddcf608
--- /dev/null
+++ b/databases/tcl-postgresql73/DESCR
@@ -0,0 +1,2 @@
+Tcl interface to PostgreSQL, including front-end clients and a loadable
+shared object for Tcl clients.
diff --git a/databases/tcl-postgresql73/Makefile b/databases/tcl-postgresql73/Makefile
new file mode 100644
index 00000000000..c160df2ca9c
--- /dev/null
+++ b/databases/tcl-postgresql73/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/24 22:25:01 recht Exp $
+
+PKGNAME= tcl-postgresql73-${BASE_VERS}
+COMMENT= Tcl interface to PostgreSQL
+
+USE_BUILDLINK3= yes
+
+.include "../postgresql73/Makefile.common"
+
+CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
+CONFIGURE_ARGS+= --with-tcl
+CONFIGURE_ARGS+= --with-tclconfig="${BUILDLINK_PREFIX.tcl}/lib"
+CONFIGURE_ENV+= TCLSH="${TCLSH}"
+TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
+MAKE_ENV+= INSTALLED_LIBPQ=1
+
+BUILD_DIRS= ${WRKSRC}/src/interfaces/libpgtcl
+BUILD_DIRS+= ${WRKSRC}/src/bin/pgtclsh
+
+post-install:
+ ${GTAR} zxCf ${PREFIX}/man ${WRKSRC}/doc/man.tar.gz \
+ `${SED} -e "s|#.*||" ${FILESDIR}/man.tcl`
+
+.include "../postgresql73-lib/buildlink3.mk"
+.include "../../lang/tcl/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/tcl-postgresql73/PLIST b/databases/tcl-postgresql73/PLIST
new file mode 100644
index 00000000000..f7c83a7413a
--- /dev/null
+++ b/databases/tcl-postgresql73/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/24 22:25:01 recht Exp $
+bin/pgtclsh
+include/postgresql/libpgtcl.h
+lib/libpgtcl.a
+lib/libpgtcl.so
+lib/libpgtcl.so.2
+lib/libpgtcl.so.2.3
+man/man1/pgtclsh.1
diff --git a/databases/tcl-postgresql73/buildlink3.mk b/databases/tcl-postgresql73/buildlink3.mk
new file mode 100644
index 00000000000..c776f991959
--- /dev/null
+++ b/databases/tcl-postgresql73/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/07/24 22:25:01 recht Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+TCL_POSTGRESQL_BUILDLINK3_MK:= ${TCL_POSTGRESQL_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= tcl-postgresql
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntcl-postgresql}
+BUILDLINK_PACKAGES+= tcl-postgresql
+
+.if !empty(TCL_POSTGRESQL_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.tcl-postgresql+= tcl-postgresql>=7.3.1
+BUILDLINK_RECOMMENDED.tcl-postgresql?= tcl-postgresql>=7.3.4nb3
+BUILDLINK_PKGSRCDIR.tcl-postgresql?= ../../databases/tcl-postgresql
+.endif # TCL_POSTGRESQL_BUILDLINK3_MK
+
+.include "../../lang/tcl/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/databases/tcl-postgresql73/files/man.tcl b/databases/tcl-postgresql73/files/man.tcl
new file mode 100644
index 00000000000..3afb0b88b80
--- /dev/null
+++ b/databases/tcl-postgresql73/files/man.tcl
@@ -0,0 +1,3 @@
+# $NetBSD: man.tcl,v 1.1.1.1 2004/07/24 22:25:01 recht Exp $
+#
+man1/pgtclsh.1