pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

terraform-provider-local: Add install logic that is no longer present in provider.mk



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun Mar 28 14:05:33 2021 +0200
Changeset:	fba308de251fe860cc3f23db35e2b3386d41ad43

Modified Files:
	terraform-provider-local/Makefile

Log Message:
terraform-provider-local: Add install logic that is no longer present in provider.mk

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fba308de251fe860cc3f23db35e2b3386d41ad43

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 terraform-provider-local/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diffs:
diff --git a/terraform-provider-local/Makefile b/terraform-provider-local/Makefile
index 2faadc208e..e0cae16703 100644
--- a/terraform-provider-local/Makefile
+++ b/terraform-provider-local/Makefile
@@ -18,8 +18,14 @@ TERRAFORM_PROVIDER_BIN=		terraform-provider-local
 TERRAFORM_PROVIDER_NAMESPACE=	hashicorp
 TERRAFORM_PROVIDER_TYPE=	local
 
+INSTALLATION_DIRS+=	${TERRAFORM_PROVIDER_DIR}
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/${TERRAFORM_PROVIDER_BIN} \
+	   ${DESTDIR}${PREFIX}/${TERRAFORM_PROVIDER_DIR}
+
 .include "go-modules.mk"
 
-.include "../../wip/terraform/provider.mk"
 .include "../../lang/go/go-module.mk"
+.include "../../wip/terraform/provider.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index