blob: 4c58de8eabfc655b734d6df9bcdd6899ad6c2082 (
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
34
35
36
37
38
39
40
|
PORTNAME= hared
DISTVERSION= 1.0-45
DISTVERSIONSUFFIX= -g8341d8a
PORTREVISION= 11
CATEGORIES= sysutils
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Small Go server for inserting notifications into MQTT
WWW= https://github.com/jpmens/hared-hare
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go
USE_GITHUB= yes
GH_ACCOUNT= jpmens
GH_PROJECT= hared-hare
GH_TUPLE= go-gcfg:gcfg:f02745a:gcfg/vendor/gopkg.in/gcfg.v1 \
go-warnings:warnings:27b9fab:warnings/vendor/gopkg.in/warnings.v0 \
eclipse:paho.mqtt.golang:d4f545e:paho/vendor/github.com/eclipse/paho.mqtt.golang \
golang:net:9dfe398:net/vendor/golang.org/x/net \
gorilla:websocket:7a8dacf:websocket/vendor/github.com/gorilla/websocket
GO_TARGET= ./daemon:${PORTNAME}
CONFLICTS_INSTALL= py*-${PORTNAME} # bin/hared
OPTIONS_DEFINE= DOCS
ETCDIR= ${PREFIX}/etc
post-install:
${INSTALL_DATA} ${WRKSRC}/daemon/hared.ini.sample ${STAGEDIR}${ETCDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|