summaryrefslogtreecommitdiff
path: root/sysutils/terraform-provider-gridscale/Makefile
blob: f2389a523ae2b390c04c0a7a52f1b47cc58958f0 (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
PORTNAME=	terraform-provider-gridscale
PORTVERSION=	1.6.2
DISTVERSIONPREFIX=	v
PORTREVISION=	20
CATEGORIES=	sysutils

MAINTAINER=	egypcio@FreeBSD.org
COMMENT=	Terraform provider for gridscale
WWW=		https://github.com/terraform-providers/terraform-provider-gridscale

LICENSE=	MPL20
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	terraform:sysutils/terraform

USES=		go:modules
GO_PKGNAME=	github.com/${GH_ACCOUNT}/${PORTNAME}
USE_GITHUB=	yes
GH_ACCOUNT=	terraform-providers
GH_TUPLE=	golang:sys:v0.6.0:sys

PLIST_FILES=	bin/${PORTNAME}

pre-patch:
	${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
	${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys

.include <bsd.port.mk>