aboutsummaryrefslogtreecommitdiff
path: root/databases/pgpool-II-23/Makefile
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2008-12-31 15:10:50 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2008-12-31 15:10:50 +0000
commitb31009c33b6ab00ca96a300f7b22b54792f59bec (patch)
treecc2793861169b547518b99ee1bcb23b4ae209619 /databases/pgpool-II-23/Makefile
parentfdd6beb59f533c529aab9c259a81c8c9b72e7eeb (diff)
downloadports-b31009c33b6ab00ca96a300f7b22b54792f59bec.tar.gz
ports-b31009c33b6ab00ca96a300f7b22b54792f59bec.zip
Notes
Diffstat (limited to 'databases/pgpool-II-23/Makefile')
-rw-r--r--databases/pgpool-II-23/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/databases/pgpool-II-23/Makefile b/databases/pgpool-II-23/Makefile
index 5f629c6c7fa2..8ce0ea60c427 100644
--- a/databases/pgpool-II-23/Makefile
+++ b/databases/pgpool-II-23/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= pgpool-II
-PORTVERSION= 2.0.1
-PORTREVISION= 2
+PORTVERSION= 2.1
CATEGORIES= databases
-MASTER_SITES= http://pgfoundry.org/frs/download.php/1521/
+MASTER_SITES= http://pgfoundry.org/frs/download.php/1843/
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= A connection pool server for PostgreSQL
@@ -31,12 +30,19 @@ 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
${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