# Created by: Sergey Skvortsov # $FreeBSD: head/databases/postgresql-plproxy/Makefile 388460 2015-06-03 17:27:30Z amdmi3 $ PORTNAME= plproxy PORTVERSION= 2.5 PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= http://pgfoundry.org/frs/download.php/3392/ PKGNAMEPREFIX= postgresql- MAINTAINER= ports@FreeBSD.org COMMENT= PL/Proxy - database partitioning system LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/COPYRIGHT USES= bison gmake pgsql PORTSCOUT= site:http://pgfoundry.org/frs/?group_id=1000207 .include .if ${PGSQL_VER} > 9.1 PLIST_SUB+= NEW_CONTRIB_DIR="" OLD_CONTRIB_DIR="@comment " .else PLIST_SUB+= NEW_CONTRIB_DIR="@comment " OLD_CONTRIB_DIR="" .endif post-patch: @${REINPLACE_CMD} -e \ '/^#ifdef/s| SYS_| HAVE_SYS_|' ${WRKSRC}/src/execute.c post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/plproxy.so .include