View | Details | Raw Unified | Return to bug 192937 | Differences between
and this patch

Collapse All | Expand All

(-)textproc/Makefile (+1 lines)
Lines 79-84 Link Here
79
    SUBDIR += colordiff
79
    SUBDIR += colordiff
80
    SUBDIR += confetti
80
    SUBDIR += confetti
81
    SUBDIR += confget
81
    SUBDIR += confget
82
    SUBDIR += consul-template
82
    SUBDIR += crimson
83
    SUBDIR += crimson
83
    SUBDIR += cs-aspell
84
    SUBDIR += cs-aspell
84
    SUBDIR += cs-mythes
85
    SUBDIR += cs-mythes
(-)textproc/consul-template/Makefile (+54 lines)
Line 0 Link Here
1
# Created by: Steve Wills <swills@FreeBSD.org>
2
# $FreeBSD$
3
4
PORTNAME=	consul-template
5
PORTVERSION=	0.3.1
6
CATEGORIES=	textproc
7
MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/archive/${GH_TAGNAME}.tar.gz?dummy=/:group1 \
8
		https://codeload.github.com/armon/consul-api/legacy.tar.gz/0e644b8?dummy=/:group2 \
9
		https://codeload.github.com/hashicorp/hcl/legacy.tar.gz/2c88e7e?dummy=/:group3 \
10
		https://codeload.github.com/hashicorp/logutils/legacy.tar.gz/23b0af5?dummy=/:group4 \
11
		https://codeload.github.com/hashicorp/terraform/legacy.tar.gz/d87fa90?dummy=/:group5 \
12
		https://codeload.github.com/mitchellh/mapstructure/legacy.tar.gz/740c764?dummy=/:group6
13
DISTFILES=	consul-template-0.3.1.tar.gz:group1 \
14
		armon-consul-api-0e644b8.tar.gz:group2 \
15
		hashicorp-hcl-2c88e7e.tar.gz:group3 \
16
		hashicorp-logutils-23b0af5.tar.gz:group4 \
17
		hashicorp-terraform-d87fa90.tar.gz:group5 \
18
		mitchellh-mapstructure-740c764.tar.gz:group6
19
20
MAINTAINER=	swills@FreeBSD.org
21
COMMENT=	Generic template rendering and notifications with Consul
22
23
BUILD_DEPENDS=	${LOCALBASE}/bin/go:${PORTSDIR}/lang/go
24
25
USE_GITHUB=	yes
26
GH_ACCOUNT=	hashicorp
27
GH_COMMIT=	e22fbf7
28
GH_TAGNAME=	v${PORTVERSION}
29
30
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
31
32
PLIST_FILES=	bin/consul-template
33
34
STRIP=		# stripping can break go binaries
35
36
post-patch:
37
	@${MKDIR} ${WRKSRC}/src/github.com/armon
38
	@${MKDIR} ${WRKSRC}/src/github.com/hashicorp/consul-template
39
	@${MKDIR} ${WRKSRC}/src/github.com/mitchellh
40
	@${MV} ${WRKDIR}/armon-consul-api-0e644b8 ${WRKSRC}/src/github.com/armon/consul-api
41
	@${MV} ${WRKDIR}/hashicorp-hcl-2c88e7e ${WRKSRC}/src/github.com/hashicorp/hcl
42
	@${MV} ${WRKDIR}/hashicorp-logutils-23b0af5 ${WRKSRC}/src/github.com/hashicorp/logutils
43
	@${MV} ${WRKDIR}/hashicorp-terraform-d87fa90 ${WRKSRC}/src/github.com/hashicorp/terraform
44
	@${MV} ${WRKDIR}/mitchellh-mapstructure-740c764 ${WRKSRC}/src/github.com/mitchellh/mapstructure
45
	@${MV} ${WRKSRC}/util ${WRKSRC}/src/github.com/hashicorp/consul-template
46
	@${MV} ${WRKSRC}/test ${WRKSRC}/src/github.com/hashicorp/consul-template
47
48
do-build:
49
	@cd ${WRKSRC} ; ${SETENV} GOPATH=${WRKSRC} go build
50
51
do-install:
52
	${INSTALL_PROGRAM} ${WRKSRC}/consul-template-${PORTVERSION} ${STAGEDIR}${PREFIX}/bin/consul-template
53
54
.include <bsd.port.mk>
(-)textproc/consul-template/distinfo (+12 lines)
Line 0 Link Here
1
SHA256 (consul-template-0.3.1.tar.gz) = fc920c58e24913fac4d60c9108b40eaae47d4a7ad23e97dd16ddb36c76723cd9
2
SIZE (consul-template-0.3.1.tar.gz) = 37745
3
SHA256 (armon-consul-api-0e644b8.tar.gz) = 98ced8eb879ad2aec426e8821973e476ad76d5e91aa467362aaac98b7ae639b0
4
SIZE (armon-consul-api-0e644b8.tar.gz) = 17558
5
SHA256 (hashicorp-hcl-2c88e7e.tar.gz) = 2f3dc2241a1716b8e9c7bd331d8113b9b780a1233bf2dcf73bb77c68ebe17d0e
6
SIZE (hashicorp-hcl-2c88e7e.tar.gz) = 28350
7
SHA256 (hashicorp-logutils-23b0af5.tar.gz) = 00187038a1bbf6ac3575e7630216903fdbbe6165dd4d4415023d030736994025
8
SIZE (hashicorp-logutils-23b0af5.tar.gz) = 7691
9
SHA256 (hashicorp-terraform-d87fa90.tar.gz) = 5657d8f9a596c94e86c72d50e8eedbb4da8942eed56e5317e6611a488c557d54
10
SIZE (hashicorp-terraform-d87fa90.tar.gz) = 3245770
11
SHA256 (mitchellh-mapstructure-740c764.tar.gz) = 5d140730c448532df9b1413fe03e752462a992d6ff2badcc5d2eb4bb9346a478
12
SIZE (mitchellh-mapstructure-740c764.tar.gz) = 11949
(-)textproc/consul-template/pkg-descr (+3 lines)
Line 0 Link Here
1
Generic template rendering and notifications with Consul
2
3
WWW: https://github.com/hashicorp/consul-template

Return to bug 192937