060a528952
Also, try to break the previous 1:1 relation between FreeBSD system and PostgreSQL versions installed. Use different PREFIX:es to install different versions on the same system. PR: ports/132402, ports/145002, ports/146657
32 lines
795 B
Makefile
32 lines
795 B
Makefile
# New ports collection makefile for: postgresql-contrib
|
|
# Date created: June 10, 2003
|
|
# Whom: Palle Girgensohn <girgen@pingpong.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= postgresql
|
|
PKGNAMESUFFIX= -contrib
|
|
CATEGORIES= databases
|
|
|
|
MAINTAINER= girgen@FreeBSD.org
|
|
COMMENT= The contrib utilities from the PostgreSQL distribution
|
|
|
|
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
|
|
CONFIGURE_ARGS+=--with-libxslt --with-libxml
|
|
LIB_DEPENDS= xslt.2:${PORTSDIR}/textproc/libxslt xml2.5:${PORTSDIR}/textproc/libxml2
|
|
LDFLAGS+= ${PTHREAD_LIBS} -L${PREFIX}/lib
|
|
|
|
post-install:
|
|
@- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/contrib/README
|
|
|
|
.include "${MASTERDIR}/Makefile"
|