Tweak databases/p5-Amazon-SimpleDB version 0.03_1
[dports.git] / databases / postgresql96-contrib / Makefile
1 # Created by: Palle Girgensohn <girgen@pingpong.net>
2 # $FreeBSD$
3
4 PORTNAME=       postgresql
5 PORTREVISION=   0
6 CATEGORIES=     databases
7
8 MAINTAINER=     pgsql@FreeBSD.org
9 COMMENT=        The contrib utilities from the PostgreSQL distribution
10
11 MASTERDIR=      ${.CURDIR}/../postgresql96-server
12
13 USES=           bison pgsql:9.6 ssl
14
15 BUILD_DIRS=     src/port src/include src/common contrib
16 INSTALL_DIRS=   contrib
17
18 SLAVE_ONLY=     yes
19 COMPONENT=      -contrib
20 CONFIGURE_ARGS+=--with-openssl --disable-nls --with-uuid=bsd
21 LDFLAGS+=       -lpthread -L${PREFIX}/lib
22
23 OPTIONS_DEFINE= DOCS XML
24 OPTIONS_DEFAULT=XML
25 OPTIONS_SUB=    yes
26
27 XML_LIB_DEPENDS=libxslt.so:textproc/libxslt \
28                 libxml2.so:textproc/libxml2
29 XML_CONFIGURE_WITH=     libxml libxslt
30
31 post-configure: 
32                 @cd ${WRKSRC}/src/backend && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} symlinks
33
34 post-install:
35         @- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README
36
37 .include "${MASTERDIR}/Makefile"