freebsd-ports/databases/pgpool-II-43/Makefile
Muhammad Moinur Rahman 9afad41544 databases/pgpool-II-43: New Port
Connection pool server for PostgreSQL (4.3.X branch)

pgpool is a connection pool server for PostgreSQL. pgpool runs between
PostgreSQL's clients(front ends) and servers(back ends). A PostgreSQL
client can
connect to pgpool as if it were a standard PostgreSQL server.

pgpool caches the connection to PostgreSQL server to reduce the overhead
to
establish the connection to it.

WWW: https://pgpool.net/

Relnotes: https://www.pgpool.net/docs/43/en/html/release-4-3-0.html
Sponsored by:	Bounce Experts
2021-12-27 19:27:04 -06:00

49 lines
1.2 KiB
Makefile

PORTNAME= pgpool-II
PORTVERSION= 4.3.0
CATEGORIES= databases
MASTER_SITES= http://www.pgpool.net/mediawiki/images/
PKGNAMESUFFIX= -43
MAINTAINER= bofh@FreeBSD.org
COMMENT= Connection pool server for PostgreSQL (4.3.X branch)
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake libtool pgsql:9.6+
USE_LDCONFIG= yes
USE_RC_SUBR= pgpool
GNU_CONFIGURE= yes
CONFLICTS= pgpool-II
PORTSCOUT= limit:^4.3.[0-9]*
PORTDOCS= *
OPTIONS_DEFINE= DOCS MEMCACHED PAM SSL
OPTIONS_DEFAULT= SSL
MEMCACHED_DESC= Use memcached for in memory query cache
PAM_DESC= Build with PAM support
SSL_DESC= Build with OpenSSL support
MEMCACHED_LIB_DEPENDS= libmemcached.so:databases/libmemcached
MEMCACHED_CONFIGURE_ON= --with-memcached=${LOCALBASE}/include
PAM_CONFIGURE_ON= --with-pam
SSL_USES= ssl
SSL_CONFIGURE_WITH= openssl
post-install:
@${MKDIR} ${STAGEDIR}/var/run/pgpool
${INSTALL_LIB} ${WRKSRC}/src/libs/pcp/.libs/libpcp.so.2.0.0 ${STAGEDIR}${PREFIX}/lib
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR} "-not -name Makefile.\*"
.for f in AUTHORS ChangeLog NEWS TODO
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>