aboutsummaryrefslogtreecommitdiff
path: root/databases/pgbouncer
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2014-07-08 14:37:11 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2014-07-08 14:37:11 +0000
commit1426f74ae461333d199065fa3a882648e719ab0b (patch)
treeed389b0b5099bae86ffdb29f6c64e834d283313a /databases/pgbouncer
parent2d179c00dfd7f1df2078368a3cc6a975e88fd33e (diff)
downloadports-1426f74ae461333d199065fa3a882648e719ab0b.tar.gz
ports-1426f74ae461333d199065fa3a882648e719ab0b.zip
Fix substitution in files/pgbounce.in.
PR: 191698 Submitted by: oleg@mamontov.net Approved by: m.tsatsenko@gmail.com (maintainer)
Notes
Notes: svn path=/head/; revision=361249
Diffstat (limited to 'databases/pgbouncer')
-rw-r--r--databases/pgbouncer/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/pgbouncer/Makefile b/databases/pgbouncer/Makefile
index 15d60720d2e1..69644f23a1a1 100644
--- a/databases/pgbouncer/Makefile
+++ b/databases/pgbouncer/Makefile
@@ -3,7 +3,7 @@
PORTNAME= pgbouncer
PORTVERSION= 1.5.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= http://pgfoundry.org/frs/download.php/3393/
@@ -51,6 +51,8 @@ PLIST_SUB+= PGBOUNCER_USER="${USERS}" \
PGBOUNCER_LOGDIR="${PGBOUNCER_LOGDIR}" \
PGBOUNCER_RUNDIR="${PGBOUNCER_RUNDIR}"
+SUB_LIST+= PGBOUNCER_RUNDIR="${PGBOUNCER_RUNDIR}"
+
post-patch:
@${REINPLACE_CMD} -e "s|= pgbouncer.log|= ${PGBOUNCER_LOGDIR}/pgbouncer.log|g" \
-e "s|= pgbouncer.pid|= ${PGBOUNCER_RUNDIR}/pgbouncer.pid|g" \