summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Powell <steve@rabbitmq.com>2012-02-22 12:21:13 +0000
committerSteve Powell <steve@rabbitmq.com>2012-02-22 12:21:13 +0000
commit316a0756fcbc2a6b9bb081f4954da0a998c3239d (patch)
treeff237275a5088c5af7769a084a140bb0509e7b8a
parent404a4e0488e72cd7fa86a93e51df93db63472cd1 (diff)
parent52fb8ba665ccaafabd37c0a8a40382d887e67493 (diff)
downloadrabbitmq-server-bug24739.tar.gz
Merge bug24706 in (a dependency).bug24739
-rw-r--r--packaging/macports/Portfile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/macports/Portfile.in b/packaging/macports/Portfile.in
index bf23b946..cde02b1a 100644
--- a/packaging/macports/Portfile.in
+++ b/packaging/macports/Portfile.in
@@ -48,6 +48,7 @@ set serveruser rabbitmq
set servergroup rabbitmq
set serverhome ${prefix}/var/lib/rabbitmq
set logdir ${prefix}/var/log/rabbitmq
+set confdir ${prefix}/etc/rabbitmq
set mnesiadbdir ${prefix}/var/lib/rabbitmq/mnesia
set plistloc ${prefix}/etc/LaunchDaemons/org.macports.rabbitmq-server
set sbindir ${destroot}${prefix}/lib/rabbitmq/bin
@@ -74,6 +75,7 @@ destroot.destdir \
MAN_DIR=${destroot}${prefix}/share/man
destroot.keepdirs \
+ ${destroot}${confdir} \
${destroot}${logdir} \
${destroot}${mnesiadbdir}
@@ -83,6 +85,7 @@ pre-destroot {
}
post-destroot {
+ xinstall -d -m 775 ${destroot}${confdir}
xinstall -d -g [existsgroup ${servergroup}] -m 775 ${destroot}${logdir}
xinstall -d -g [existsgroup ${servergroup}] -m 775 ${destroot}${serverhome}
xinstall -d -g [existsgroup ${servergroup}] -m 775 ${destroot}${mnesiadbdir}