openbsd-ports/databases/pgpool/Makefile

43 lines
1.0 KiB
Makefile
Raw Normal View History

2012-09-24 15:39:59 -04:00
# $OpenBSD: Makefile,v 1.3 2012/09/24 19:39:59 pea Exp $
COMMENT= connection pool server for PostgreSQL
2012-09-24 15:39:59 -04:00
DISTNAME= pgpool-II-3.2.0
CATEGORIES= databases
HOMEPAGE= http://www.pgpool.net/
MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>
SHARED_LIBS= pcp 0.0
# BSD
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
2012-06-18 07:39:47 -04:00
MASTER_SITES= http://www.pgpool.net/mediawiki/images/
2012-09-24 15:39:59 -04:00
WANTLIB= c crypto m pq ssl pthread
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-openssl
USE_GMAKE= Yes
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/pgpool-II/
BUILD_DEPENDS = databases/postgresql,-server
LIB_DEPENDS = databases/postgresql
post-install:
@cd ${WRKSRC}/sql/pgpool-regclass && \
env -i ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \
-f ${MAKE_FILE} ${ALL_TARGET} && \
env -i ${MAKE_ENV} \
PREFIX=${WRKINST}${PREFIX} ${DESTDIRNAME}=${WRKINST} TRUEPREFIX=${PREFIX} \
${MAKE_PROGRAM} ${ALL_FAKE_FLAGS} -f ${MAKE_FILE} ${FAKE_TARGET}
.include <bsd.port.mk>