pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
terraform-provider-template: Convert to wip/terraform/provider.mk
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Mon May 3 00:09:47 2021 +0200
Changeset: 404c6360ac4d046850f5cf55d85b0ff42ea9bb43
Modified Files:
terraform-provider-template/Makefile
terraform-provider-template/PLIST
Log Message:
terraform-provider-template: Convert to wip/terraform/provider.mk
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=404c6360ac4d046850f5cf55d85b0ff42ea9bb43
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
terraform-provider-template/Makefile | 7 +++++--
terraform-provider-template/PLIST | 2 +-
2 files changed, 6 insertions(+), 3 deletions(-)
diffs:
diff --git a/terraform-provider-template/Makefile b/terraform-provider-template/Makefile
index 2bfc921436..0f7166ef35 100644
--- a/terraform-provider-template/Makefile
+++ b/terraform-provider-template/Makefile
@@ -11,8 +11,6 @@ HOMEPAGE= https://www.terraform.io/docs/providers/template/
COMMENT= Terraform template provider
LICENSE= mpl-2.0
-DEPENDS+= terraform-[0-9]*:../../net/terraform
-
UNLIMIT_RESOURCES= datasize virtualsize
GO_DIST_BASE= ${DISTNAME}
@@ -23,5 +21,10 @@ GO_BUILD_PATTERN= ${GO_SRCPATH}/.
USE_TOOLS+= bash
REPLACE_BASH+= scripts/*.sh
+TERRAFORM_PROVIDER_BIN= terraform-provider-template
+TERRAFORM_PROVIDER_NAMESPACE= hashicorp
+TERRAFORM_PROVIDER_TYPE= template
+
.include "../../lang/go/go-package.mk"
+.include "../../wip/terraform/provider.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/terraform-provider-template/PLIST b/terraform-provider-template/PLIST
index 4918bc49b8..834a9fbb12 100644
--- a/terraform-provider-template/PLIST
+++ b/terraform-provider-template/PLIST
@@ -1,2 +1,2 @@
@comment $NetBSD$
-bin/terraform-provider-template
+share/terraform/plugins/${TERRAFORM_PROVIDER_HOSTNAME}/${TERRAFORM_PROVIDER_NAMESPACE}/${TERRAFORM_PROVIDER_TYPE}/${TERRAFORM_PROVIDER_VERSION}/${GO_PLATFORM}/terraform-provider-template
Home |
Main Index |
Thread Index |
Old Index