# -*- 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.20250522
revision            0
checksums           rmd160  1bc76e41dfd0c1ac7e65e6efaf78805d40736ba7 \
                    sha256  c698fb9fd09d48e8cf5c1eee3e5f0170f1916a7eed09ba025aa025cd5e721a20 \
                    size    96740

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/
