opnsense-ports/databases/postgresql-plproxy/Makefile
Franco Fichtner a80b58ec68 */*: sync with upstream
Taken from: HardenedBSD
2018-12-12 07:35:20 +01:00

27 lines
582 B
Makefile

# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
PORTNAME= plproxy
DISTVERSIONPREFIX= ${PORTNAME}_
DISTVERSION= 2_8
PORTREVISION= 1
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>