summaryrefslogtreecommitdiff
path: root/databases/postgresql82-pltcl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql82-pltcl/Makefile')
-rw-r--r--databases/postgresql82-pltcl/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/databases/postgresql82-pltcl/Makefile b/databases/postgresql82-pltcl/Makefile
new file mode 100644
index 00000000000..cfbce001264
--- /dev/null
+++ b/databases/postgresql82-pltcl/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/12/09 16:14:46 adam Exp $
+
+PKGNAME= postgresql82-pltcl-${BASE_VERS}
+COMMENT= PL/Tcl procedural language for the PostgreSQL backend
+
+DEPENDS+= postgresql82-server>=${BASE_VERS}:../../databases/postgresql82-server
+
+.include "../../databases/postgresql82/Makefile.common"
+
+CONFIGURE_ARGS+= --with-tcl
+CONFIGURE_ARGS+= --with-tclconfig="${BUILDLINK_PREFIX.tcl}/lib"
+CONFIGURE_ENV+= TCLSH="${TCLSH}"
+TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
+
+BUILD_DIRS= ${WRKSRC}/src/pl/tcl
+
+USE_LIBTOOL= yes
+PKG_LIBTOOL= ${PKG_SHLIBTOOL}
+
+.include "../../databases/postgresql82-client/buildlink3.mk"
+.include "../../lang/tcl/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"