Files
2020-02-20 17:20:08 -05:00

47 lines
1.5 KiB
Tcl

# -*- 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 python 1.0
name py-rad
python.rootname pyrad
version 2.3
revision 0
categories-append net
platforms darwin
supported_archs noarch
license BSD
maintainers nomaintainer
description python RADIUS module implementing RFC2865
long_description pyrad is an implementation of a RADIUS client as \
described in RFC2865. It takes care of all the details \
like building RADIUS packets, sending them and \
decoding responses.
homepage https://github.com/pyradius/pyrad/
checksums rmd160 353f7f4db99ff293bd2e16a211430ebf6be7d23d \
sha256 89c4d9b2cab1746c48dc0d93898d278e34a40acedf6f511aeaa748bcd4490295 \
size 46412
python.versions 27 38
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
depends_lib-append \
port:py${python.version}-netaddr \
port:py${python.version}-six
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE.txt \
${destroot}${docdir}
xinstall -m 0644 {*}[glob -directory ${worksrcpath}/example *] \
${destroot}${docdir}/examples
}
}