aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql90-contrib/Makefile
blob: c97a7286f1323a1701514d40c5edcbe11c3997c9 (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
31
32
33
34
35
36
37
# Created by:   Palle Girgensohn <girgen@pingpong.net>
#
# $FreeBSD$
#

PORTNAME=   postgresql
PORTREVISION=   0
CATEGORIES= databases
PKGNAMESUFFIX=  -contrib

MAINTAINER= pgsql@FreeBSD.org
COMMENT=    The contrib utilities from the PostgreSQL distribution

LIB_DEPENDS=    xslt.2:${PORTSDIR}/textproc/libxslt \
        xml2.5:${PORTSDIR}/textproc/libxml2

USE_PGSQL=  yes
DEFAULT_PGSQL_VER=90
MASTERDIR=  ${.CURDIR}/../postgresql${DEFAULT_PGSQL_VER}-server

USE_BISON=  build

BUILD_DIRS= src/port contrib
INSTALL_DIRS=   contrib

SLAVE_ONLY= yes
CONFIGURE_ARGS+=--with-libxslt --with-libxml --with-openssl
LDFLAGS+=   ${PTHREAD_LIBS} -L${PREFIX}/lib

OPTIONS_DEFINE= OSSP_UUID
OSSP_UUID_DESC= Enable / disable ossp-uuid support
OPTIONS_DEFAULT=    OSSP_UUID

post-install:
    @- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/contrib/README

.include "${MASTERDIR}/Makefile"