pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
terraform-provider-aws: Convert to terraform/provider.mk
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Sun Mar 28 14:51:29 2021 +0200
Changeset: 37f51e79a8098e31f4e725c55049e488f6828727
Modified Files:
terraform-provider-aws/Makefile
terraform-provider-aws/PLIST
Log Message:
terraform-provider-aws: Convert to 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=37f51e79a8098e31f4e725c55049e488f6828727
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
terraform-provider-aws/Makefile | 14 +++++++++-----
terraform-provider-aws/PLIST | 2 +-
2 files changed, 10 insertions(+), 6 deletions(-)
diffs:
diff --git a/terraform-provider-aws/Makefile b/terraform-provider-aws/Makefile
index 838fd60aae..1db6f12092 100644
--- a/terraform-provider-aws/Makefile
+++ b/terraform-provider-aws/Makefile
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.25 2021/03/19 17:37:03 bsiegert Exp $
DISTNAME= terraform-provider-aws-3.27.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=terraform-providers/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -11,18 +11,22 @@ HOMEPAGE= https://www.terraform.io/docs/providers/aws/
COMMENT= Terraform provider for Amazon Web Services
LICENSE= mpl-2.0
-DEPENDS+= terraform-[0-9]*:../../net/terraform
-
GO_BUILD_PATTERN= .
UNLIMIT_RESOURCES= datasize virtualsize
-INSTALLATION_DIRS+= bin
+TERRAFORM_PROVIDER_BIN= terraform-provider-aws
+TERRAFORM_PROVIDER_NAMESPACE= hashicorp
+TERRAFORM_PROVIDER_TYPE= aws
+
+INSTALLATION_DIRS+= ${TERRAFORM_PROVIDER_DIR}
do-install:
- ${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/terraform-provider-aws ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/${TERRAFORM_PROVIDER_BIN} \
+ ${DESTDIR}${PREFIX}/${TERRAFORM_PROVIDER_DIR}
.include "go-modules.mk"
.include "../../lang/go/go-module.mk"
+.include "../../wip/terraform/provider.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/terraform-provider-aws/PLIST b/terraform-provider-aws/PLIST
index 4f6249c22d..107930715d 100644
--- a/terraform-provider-aws/PLIST
+++ b/terraform-provider-aws/PLIST
@@ -1,2 +1,2 @@
@comment $NetBSD: PLIST,v 1.4 2020/05/29 06:29:03 adam Exp $
-bin/terraform-provider-aws
+share/terraform/plugins/${TERRAFORM_PROVIDER_HOSTNAME}/${TERRAFORM_PROVIDER_NAMESPACE}/${TERRAFORM_PROVIDER_TYPE}/${TERRAFORM_PROVIDER_VERSION}/${GO_PLATFORM}/terraform-provider-aws
Home |
Main Index |
Thread Index |
Old Index