1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/databases/pgpool-II-22/Makefile
Jun Kuriyama bc54bb2646 - Add $NO_LATEST_LINK.
Poked by:	erwin
2009-12-15 13:56:18 +00:00

64 lines
1.6 KiB
Makefile

# New ports collection makefile for: pgpool
# Date created: 2005-10-19
# Whom: Choe, Cheng-Dae <whitekid@gmail.com>
#
# $FreeBSD$
#
PORTNAME= pgpool-II
PORTVERSION= 2.2.6
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://pgfoundry.org/frs/download.php/2478/
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= A connection pool server for PostgreSQL
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_PGSQL= yes
USE_LDCONFIG= yes
NO_LATEST_LINK= yes
CONFLICTS= pgpool-3.* pgpool-II-2.3*
USE_RC_SUBR= pgpool
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
MAN8= pgpool.8
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's| pg_config| ${LOCALBASE}/bin/pg_config|g' \
${WRKSRC}/sql/pgpool-recovery/Makefile
post-build:
@cd ${WRKSRC}/sql/pgpool-recovery && ${GMAKE}
pre-install:
${MKDIR} ${DATADIR} ${EXAMPLESDIR}
post-install:
@cd ${WRKSRC}/sql/pgpool-recovery && ${GMAKE} ${INSTALL_TARGET}
${INSTALL_DATA} ${WRKSRC}/sample/dist_def_pgbench.sql ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/sample/replicate_def_pgbench.sql ${DATADIR}
.for f in pgpool_recovery pgpool_recovery_pitr pgpool_remote_start
${INSTALL_SCRIPT} ${WRKSRC}/sample/${f} ${EXAMPLESDIR}
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_MAN} ${WRKSRC}/$f ${DOCSDIR}
.endfor
.for f in ${PORTDOCShtml}
${INSTALL_MAN} ${WRKSRC}/doc/$f ${DOCSDIR}
.endfor
PORTDOCS+= ${PORTDOCShtml}
.endif
.include <bsd.port.mk>