2017-08-10 14:23:31 +00:00
|
|
|
# Created by: Palle Girgensohn <girgen@pingpong.net>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= postgresql
|
2017-08-13 13:52:53 +00:00
|
|
|
PORTREVISION= 1
|
2017-08-10 14:23:31 +00:00
|
|
|
CATEGORIES= databases
|
|
|
|
|
|
|
|
MAINTAINER= pgsql@FreeBSD.org
|
|
|
|
COMMENT= The contrib utilities from the PostgreSQL distribution
|
|
|
|
|
|
|
|
LIB_DEPENDS= libxslt.so:textproc/libxslt \
|
|
|
|
libxml2.so:textproc/libxml2
|
|
|
|
|
2017-08-11 05:26:18 +00:00
|
|
|
MASTERDIR= ${.CURDIR}/../postgresql10-server
|
2017-08-10 14:23:31 +00:00
|
|
|
|
|
|
|
USES= bison pgsql:10
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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"
|