# -*- 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                libsmi
version             0.5.0
revision            0
categories          net
platforms           darwin
license             Permissive
maintainers         nomaintainer

description         Library to Access SMI MIB Information
long_description    The core of the libsmi distribution is a library \
                    that allows management applications to access SMI \
                    MIB module definitions. On top of this library, \
                    there are tools to check, analyze dump, convert, \
                    and compare MIB definitions. Finally, the \
                    distribution contains a steadily maintained and \
                    revised archive of all IETF and IANA maintained \
                    standard MIB and PIB modules. The library is \
                    internally divided into two layers. The upper \
                    layers represent the API to applications that make \
                    use of libsmi. Furthermore, the upper layer holds \
                    the MIB information in common internal data \
                    structures. The lower layer contains the drivers \
                    that implement the access to persistent MIB module \
                    repositories. Currently drivers for SMIv1/v2 MIB \
                    module files and for SPPI PIB module files exist. \
                    A driver for an early draft of SMIng is also present.
homepage            http://www.ibr.cs.tu-bs.de/projects/libsmi

master_sites        ${homepage}/download
checksums           rmd160  0d5aa133128136d3ab08a81669c14e77813d2a54 \
                    sha256  f21accdadb1bb328ea3f8a13fc34d715baac6e2db66065898346322c725754d3 \
                    size    4798883

patchfiles          patch-configure.diff \
                    patch-lib-parser-yang.h.diff \
                    patch-lib-yang-complex-types.h.diff

configure.args      --mandir=${prefix}/share/man

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)
