1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/textproc/consul-template/Makefile
Steve Wills 2641cb11a8 textproc/consul-template Fix rc script stop signal
PR:		224391
Submitted by:	Douglas Thrift <douglas@douglasthrift.net>
2017-12-17 21:04:49 +00:00

35 lines
759 B
Makefile

# Created by: Steve Wills <swills@FreeBSD.org>
# $FreeBSD$
PORTNAME= consul-template
PORTVERSION= 0.19.4
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= textproc
MAINTAINER= swills@FreeBSD.org
COMMENT= Generic template rendering and notifications with Consul
LICENSE= MPL20
BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go
USE_GITHUB= yes
GH_ACCOUNT= hashicorp
GH_SUBDIR= src/github.com/hashicorp/consul-template
PLIST_FILES= bin/consul-template
USE_RC_SUBR= consul-template
do-build:
@cd ${WRKSRC}/src/github.com/hashicorp/consul-template ; \
${SETENV} GOPATH=${WRKSRC} go build
do-install:
${INSTALL_PROGRAM} \
${WRKSRC}/src/github.com/hashicorp/consul-template/consul-template \
${STAGEDIR}${PREFIX}/bin/consul-template
.include <bsd.port.mk>