freebsd-ports/sysutils/consul-alerts/Makefile
Dmitri Goutnik fc95b3f0cf Go ports: cleanup, finish transition to USES=go started with r505321 (cat. sysutils-x11)
- Remove custom build/install targets left in place after r505321
- Switch to the new GO_TARGET tuple syntax introduced in r512001

Reviewed by:	tobik
Approved by:	araujo (mentor), portmgr (adamw)
Differential Revision:	https://reviews.freebsd.org/D21744
2019-09-29 22:34:31 +00:00

28 lines
720 B
Makefile

# $FreeBSD$
PORTNAME= consul-alerts
PORTVERSION= 0.5.0
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
MAINTAINER= jhixson@FreeBSD.org
COMMENT= Simple daemon to send notifications based on Consul health checks
LICENSE= GPLv2+
USES= go
USE_GITHUB= yes
GH_ACCOUNT= AcalephStorage
GH_SUBDIR= src/github.com/AcalephStorage/consul-alerts
GH_TUPLE= aws:aws-sdk-go:v1.8.30:aws_sdk_go/vendor/github.com/aws/aws-sdk-go \
imdario:mergo:0.2.2:mergo/vendor/github.com/imdario/mergo \
mitchellh:hashstructure:9204ce5:hashstructure/vendor/github.com/mitchellh/hashstructure
GO_BUILDFLAGS= -ldflags "-X main.GitDescribe=${DISTVERSIONFULL}"
PLIST_FILES= ${PREFIX}/bin/${PORTNAME}
USE_RC_SUBR= ${PORTNAME}
.include <bsd.port.mk>