aboutsummaryrefslogtreecommitdiff
path: root/net/rabbitmq/Makefile
diff options
context:
space:
mode:
authorDave Cottlehuber <dch@FreeBSD.org>2023-01-25 19:42:29 +0000
committerDave Cottlehuber <dch@FreeBSD.org>2023-01-25 19:42:29 +0000
commitc9033971719dc098b34276f11b8e5a5e22b966fd (patch)
tree133bc186b0fd3edc31090812e2ba69bee7760173 /net/rabbitmq/Makefile
parent8893a5541856e22a2518b4ded2a8797d0c8974e0 (diff)
downloadports-c9033971719dc098b34276f11b8e5a5e22b966fd.tar.gz
ports-c9033971719dc098b34276f11b8e5a5e22b966fd.zip
net/rabbitmq: update to 3.11.7 & switch to OTP25
- while here, pet with portfmt and portclippy
Diffstat (limited to 'net/rabbitmq/Makefile')
-rw-r--r--net/rabbitmq/Makefile50
1 files changed, 23 insertions, 27 deletions
diff --git a/net/rabbitmq/Makefile b/net/rabbitmq/Makefile
index 3ff1b59ab1be..f0b7701ad4fa 100644
--- a/net/rabbitmq/Makefile
+++ b/net/rabbitmq/Makefile
@@ -1,5 +1,5 @@
PORTNAME= rabbitmq
-DISTVERSION= 3.10.13
+DISTVERSION= 3.11.7
CATEGORIES= net
MASTER_SITES= https://github.com/rabbitmq/rabbitmq-server/releases/download/v${PORTVERSION}/
DISTNAME= ${PORTNAME}-server-${PORTVERSION}
@@ -11,56 +11,52 @@ WWW= https://www.rabbitmq.com/
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE-MPL-RabbitMQ
-BUILD_DEPENDS= erlang-runtime${ERLANG_VER}>=${ERLANG_VER}.2:lang/erlang-runtime${ERLANG_VER} \
+BUILD_DEPENDS= erlang-runtime${_ERLANG_VER}>=${_ERLANG_VER}.2:lang/erlang-runtime${_ERLANG_VER} \
elixir>=1.13.4:lang/elixir \
${PYTHON_PKGNAMEPREFIX}simplejson>=2.0:devel/py-simplejson@${PY_FLAVOR} \
xmlto:textproc/xmlto \
zip:archivers/zip \
rsync:net/rsync
-RUN_DEPENDS= erlang-runtime${ERLANG_VER}>=${ERLANG_VER}.2:lang/erlang-runtime${ERLANG_VER}
+RUN_DEPENDS= erlang-runtime${_ERLANG_VER}>=${_ERLANG_VER}:lang/erlang-runtime${_ERLANG_VER}
USES= cpe gmake shebangfix tar:xz
+CPE_VENDOR= pivotal_software
USE_LOCALE= en_US.UTF-8
USE_RC_SUBR= rabbitmq
-NO_ARCH= yes
-
-OPTIONS_DEFINE= ADMIN
-OPTIONS_SUB= yes
-
-ADMIN_DESC= Install rabbitmqadmin script
-ADMIN_USES= python
-ADMIN_USES_OFF= python:build
-
+SHEBANG_FILES= deps/rabbitmq_management/bin/rabbitmqadmin
+MAKE_ARGS+= PYTHON=${PYTHON_CMD}
+MAKE_ENV+= PATH="${LOCALBASE}/lib/${_ERLANG_LIB}/bin:${PATH}" \
+ RMQ_LIBDIR="${PREFIX}/lib" \
+ MANDIR="${PREFIX}/man" \
+ DESTDIR="${STAGEDIR}"
+MAKE_JOBS_UNSAFE= yes
ALL_TARGET= install
+REINPLACE_ARGS= -i ""
+NO_ARCH= yes
+SUB_LIST+= _ERLANG_LIB=${_ERLANG_LIB}
+
USERS= rabbitmq
GROUPS= rabbitmq
-SUB_LIST+= ERLANG_LIB=${ERLANG_LIB}
-
PLIST_SUB= VERSION=${PORTVERSION}
-CPE_VENDOR= pivotal_software
-
-REINPLACE_ARGS= -i ""
-SHEBANG_FILES= deps/rabbitmq_management/bin/rabbitmqadmin
-MAKE_ARGS+= PYTHON=${PYTHON_CMD}
-MAKE_ENV+= PATH="${LOCALBASE}/lib/${ERLANG_LIB}/bin:${PATH}" \
- RMQ_LIBDIR="${PREFIX}/lib" \
- MANDIR="${PREFIX}/man" \
- DESTDIR="${STAGEDIR}"
+OPTIONS_DEFINE= ADMIN
+OPTIONS_SUB= yes
-MAKE_JOBS_UNSAFE= yes
+ADMIN_DESC= Install rabbitmqadmin script
+ADMIN_USES= python
+ADMIN_USES_OFF= python:build
-ERLANG_VER= 24
-ERLANG_LIB= erlang${ERLANG_VER}
+_ERLANG_VER= 25
+_ERLANG_LIB= erlang${_ERLANG_VER}
.include <bsd.port.options.mk>
post-patch:
# ensure our OTP is always preferred over other installed versions
@${REINPLACE_CMD} -e 's|LOCALBASE|${LOCALBASE}|' \
- -e 's|ERLANG_LIB|${ERLANG_LIB}|' \
+ -e 's|ERLANG_LIB|${_ERLANG_LIB}|' \
${WRKSRC}/deps/rabbit/scripts/rabbitmq-defaults
# ensure docs match heir(7) paths
@${REINPLACE_CMD} -i '' \