blob: a5c98804b20267f7bc45095a103f52971c01f892 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
PORTNAME= plproxy
PORTVERSION= 2.5
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
USES+= bison gmake pgsql
PORTSCOUT= site:http://pgfoundry.org/frs/?group_id=1000207
.include <bsd.port.pre.mk>
.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
.include <bsd.port.post.mk>
|