aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql11-contrib/Makefile
blob: b3246b65d2f6c2c93108253ec19516a9fddf6413 (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
# Created by: Palle Girgensohn <girgen@pingpong.net>
# $FreeBSD$

PORTNAME=   postgresql
PORTREVISION=   0
CATEGORIES= databases

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

LIB_DEPENDS=    libxslt.so:textproc/libxslt \
        libxml2.so:textproc/libxml2

MASTERDIR=  ${.CURDIR}/../postgresql11-server

USES=       bison pgsql:11

BUILD_DIRS= src/port src/include src/common contrib
INSTALL_DIRS=   contrib

SLAVE_ONLY= yes
COMPONENT=  -contrib
CONFIGURE_ARGS+=--with-libxslt --with-libxml --with-openssl --disable-nls --with-uuid=bsd
LDFLAGS+=   -lpthread -L${PREFIX}/lib

OPTIONS_DEFINE= DOCS

post-configure: 
        @cd ${WRKSRC}/src/backend && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} symlinks

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

.include "${MASTERDIR}/Makefile"