blob: da2bdfa94137d2e46f0ae1b9e734288da16c9455 (
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
|
PORTNAME= hared
DISTVERSION= 1.0-45
DISTVERSIONSUFFIX= -g8341d8a
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Small Go server for inserting notifications into MQTT
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}
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>
|