blob: e24484c335a1978e326ec949ac9d7ee9bda4b47f (
plain)
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
30
31
32
33
|
PORTNAME= carbon-relay-ng
DISTVERSION= 0.10.0
PORTREVISION= 1
CATEGORIES= net-mgmt
MAINTAINER= a.andersson.thn@gmail.com
COMMENT= Go implementation of carbonapi
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= go-bindata:devel/go-bindata
USES= gmake go
USE_GITHUB= yes
GH_ACCOUNT= graphite-ng
GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME}
USE_RC_SUBR= ${PORTNAME}
GO_TARGET= ./cmd/${PORTNAME}
USERS= carbon
GROUPS= carbon
post-install:
@${MKDIR} ${STAGEDIR}/${PREFIX}/etc/carbon-relay-ng
@${MKDIR} ${STAGEDIR}/var/run/carbon-relay-ng
@${MKDIR} ${STAGEDIR}/var/run/carbon-relay-ng/spool
${INSTALL_DATA} ${WRKSRC}/examples/carbon-relay-ng.ini ${STAGEDIR}${PREFIX}/etc/carbon-relay-ng/carbon-relay-ng.ini.sample
.include <bsd.port.mk>
|