Files

56 lines
1.9 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup legacysupport 1.1
# strnlen
legacysupport.newest_darwin_requires_legacy 10
name pgbouncer
version 1.25.1
revision 0
categories databases
installs_libs no
license ISC
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
description Lightweight connection pooler for PostgreSQL
long_description pgbouncer is a PostgreSQL connection pooler. \
Any target application can be connected to \
pgbouncer as if it were a PostgreSQL server, \
and pgbouncer will manage to connect to the \
server, or to reuse one of its existing connections.
homepage https://www.pgbouncer.org
master_sites ${homepage}/downloads/files/${version}/
checksums rmd160 1414f5801dbb4977679fc50c9930141a585198af \
sha256 6e566ae92fe3ef7f6a1b9e26d6049f7d7ca39c40e29e7b38f6d5500ae15d8465 \
size 864801
depends_build-append \
port:gmake \
path:bin/pkg-config:pkgconfig \
port:pandoc
depends_lib-append port:c-ares \
port:libevent \
path:lib/libssl.dylib:openssl
# https://trac.macports.org/wiki/WimplicitFunctionDeclaration#strchr
configure.checks.implicit_function_declaration.whitelist-append strchr
# https://trac.macports.org/ticket/70487
compiler.blacklist-append \
*gcc-4.0 *gcc-4.2
# Disable silent rules.
build.args V=1
livecheck.type regex
livecheck.url https://www.pgbouncer.org/downloads/
livecheck.regex pgbouncer-(\[0-9\\.\]+)\\.tar\\.gz