freebsd-ports/databases/postgresql93-contrib/Makefile
Antoine Brodin 4d4db2684b Stage support
Reviewed by:	postgresql@
Tested by:	miwi and me
2014-02-26 17:24:35 +00:00

36 lines
937 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
post-install:
@- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README
.include "${MASTERDIR}/Makefile"