aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql91-pltcl/Makefile
blob: 895896a8d16e0bdf0dcf36208a3e8be9809e3301 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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?=9.1

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"