openbsd-ports/databases/pgbouncer/Makefile
sthen 91faa22c52 Where a program with an rc script _requires_ a certain command line
parameter to daemonize, move the parameter from daemon to daemon_flags,
so that the user cannot inadvertently prevent it from daemonizing by
adjusting the flags.

Discussed with ajacoutot and schwarze, this method was suggested
by schwarze@ as a simpler alternative to my diff. ok aja@
2011-12-17 22:01:12 +00:00

41 lines
958 B
Makefile

# $OpenBSD: Makefile,v 1.14 2011/12/17 22:01:12 sthen Exp $
COMMENT = lightweight connection pooler for PostgreSQL
DISTNAME = pgbouncer-1.4.2
REVISION = 0
CATEGORIES = databases
HOMEPAGE = http://wiki.postgresql.org/wiki/PgBouncer
MAINTAINER = Pierre-Emmanuel Andre <pea@openbsd.org>
# BSD
PERMIT_PACKAGE_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
WANTLIB = c event pthread
MASTER_SITES = http://pgfoundry.org/frs/download.php/3085/
BUILD_DEPENDS = devel/libeventextra
CONFIGURE_STYLE = gnu
#Disable the detection of asciidoc since docs are already included
CONFIGURE_ENV = ASCIIDOC=' '
CONFIGURE_ARGS = --with-libevent=${LOCALBASE}
MAKE_FLAGS+= V=1
USE_GMAKE = Yes
USE_GROFF = Yes
# The actual regress tests are (cd ${WRKSRC}/test; ./test.sh)
# They want to create full postgres install and also play with
# firewall (iptables)
NO_REGRESS = Yes
.include <bsd.port.mk>