freebsd-ports/databases/postgresql91-contrib/Makefile
Baptiste Daroussin 9250d94365 Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
2013-03-08 11:32:11 +00:00

34 lines
830 B
Makefile

# Created by: Palle Girgensohn <girgen@pingpong.net>
# $FreeBSD$
PORTNAME= postgresql
CATEGORIES= databases
PKGNAMESUFFIX= -contrib
MAINTAINER= pgsql@FreeBSD.org
COMMENT= The contrib utilities from the PostgreSQL distribution
LIB_DEPENDS= xslt.2:${PORTSDIR}/textproc/libxslt \
xml2.5:${PORTSDIR}/textproc/libxml2
USE_PGSQL= yes
DEFAULT_PGSQL_VER=91
MASTERDIR= ${.CURDIR}/../postgresql${DEFAULT_PGSQL_VER}-server
USES= bison
BUILD_DIRS= src/port contrib
INSTALL_DIRS= contrib
SLAVE_ONLY= yes
CONFIGURE_ARGS+=--with-libxslt --with-libxml --with-openssl
LDFLAGS+= ${PTHREAD_LIBS} -L${PREFIX}/lib
OPTIONS_DEFINE= OSSP_UUID
OSSP_UUID_DESC= Enable / disable ossp-uuid support
OPTIONS_DEFAULT= OSSP_UUID
post-install:
@- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/extension/README
.include "${MASTERDIR}/Makefile"