# -*- 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                libntlm
version             1.6
revision            0
categories          net security devel
license             LGPL-2.1+
maintainers         nomaintainer

description         Implement Microsoft's NTLM authentication
long_description    NTLM employs a challenge-response mechanism for     \
                    authentication, in which clients are able to prove  \
                    their identities without sending a password to the  \
                    server. It consists of three messages, commonly     \
                    referred to as Type 1 (negotiation), Type 2         \
                    (challenge) and Type 3 (authentication).

homepage            https://www.nongnu.org/libntlm
master_sites        ${homepage}/releases

checksums           rmd160  673b3b2d18a8429565c09b52b309f598937ca081 \
                    sha256  f2376b87b06d8755aa3498bb1226083fdb1d2cf4460c3982b05a9aa0b51d6821 \
                    size    688608

test.run            yes
test.cmd            make
test.target         check

post-destroot {
    xinstall -d ${destroot}${prefix}/share/doc/${name}
    xinstall -W ${worksrcpath} -m 0644 README NEWS ChangeLog \
        ${destroot}${prefix}/share/doc/${name}
}
