Changelog: https://pgpool.net/mediawiki/index.php?title=Main_Page#Pgpool-II_4.7_RC1_released_(2025/12/09)
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
PORTNAME= pgpool-II
|
|
DISTVERSION= 4.7RC1
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://www.pgpool.net/mediawiki/images/
|
|
PKGNAMESUFFIX= -47
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Connection pool server for PostgreSQL (4.7.X branch)
|
|
WWW= https://pgpool.net/
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= gmake libtool pgsql
|
|
USE_LDCONFIG= yes
|
|
USE_RC_SUBR= pgpool
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
CONFLICTS_INSTALL= pgpool-II-[0-9][0-9] pgpool-II[0-9][0-9] # etc/escalation.sh.sample etc/failover.sh.sample etc/pcp.conf.sample
|
|
|
|
PORTSCOUT= limit:^4.7.[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
|
|
|
|
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>
|