net/rabbitmq: fix usage of python

Reported by:	exp-run (PR 184591)
Approved by:	portmgr (blanket)
This commit is contained in:
William Grzybowski 2013-12-14 22:03:54 +00:00
parent 6c95bb7ab3
commit 73d4f985b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336490

View file

@ -21,6 +21,7 @@ USES= gmake shebangfix
USE_PYTHON_BUILD=yes
USE_RC_SUBR= rabbitmq
SHEBANG_FILES= plugins-src/rabbitmq-amqp1.0/codegen.py
python_CMD= ${PYTHON_CMD}
USERS= rabbitmq
GROUPS= rabbitmq
@ -32,6 +33,7 @@ MAN5= rabbitmq-env.conf.5
MANCOMPRESSED= yes
SCRIPTS_DIR= ${WRKSRC}/scripts/
MAKE_ARGS+= PYTHON=${PYTHON_CMD}
MAKE_ENV+= TARGET_DIR="${PREFIX}/lib/erlang/lib/rabbitmq_server-${PORTVERSION}" SBIN_DIR="${PREFIX}/sbin/" \
MAN_DIR="${PREFIX}/man"