opnsense-ports/databases/postgresql10-pltcl/Makefile
Franco Fichtner f5d1e7df9a */*: sync with upstream
Taken from: HardenedBSD
2017-08-14 15:10:54 +02:00

30 lines
726 B
Makefile

# Created by: Palle Girgensohn <girgen@partitur.se>
# $FreeBSD$
PORTNAME= postgresql
CATEGORIES= databases tcl
PKGNAMESUFFIX?= ${DISTVERSION:R:S/.//}${COMPONENT}
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?=10
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"