1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/net/gnatsd/Makefile
2017-10-15 12:32:49 +00:00

30 lines
664 B
Makefile

# $FreeBSD$
PORTNAME= gnatsd
PORTVERSION= 1.0.4
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= net
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Messaging system written in Go
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
USE_GITHUB= yes
GH_ACCOUNT= nats-io
USE_RC_SUBR= gnatsd.sh
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc
${INSTALL_DATA} ${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>