mystuff/net/terraform-provider-hcloud/Makefile
2023-01-10 11:45:28 +01:00

28 lines
624 B
Makefile

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>