mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
1e4b76852c
- Convert to new LIB_DEPENDS format for postgresql*-contrib Submitted by: sunpoet (myself) Reviewed by: crees (pgsql) Approved by: jgh (pgsql)
38 lines
940 B
Makefile
38 lines
940 B
Makefile
# Created by: Palle Girgensohn <girgen@pingpong.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= postgresql
|
|
PORTREVISION= 0
|
|
CATEGORIES= databases
|
|
PKGNAMESUFFIX?= ${DISTVERSION:R:S/.//}${COMPONENT}
|
|
|
|
MAINTAINER= pgsql@FreeBSD.org
|
|
COMMENT= The contrib utilities from the PostgreSQL distribution
|
|
|
|
LIB_DEPENDS= libxslt.so:${PORTSDIR}/textproc/libxslt \
|
|
libxml2.so:${PORTSDIR}/textproc/libxml2
|
|
|
|
USE_PGSQL= yes
|
|
DEFAULT_PGSQL_VER=93
|
|
MASTERDIR= ${.CURDIR}/../postgresql${DEFAULT_PGSQL_VER}-server
|
|
|
|
USES= bison
|
|
|
|
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
|
|
LDFLAGS+= ${PTHREAD_LIBS} -L${PREFIX}/lib
|
|
|
|
OPTIONS_DEFINE= OSSP_UUID
|
|
OSSP_UUID_DESC= Enable / disable ossp-uuid support
|
|
OPTIONS_DEFAULT= OSSP_UUID
|
|
|
|
NO_STAGE= yes
|
|
post-install:
|
|
@- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/extension/README
|
|
|
|
.include "${MASTERDIR}/Makefile"
|