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

PORTNAME=   postgresql
PORTREVISION=   1
CATEGORIES= databases
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

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

USES=       bison

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

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

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

.include "${MASTERDIR}/Makefile"