# -*- 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/projectdiscovery/nuclei 3.11.1 v
go.package          github.com/projectdiscovery/nuclei/v[lindex [split ${version} .] 0]
go.offline_build    no
go.toolchain_min    1.25.7
revision            0

homepage            https://docs.projectdiscovery.io/tools/nuclei/overview

description         \
    Fast and customizable vulnerability scanner based on simple YAML based DSL.

long_description    \
    {*}${description} Nuclei is used to send requests across targets based on \
    a template, leading to zero false positives and providing fast scanning \
    on a large number of hosts. Nuclei offers scanning for a variety of \
    protocols, including TCP, DNS, HTTP, SSL, File, Whois, Websocket, \
    Headless, Code etc. With powerful and flexible templating, Nuclei can be \
    used to model all kinds of security checks.

categories          security
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  dbfbb25150ae4de2e41090e77a7082377f16d935 \
                    sha256  64c6e21eb8cd141d39cbb0241228fb40fd4370dbe39dc9f13e1069c718b711f9 \
                    size    12364581

build.cmd           make
build.pre_args      CMDGO=${go.bin}
build.target        build

destroot {
    xinstall -m 0755 ${worksrcpath}/bin/${name} ${destroot}${prefix}/bin/
}
