2005-11-03 13:42:48 +01:00
|
|
|
# New ports collection makefile for: pgpool
|
|
|
|
# Date created: 2005-10-19
|
|
|
|
# Whom: Choe, Cheng-Dae <whitekid@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2007-04-16 05:43:42 +02:00
|
|
|
PORTNAME= pgpool-II
|
2007-12-27 23:47:02 +01:00
|
|
|
PORTVERSION= 2.0.1
|
2005-11-03 13:42:48 +01:00
|
|
|
CATEGORIES= databases
|
2007-12-27 23:47:02 +01:00
|
|
|
MASTER_SITES= http://pgfoundry.org/frs/download.php/1521/
|
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
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2007-04-16 05:43:42 +02:00
|
|
|
USE_PGSQL= yes
|
2005-11-03 13:42:48 +01:00
|
|
|
|
2007-04-16 05:43:42 +02:00
|
|
|
CONFLICTS= pgpool-3.*
|
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
|
|
|
|
|
2007-07-14 23:56:54 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
|
2007-10-24 02:49:38 +02:00
|
|
|
pre-install:
|
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
|
2005-11-03 13:42:48 +01:00
|
|
|
post-install:
|
|
|
|
.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>
|