summaryrefslogtreecommitdiff
path: root/databases/tcl-postgresql74/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/tcl-postgresql74/Makefile')
-rw-r--r--databases/tcl-postgresql74/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/databases/tcl-postgresql74/Makefile b/databases/tcl-postgresql74/Makefile
new file mode 100644
index 00000000000..105daa37490
--- /dev/null
+++ b/databases/tcl-postgresql74/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/04/29 13:58:04 gson Exp $
+
+PKGNAME= tcl-postgresql74-${BASE_VERS}
+COMMENT= Tcl interface to PostgreSQL
+
+.include "../postgresql74/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/port
+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 "../postgresql74-lib/buildlink3.mk"
+.include "../../lang/tcl/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"