28 lines
624 B
Makefile
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>
|