Index: head/databases/postgresql92-pltcl/Makefile =================================================================== --- head/databases/postgresql92-pltcl/Makefile (revision 423056) +++ head/databases/postgresql92-pltcl/Makefile (revision 423057) @@ -1,6 +1,6 @@ # Created by: Palle Girgensohn # $FreeBSD$ WANT_PGSQL_VER= 9.2 -.include "${.CURDIR}/../postgresql91-pltcl/Makefile" +.include "${.CURDIR}/../postgresql96-pltcl/Makefile" Index: head/databases/postgresql93-pltcl/Makefile =================================================================== --- head/databases/postgresql93-pltcl/Makefile (revision 423056) +++ head/databases/postgresql93-pltcl/Makefile (revision 423057) @@ -1,6 +1,6 @@ # Created by: Palle Girgensohn # $FreeBSD$ WANT_PGSQL_VER= 9.3 -.include "${.CURDIR}/../postgresql91-pltcl/Makefile" +.include "${.CURDIR}/../postgresql96-pltcl/Makefile" Index: head/databases/postgresql94-pltcl/Makefile =================================================================== --- head/databases/postgresql94-pltcl/Makefile (revision 423056) +++ head/databases/postgresql94-pltcl/Makefile (revision 423057) @@ -1,6 +1,6 @@ # Created by: Palle Girgensohn # $FreeBSD$ WANT_PGSQL_VER= 9.4 -.include "${.CURDIR}/../postgresql91-pltcl/Makefile" +.include "${.CURDIR}/../postgresql96-pltcl/Makefile" Index: head/databases/postgresql95-pltcl/Makefile =================================================================== --- head/databases/postgresql95-pltcl/Makefile (revision 423056) +++ head/databases/postgresql95-pltcl/Makefile (revision 423057) @@ -1,6 +1,6 @@ # Created by: Palle Girgensohn # $FreeBSD$ WANT_PGSQL_VER= 9.5 -.include "${.CURDIR}/../postgresql91-pltcl/Makefile" +.include "${.CURDIR}/../postgresql96-pltcl/Makefile" Index: head/databases/postgresql96-pltcl/Makefile =================================================================== --- head/databases/postgresql96-pltcl/Makefile (revision 423056) +++ head/databases/postgresql96-pltcl/Makefile (revision 423057) @@ -1,6 +1,30 @@ # Created by: Palle Girgensohn # $FreeBSD$ -WANT_PGSQL_VER= 9.6 +PORTNAME= postgresql +CATEGORIES= databases tcl +PKGNAMESUFFIX?= ${DISTVERSION:R:S/.//}${COMPONENT} -.include "${.CURDIR}/../postgresql91-pltcl/Makefile" +MAINTAINER= pgsql@FreeBSD.org +COMMENT= Module for using Tcl to write SQL functions + +MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server + +WANT_PGSQL_VER?=9.6 + +USES+= tcl pgsql:${WANT_PGSQL_VER} +WANT_PGSQL= server + +CONFIGURE_ARGS= --with-tcl --without-tk \ + --with-tclconfig="${TCL_LIBDIR}" \ + --with-includes="${TCL_INCLUDEDIR}" + +CONFIGURE_ENV+= TCLSH="${TCLSH}" +MAKE_ENV+= TCL_INCDIR="${TCL_INCLUDEDIR}" + +BUILD_DIRS= src/backend src/pl/tcl +INSTALL_DIRS= src/pl/tcl +SLAVE_ONLY= yes +COMPONENT= -pltcl + +.include "${MASTERDIR}/Makefile"