opnsense-ports/databases/postgresql-plproxy/Makefile
Franco Fichtner fa4fbd1bd9 */*: sync with upstream
Taken from: HardenedBSD
2018-06-24 18:59:00 +02:00

26 lines
566 B
Makefile

# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
PORTNAME= plproxy
DISTVERSIONPREFIX= ${PORTNAME}_
DISTVERSION= 2_8
CATEGORIES= databases
PKGNAMEPREFIX= postgresql-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= PL/Proxy - Function-based sharding for PostgreSQL
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
USES= bison gmake pgsql
LLD_UNSAFE= yes
USE_GITHUB= yes
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 <bsd.port.mk>