diff --git a/net/lavinmq/Makefile b/net/lavinmq/Makefile index 0957fb1fe958..c82506a6f3f6 100644 --- a/net/lavinmq/Makefile +++ b/net/lavinmq/Makefile @@ -1,89 +1,90 @@ PORTNAME= lavinmq DISTVERSIONPREFIX= v DISTVERSION= 1.0.0-beta.8 PORTREVISION= 1 CATEGORIES= net PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ # PATCHFILES+= 3a73c414b749.patch:-p1 # https://github.com/cloudamqp/lavinmq/pull/273 MAINTAINER= dch@FreeBSD.org COMMENT= Next-generation AMQP 0.9.1 based message broker +WWW= https://www.lavinmq.com/ LICENSE= APACHE20 BUILD_DEPENDS= crystal:lang/crystal \ help2man:misc/help2man \ shards:devel/shards USES= pkgconfig ssl:build USE_GITHUB= yes GH_ACCOUNT= cloudamqp GH_TUPLE= \ 84codes:http-protection:893a191d55e301e0df96d6dd0f7d72c527bddeb8:a/deps/http-protection \ 84codes:systemd.cr:v2.0.0:systemd/deps/systemd.cr \ cloudamqp:amq-protocol.cr:v1.1.2:proto/deps/amq-protocol.cr \ cloudamqp:amqp-client.cr:v1.0.10:client/deps/amqp-client.cr \ luislavena:radix:v0.4.1:radix/deps/radix \ schovi:baked_file_system:v0.10.0:baked/deps/baked_file_system \ tbrand:router.cr:v0.2.8:router/deps/router.cr USE_RC_SUBR= lavinmq USERS= lavinmq GROUPS= lavinmq PORTDOCS= CHANGELOG.md NOTICE README.md SECURITY.md OPTIONS_DEFINE= DOCS SHARDS_ENV= --time --verbose --production --release --no-color --stats --static post-extract: # force shards to use local paths, not git repos, for dependencies @${RM} ${WRKSRC}/shard.lock @${REINPLACE_CMD} -E \ -e 's,github: .*/,path: deps/,' \ -e '/branch:/d' \ -e '/version: .>1/d' \ ${WRKSRC}/shard.yml ${WRKSRC}/deps/*/shard.yml # switch config example into hier(5) compliance @${REINPLACE_CMD} -E \ -e 's,/etc/,${PREFIX}/etc/,' \ -e 's,/lib/,/db/,' \ -e 's,/tmp/lavinmq-http.sock,/var/run/lavinmq/http.sock,' \ -e 's,/tmp/lavinmq.sock,/var/run/lavinmq/amqp.sock,' \ ${WRKSRC}/extras/config.ini do-build: ${MKDIR} ${WRKDIR}/man1 (cd ${WRKSRC} && ${LOCALBASE}/bin/shards lock ${SHARDS_ENV} \ && ${LOCALBASE}/bin/shards build ${SHARDS_ENV}) help2man -Nn "fast and advanced message queue server" \ ${WRKSRC}/bin/lavinmq -o ${WRKDIR}/man1/lavinmq.1 help2man -Nn "control utility for lavinmq server" \ ${WRKSRC}/bin/lavinmqctl -o ${WRKDIR}/man1/lavinmqctl.1 help2man -Nn "performance testing tool for amqp servers" \ ${WRKSRC}/bin/lavinmqperf -o ${WRKDIR}/man1/lavinmqperf.1 do-install: ${MKDIR} ${STAGEDIR}${ETCDIR} \ ${STAGEDIR}/var/db/lavinmq \ ${STAGEDIR}/var/log/lavinmq \ ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/extras/config.ini \ ${STAGEDIR}${ETCDIR}/config.ini.sample .for f in lavinmq lavinmqctl lavinmqperf ${INSTALL_PROGRAM} ${WRKSRC}/bin/${f} \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKDIR}/man1/${f}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ .endfor do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} \ ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/net/lavinmq/pkg-descr b/net/lavinmq/pkg-descr index 1f89ac1f604f..ccf0467cb5d9 100644 --- a/net/lavinmq/pkg-descr +++ b/net/lavinmq/pkg-descr @@ -1,16 +1,14 @@ LavinMQ is a message queue server, also called a message broker, compatible with the AMQP0.9 spec, where messages are published by a sending service called a producer, via the broker, to then be consumed by the receiving service called a consumer. When not handling messages, the queue can route, buffer, and persist the messages according to rules set up by the user. Messages can be sent across languages, platforms, and OS, which decouple processes and creates a highly scalable system. lavinmq, as queue management software, gives an organized, safe place for messages to wait until another application or part of the system can come along and consume them for processing. lavinmq is written in Crystal, a statically compiled LLVM-based language with a ruby-like syntax. - -WWW: https://www.lavinmq.com/