freebsd-ports/databases/pgpool-II-41/Makefile
Muhammad Moinur Rahman 45438e7433 databases/pgpool-II-41: Update version 4.1.2=>4.1.6
- Pet portlint
- Fix pkg-plist. Except the default pgpool.conf.sample other
  pgpool.conf.sample* represents different configurations for different
  scenario. Only the pgpool.conf.sample should create a corresponding
  pgpool.conf file. Hence removing the @sample directive for the other
  pgpool.conf.sample*

Approved by:	tz
Relnotes: https://www.pgpool.net/docs/latest/en/html/release-4-1-6.html
Sponsored by:	Bounce Experts
Differential Revision:	https://reviews.freebsd.org/D30177
2021-05-11 16:42:32 +00:00

51 lines
1.2 KiB
Makefile

PORTNAME= pgpool-II
PORTVERSION= 4.1.6
CATEGORIES= databases
MASTER_SITES= http://www.pgpool.net/mediawiki/images/
PKGNAMESUFFIX= 41
MAINTAINER= tz@FreeBSD.org
COMMENT= Connection pool server for PostgreSQL
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
PORTSCOUT= limit:^4.1.[0-9]*
USES= gmake libtool pgsql:9.6+
USE_LDCONFIG= yes
USE_RC_SUBR= pgpool
GNU_CONFIGURE= yes
CONFLICTS= pgpool-II-[0-9]*
PORTDOCS= *
PAM_DESC= Build with PAM support
SSL_DESC= Build with OpenSSL support
MEMCACHED_DESC = Use memcached for in memory query cache
OPTIONS_DEFINE= DOCS SSL PAM MEMCACHED
OPTIONS_DEFAULT= SSL
MEMCACHED_CONFIGURE_ON= --with-memcached=${LOCALBASE}/include
MEMCACHED_LIB_DEPENDS= libmemcached.so:databases/libmemcached
PAM_CONFIGURE_ON= --with-pam
SSL_CONFIGURE_WITH= openssl
SSL_USES= ssl
post-install:
@${MKDIR} ${STAGEDIR}/var/run/pgpool
${INSTALL_LIB} ${WRKSRC}/src/libs/pcp/.libs/libpcp.so.1.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>