freebsd-ports/databases/postgresql-plproxy/Makefile
Torsten Zuehlsdorff efc32c3047 databases/postgresql-plproxy: Update from 2.5 to 2.7
Changelog: https://plproxy.github.io/changelog.html

This adds support for PostgreSQL 9.5

Also:
- take maintainership
- change MASTERSITE to GitHub
- remove obsoleted check for PostgreSQL 9.1 (no longer in ports)
- update homepage of project

PR: 201796, 217515
2017-03-14 13:46:14 +00:00

29 lines
564 B
Makefile

# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
PORTNAME= plproxy
PORTVERSION= 2.7
CATEGORIES= databases
PKGNAMEPREFIX= postgresql-
MAINTAINER= tz@FreeBSD.org
COMMENT= PL/Proxy - database partitioning system
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
USES= bison gmake pgsql
USE_GITHUB= yes
GH_TAGNAME= plproxy_2_7
.include <bsd.port.pre.mk>
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.post.mk>