aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql92-contrib/Makefile
blob: e1744a8bb3c74fd594169057e28d6098a8e8fab8 (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@pingpong.net>
# $FreeBSD$

PORTNAME=   postgresql
CATEGORIES= databases
PORTREVISION=   1
PKGNAMESUFFIX?= ${DISTVERSION:R:S/.//}${COMPONENT}

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

LIB_DEPENDS=    libxslt.so:${PORTSDIR}/textproc/libxslt \
        libxml2.so:${PORTSDIR}/textproc/libxml2

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

USES+=      bison pgsql:9.2

BUILD_DIRS= src/port contrib
INSTALL_DIRS=   contrib

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

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

.include "${MASTERDIR}/Makefile"