freebsd-ports/databases/postgresql90-contrib/Makefile
Sunpoet Po-Chuan Hsieh 1e4b76852c - Remove DISTV: only used in PKGNAMESUFFIX and complained by portlint
- Convert to new LIB_DEPENDS format for postgresql*-contrib

Submitted by:	sunpoet (myself)
Reviewed by:	crees (pgsql)
Approved by:	jgh (pgsql)
2013-10-15 17:17:05 +00:00

37 lines
913 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=90
MASTERDIR= ${.CURDIR}/../postgresql${DEFAULT_PGSQL_VER}-server
USES= bison
BUILD_DIRS= src/port contrib
INSTALL_DIRS= contrib
SLAVE_ONLY= yes
COMPONENT= -contrib
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
NO_STAGE= yes
post-install:
@- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/contrib/README
.include "${MASTERDIR}/Makefile"