blob: ba57e90c6bca66c7562626372231b005dac4fa46 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $FreeBSD$
PORTNAME= gnatsd
PORTVERSION= 0.9.4
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= net
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Messaging system written in Go
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go
GO_PKGNAME= github.com/nats-io/gnatsd
USE_GITHUB= yes
GH_ACCOUNT= nats-io
USE_RC_SUBR= gnatsd.sh
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc
${INSTALL_SCRIPT} ${FILESDIR}/gnatsd.conf ${STAGEDIR}${PREFIX}/etc/gnatsd.conf.sample
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/server && ${COPYTREE_SHARE} configs ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|