# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           golang 1.0

go.setup            github.com/pulumi/pulumi 3.248.0 v
go.offline_build    no
revision            0

homepage            https://www.pulumi.com

description         \
    Pulumi - Modern Infrastructure as Code. Any cloud, any language.

long_description    \
    Pulumi's Infrastructure as Code SDK is the easiest way to create and \
    deploy cloud software that use containers, serverless functions, hosted \
    services, and infrastructure, on any cloud. Simply write code in your \
    favorite language and Pulumi automatically provisions and manages your \
    AWS, Azure, Google Cloud Platform, and/or Kubernetes resources, using an \
    infrastructure-as-code approach. Skip the YAML, and use standard language \
    features like loops, functions, classes, and package management that you \
    already know and love.

categories          sysutils net
installs_libs       no
license             Apache-2
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

fetch.type          git

build.cmd           make
build.pre_args      BREW_VERSION="${github.tag_prefix}${version}"
# The brew makefile target builds only the Pulumi executables,
# and not the SDKs
build.args          brew

depends_build-append \
                    port:curl

destroot {
    xinstall -m 0755 {*}[glob ${gopath}/bin/pulumi*] ${destroot}${prefix}/bin/
}

github.livecheck.regex \
                    {([0-9.]+)}
