freebsd-ports/databases/postgresql95-contrib/Makefile
Palle Girgensohn c44ccc450b Fix depenedency for postgresql13-contrib
And avoid hardcoding the version for all other versions as well, per suggestion
in the PR.

PR:		249888
Submitted by:	Christian Ullrich
2020-09-25 15:53:43 +00:00

31 lines
781 B
Makefile

# 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}/../postgresql95-server
USES= bison pgsql:${DISTVERSION:C/([0-9]\.?[0-9]).*/\1/g}
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 --with-uuid=bsd
LDFLAGS+= -lpthread -L${PREFIX}/lib
OPTIONS_DEFINE= DOCS
post-install:
@- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README
.include "${MASTERDIR}/Makefile"