# -*- 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

name                wireguard-go
version             0.0.20250515
revision            0
checksums           rmd160  ba31828b39c36038ef31d0f3df7a48276427859d \
                    sha256  c2861e387555fe8b93a123dc34a2e150971b831dda26dbac65a8db006654c859 \
                    size    95888

categories          net
platforms           darwin
license             GPL-2
maintainers         {acm.org:cardi @cardi} openmaintainer
description         Userspace Go implementation of WireGuard VPN
long_description    \
    WireGuard-go is the userspace Go implementation of WireGuard, a \
    novel VPN that runs inside the Linux Kernel and utilizes \
    state-of-the-art cryptography. It aims to be faster, simpler, \
    leaner, and more useful than IPSec, while avoiding the massive \
    headache. It intends to be considerably more performant than \
    OpenVPN. WireGuard is designed as a general purpose VPN for \
    running on embedded interfaces and super computers alike, fit for \
    many different circumstances. It runs over UDP.

homepage            https://www.wireguard.com/
master_sites        https://git.zx2c4.com/wireguard-go/snapshot/
use_xz              yes

depends_build       port:go

use_configure       no

build.target

use_parallel_build  no

destroot.args       DESTDIR=${destroot} \
                    PREFIX=${prefix}

livecheck.url       https://git.zx2c4.com/wireguard-go/refs/
