blob: 19bd238af931c67c6395675afd61b3f20e70076b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
PORTNAME= pgpool-II
PORTVERSION= 4.0.22
CATEGORIES= databases
MASTER_SITES= http://www.pgpool.net/mediawiki/images/
PKGNAMESUFFIX= 40
MAINTAINER= tz@FreeBSD.org
COMMENT= Connection pool server for PostgreSQL
WWW= https://pgpool.net/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake libtool pgsql:11+
USE_LDCONFIG= yes
USE_RC_SUBR= pgpool
GNU_CONFIGURE= yes
CONFLICTS_INSTALL= pgpool-II-[0-9][0-9] pgpool-II[0-9][0-9] # etc/pcp.conf.sample
PORTSCOUT= limit:^4.0.[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
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
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>
|