aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pgbouncer
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2014-07-08 22:37:11 +0800
committerrakuco <rakuco@FreeBSD.org>2014-07-08 22:37:11 +0800
commita99837b2873d2ba634e9e872d65e0dfbbdff339a (patch)
treeed389b0b5099bae86ffdb29f6c64e834d283313a /databases/pgbouncer
parentffbbbc149469360d2c715b1795e086fae07ed390 (diff)
downloadfreebsd-ports-gnome-a99837b2873d2ba634e9e872d65e0dfbbdff339a.tar.gz
freebsd-ports-gnome-a99837b2873d2ba634e9e872d65e0dfbbdff339a.tar.zst
freebsd-ports-gnome-a99837b2873d2ba634e9e872d65e0dfbbdff339a.zip
Fix substitution in files/pgbounce.in.
PR: 191698 Submitted by: oleg@mamontov.net Approved by: m.tsatsenko@gmail.com (maintainer)
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" \