2010-09-20 15:46:47 +02:00
|
|
|
# New ports collection makefile for: postgresql-contrib
|
|
|
|
# Date created: June 10, 2003
|
|
|
|
# Whom: Palle Girgensohn <girgen@pingpong.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= postgresql
|
2011-10-18 11:03:33 +02:00
|
|
|
PORTREVISION= 0
|
2010-09-20 15:46:47 +02:00
|
|
|
CATEGORIES= databases
|
2011-10-18 11:03:33 +02:00
|
|
|
PKGNAMESUFFIX= -contrib
|
2010-09-20 15:46:47 +02:00
|
|
|
|
2012-01-19 04:35:49 +01:00
|
|
|
MAINTAINER= crees@FreeBSD.org
|
2010-09-20 15:46:47 +02:00
|
|
|
COMMENT= The contrib utilities from the PostgreSQL distribution
|
|
|
|
|
2011-10-18 11:03:33 +02:00
|
|
|
LIB_DEPENDS= xslt.2:${PORTSDIR}/textproc/libxslt xml2.5:${PORTSDIR}/textproc/libxml2
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libuuid.a:${PORTSDIR}/misc/ossp-uuid
|
|
|
|
|
2010-09-20 15:46:47 +02:00
|
|
|
USE_PGSQL= yes
|
|
|
|
DEFAULT_PGSQL_VER=90
|
|
|
|
MASTERDIR= ${.CURDIR}/../postgresql${DEFAULT_PGSQL_VER}-server
|
|
|
|
|
|
|
|
USE_BISON= build
|
|
|
|
|
|
|
|
BUILD_DIRS= src/port contrib
|
|
|
|
INSTALL_DIRS= contrib
|
|
|
|
|
|
|
|
SLAVE_ONLY= yes
|
2011-10-18 11:03:33 +02:00
|
|
|
CONFIGURE_ARGS+=--with-libxslt --with-libxml --with-ossp-uuid
|
2010-10-07 08:58:10 +02:00
|
|
|
LDFLAGS+= ${PTHREAD_LIBS} -L${PREFIX}/lib
|
2010-09-20 15:46:47 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/contrib/README
|
|
|
|
|
|
|
|
.include "${MASTERDIR}/Makefile"
|