aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql91-contrib/Makefile
blob: 1fdb81d3fbed948ac45128ccbfd02c0dd47e714a (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
# New ports collection makefile for:    postgresql-contrib
# Date created:     June 10, 2003
# Whom:         Palle Girgensohn <girgen@pingpong.net>
#
# $FreeBSD$
#

PORTNAME=   postgresql
CATEGORIES= databases
PKGNAMESUFFIX=  -contrib

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

LIB_DEPENDS=    xslt.2:${PORTSDIR}/textproc/libxslt xml2.5:${PORTSDIR}/textproc/libxml2
BUILD_DEPENDS=  ${LOCALBASE}/lib/libuuid.a:${PORTSDIR}/misc/ossp-uuid

USE_PGSQL=  yes
DEFAULT_PGSQL_VER=91
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-ossp-uuid
LDFLAGS+=   ${PTHREAD_LIBS} -L${PREFIX}/lib

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

.include "${MASTERDIR}/Makefile"