2013-09-20 18:13:47 +02:00
|
|
|
# Created by: Choe, Cheng-Dae <whitekid@gmail.com>
|
2005-11-03 13:42:48 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2007-04-16 05:43:42 +02:00
|
|
|
PORTNAME= pgpool-II
|
2011-07-05 05:23:09 +02:00
|
|
|
PORTVERSION= 3.0.4
|
2005-11-03 13:42:48 +01:00
|
|
|
CATEGORIES= databases
|
2011-07-05 05:23:09 +02:00
|
|
|
MASTER_SITES= http://pgfoundry.org/frs/download.php/3076/
|
Fixup pkgnames.
PR: ports/184440, ports/184441, ports/184442, ports/184443, ports/184444, ports/184445, ports/184446, ports/184447, ports/184448, ports/184449, ports/184450
Submitted by: mat
Approved by: portmgr (bapt)
2013-12-05 12:10:49 +01:00
|
|
|
PKGNAMESUFFIX= 30
|
2005-11-03 13:42:48 +01:00
|
|
|
|
2007-04-16 05:43:42 +02:00
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
2005-11-03 13:42:48 +01:00
|
|
|
COMMENT= A connection pool server for PostgreSQL
|
|
|
|
|
2011-09-23 18:07:55 +02:00
|
|
|
LICENSE= BSD
|
|
|
|
|
2005-11-03 13:42:48 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2007-04-16 05:43:42 +02:00
|
|
|
USE_PGSQL= yes
|
2009-03-08 23:59:44 +01:00
|
|
|
USE_LDCONFIG= yes
|
2005-11-03 13:42:48 +01:00
|
|
|
|
Fixup pkgnames.
PR: ports/184440, ports/184441, ports/184442, ports/184443, ports/184444, ports/184445, ports/184446, ports/184447, ports/184448, ports/184449, ports/184450
Submitted by: mat
Approved by: portmgr (bapt)
2013-12-05 12:10:49 +01:00
|
|
|
CONFLICTS= pgpool-3.* pgpool-II-3.* pgpool-II-22-* pgpool-II-23-*
|
2006-04-14 20:40:59 +02:00
|
|
|
USE_RC_SUBR= pgpool
|
|
|
|
|
2007-04-16 05:43:42 +02:00
|
|
|
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README README.euc_jp
|
|
|
|
PORTDOCS+= TODO
|
|
|
|
PORTDOCShtml= pgpool-en.html pgpool-ja.html pgpool.css
|
|
|
|
PORTDOCShtml+= tutorial-en.html tutorial-ja.html
|
2005-11-03 13:42:48 +01:00
|
|
|
|
2006-05-15 11:14:34 +02:00
|
|
|
MAN8= pgpool.8
|
|
|
|
|
2013-09-20 18:13:47 +02:00
|
|
|
NO_STAGE= yes
|
2007-07-14 23:56:54 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
|
|
|
|
${WRKSRC}/configure
|
2008-12-31 16:10:50 +01:00
|
|
|
@${REINPLACE_CMD} -e 's| pg_config| ${LOCALBASE}/bin/pg_config|g' \
|
|
|
|
${WRKSRC}/sql/pgpool-recovery/Makefile
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
@cd ${WRKSRC}/sql/pgpool-recovery && ${GMAKE}
|
2007-07-14 23:56:54 +02:00
|
|
|
|
2005-11-03 13:42:48 +01:00
|
|
|
post-install:
|
2009-03-08 23:59:44 +01:00
|
|
|
@cd ${WRKSRC}/sql/pgpool-recovery && ${GMAKE} ${INSTALL_TARGET}
|
2008-03-07 02:58:15 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample/dist_def_pgbench.sql ${DATADIR}
|
2008-12-31 16:10:50 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample/replicate_def_pgbench.sql ${DATADIR}
|
2011-02-25 02:31:19 +01:00
|
|
|
${MKDIR} ${DATADIR} ${EXAMPLESDIR}
|
2008-03-07 02:58:15 +01:00
|
|
|
.for f in pgpool_recovery pgpool_recovery_pitr pgpool_remote_start
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/sample/${f} ${EXAMPLESDIR}
|
|
|
|
.endfor
|
2005-11-03 13:42:48 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2006-04-14 20:40:59 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2005-11-03 13:42:48 +01:00
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/$f ${DOCSDIR}
|
|
|
|
.endfor
|
2007-04-16 05:43:42 +02:00
|
|
|
.for f in ${PORTDOCShtml}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/$f ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
PORTDOCS+= ${PORTDOCShtml}
|
2005-11-03 13:42:48 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|