PORTNAME= nats-server DISTVERSION= 2.10.23 DISTVERSIONPREFIX= v CATEGORIES= net MAINTAINER= olgeni@FreeBSD.org COMMENT= Messaging system written in Go WWW= https://nats.io/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules USE_RC_SUBR= nats.sh GO_MODULE= github.com/nats-io/nats-server/v2 USERS= nats GROUPS= nats OPTIONS_DEFINE= DOCS post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc ${INSTALL_DATA} ${FILESDIR}/nats.conf ${STAGEDIR}${PREFIX}/etc/nats.conf.sample @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/server && ${COPYTREE_SHARE} configs ${STAGEDIR}${DOCSDIR} .include