# -*- 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/daytonaio/daytona 0.35.0 v
go.offline_build    no
revision            0

homepage            https://daytona.io/

description         The Open Source Dev Environment Manager

long_description    \
    {*}${description} \n\
    \n\
    Features:\n\
    - Single Command: Activate a fully configured development environment \
        with a single command. \n\
    - Runs everywhere: spin up your development environment on any machine — \
        whether it's local, remote, cloud-based, physical server, or a VM & \
        any architecture x86 or ARM.\n\
    - Configuration File Support: Initially support for dev container, \
        ability to expand to DevFile, Nix & Flox \(Contributions welcome \
        here\!\).\n\
    - Prebuilds System: Drastically improve environment setup times \n\
        \(Contributions welcome here\!\).\n\
    - IDE Support : Seamlessly supports VS Code & JetBrains locally, ready to \
        use without configuration. Includes a built-in Web IDE for added \
        convenience.\n\
    - Git Provider Integration: GitHub, GitLab, Bitbucket, Bitbucket Server, \
        Gitea, Gitness, Azure DevOps & AWS CodeCommit can be connected, \
        allowing easy repo branch or PR pull and commit back from the \
        workspaces.\n\
    - Multiple Project Workspace: Support for multiple project repositories \
        in the same workspace, making it easy to develop using a \
        micro-service architecture.\n\
    - Reverse Proxy Integration: Enable collaboration and streamline feedback \
        loops by leveraging reverse proxy functionality. Access preview ports \
        and the Web IDE seamlessly, even behind firewalls.\n\
    - Extensibility: Enable extensibility with plugin or provider \
        development. Moreover, in any dynamic language, not just \
        Go\(Contributions welcome here\!\).\n\
    - Security: Automatically creates a VPN connection between the client \
        machine and the development environment, ensuring a fully secure \
        connection.\n\
    - All Ports: The VPN connection enables access to all ports on the \
        development environments, removing the need to setup port forwards \
        over SSH connection.\n\
    - Works on my Machine: Never experience it again.

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

checksums           rmd160  2bc080ac8e4f8a99398fb8fdc27063541dd405a7 \
                    sha256  6c7aba62b0489aff7ef8795ee0ad9c74bf34589d7bd52092119853be0fccdabc \
                    size    3453062

build.pre_args-append \
    -ldflags \"-X ${go.package}/internal.Version=${version}\"
build.args-append   ./cmd/${name}

destroot {
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
    xinstall -d ${destroot}${prefix}/share/${name}
    copy ${worksrcpath}/docs ${destroot}${prefix}/share/${name}/
}
