summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/postgrey/Makefile2
-rw-r--r--mail/postgrey/files/postgrey.in8
2 files changed, 5 insertions, 5 deletions
diff --git a/mail/postgrey/Makefile b/mail/postgrey/Makefile
index b81f66e14832..7983eddcb372 100644
--- a/mail/postgrey/Makefile
+++ b/mail/postgrey/Makefile
@@ -3,7 +3,7 @@
PORTNAME= postgrey
PORTVERSION= 1.37
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= http://postgrey.schweikert.ch/pub/ \
http://postgrey.schweikert.ch/pub/old/
diff --git a/mail/postgrey/files/postgrey.in b/mail/postgrey/files/postgrey.in
index 36c2fefae99e..9a352bb33cb7 100644
--- a/mail/postgrey/files/postgrey.in
+++ b/mail/postgrey/files/postgrey.in
@@ -12,7 +12,7 @@
# postgrey_enable (bool) Set to 'YES' to enable
# Default: NO
# postgrey_dbdir (path) Location of postgrey database files.
-# Default: %%PG_DBDIR%%
+# Default: %%POSTGREY_DBDIR%%
# postgrey_flags (extra args) Additional command-line parameters.
# Default: --inet=10023
#
@@ -30,13 +30,13 @@ rcvar=postgrey_enable
load_rc_config $name
: ${postgrey_enable:=NO}
-: ${postgrey_dbdir:=%%PG_DBDIR%%}
+: ${postgrey_dbdir:=%%POSTGREY_DBDIR%%}
: ${postgrey_flags:=--inet=10023}
command=%%PREFIX%%/sbin/postgrey
extra_commands=reload
-pidfile=%%PG_RUNDIR%%/postgrey.pid
-required_dirs="${postgrey_dbdir} %%PG_RUNDIR%%"
+pidfile=%%POSTGREY_RUNDIR%%/postgrey.pid
+required_dirs="${postgrey_dbdir} %%POSTGREY_RUNDIR%%"
command_args="-d --pidfile=${pidfile} --dbdir=${postgrey_dbdir}"