2015-03-26 03:43:02 +01:00
|
|
|
# Created by: Steve Wills <swills@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= consul-template
|
2017-03-29 22:27:34 +02:00
|
|
|
PORTVERSION= 0.18.2
|
2015-05-18 19:07:45 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
2015-03-26 03:43:02 +01:00
|
|
|
CATEGORIES= textproc
|
|
|
|
|
|
|
|
MAINTAINER= swills@FreeBSD.org
|
|
|
|
COMMENT= Generic template rendering and notifications with Consul
|
|
|
|
|
2016-08-10 17:31:45 +02:00
|
|
|
LICENSE= MPL
|
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go
|
2015-03-26 03:43:02 +01:00
|
|
|
|
|
|
|
USE_GITHUB= yes
|
2016-05-21 15:46:09 +02:00
|
|
|
GH_ACCOUNT= hashicorp
|
2017-03-29 22:27:34 +02:00
|
|
|
GH_SUBDIR= src/github.com/hashicorp/consul-template
|
2015-03-26 03:43:02 +01:00
|
|
|
|
|
|
|
PLIST_FILES= bin/consul-template
|
|
|
|
|
2016-08-10 17:31:45 +02:00
|
|
|
USE_RC_SUBR= consul-template
|
|
|
|
|
2015-03-26 03:43:02 +01:00
|
|
|
do-build:
|
2016-05-21 15:46:09 +02:00
|
|
|
@cd ${WRKSRC}/src/github.com/hashicorp/consul-template ; \
|
|
|
|
${SETENV} GOPATH=${WRKSRC} go build
|
2015-03-26 03:43:02 +01:00
|
|
|
|
|
|
|
do-install:
|
2016-05-21 15:46:09 +02:00
|
|
|
${INSTALL_PROGRAM} \
|
|
|
|
${WRKSRC}/src/github.com/hashicorp/consul-template/consul-template \
|
|
|
|
${STAGEDIR}${PREFIX}/bin/consul-template
|
2015-03-26 03:43:02 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|