all the things
This commit is contained in:
27
net/terraform-provider-hcloud/Makefile
Normal file
27
net/terraform-provider-hcloud/Makefile
Normal file
@@ -0,0 +1,27 @@
|
||||
COMMENT = terraform provider for hetzner cloud
|
||||
|
||||
V = 1.35.2
|
||||
MODGO_MODNAME = github.com/hetznercloud/terraform-provider-hcloud
|
||||
MODGO_VERSION = v${V}
|
||||
|
||||
DISTNAME = terraform-provider-hcloud-${MODGO_VERSION}
|
||||
|
||||
CATEGORIES = net
|
||||
|
||||
# MLP 2.0
|
||||
PERMIT_PACKAGE = yes
|
||||
|
||||
WANTLIB = c pthread
|
||||
|
||||
MODULES = lang/go
|
||||
|
||||
.include "modules.inc"
|
||||
|
||||
PLUGIN_PATH = ${WRKINST}/${TRUEPREFIX}/share/terraform/plugins/local/hetznercloud/hcloud/${V}/openbsd_${MACHINE_ARCH}
|
||||
|
||||
post-install:
|
||||
mkdir -p ${PLUGIN_PATH}
|
||||
cp -f ${WRKINST}/${TRUEPREFIX}/bin/terraform-provider-hcloud \
|
||||
${PLUGIN_PATH}/terraform-provider-hcloud_${MODGO_VERSION}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
Reference in New Issue
Block a user