1 # $NetBSD: Makefile,v 1.9 2008/06/12 02:14:18 joerg Exp $
5 MASTER_SITES= http://pgfoundry.org/frs/download.php/1446/
7 MAINTAINER= pkgsrc-users@NetBSD.org
8 HOMEPAGE= http://pgpool.projects.postgresql.org/
9 COMMENT= Connection pooling/replication server for PostgreSQL
11 PKG_DESTDIR_SUPPORT= user-destdir
15 CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR:Q}
17 INSTALLATION_DIRS= share/examples
19 CONF_FILES= ${PREFIX}/share/examples/pgpool.conf.sample \
20 ${PKG_SYSCONFDIR}/pgpool.conf
21 CONF_FILES+= ${PREFIX}/share/examples/pool_hba.conf.sample \
22 ${PKG_SYSCONFDIR}/pool_hba.conf
25 ${INSTALL_DATA} ${WRKSRC}/pgpool.conf.sample \
26 ${DESTDIR}${PREFIX}/share/examples
27 ${INSTALL_DATA} ${WRKSRC}/pool_hba.conf.sample \
28 ${DESTDIR}${PREFIX}/share/examples
30 .include "../../mk/bsd.pkg.mk"