# -*- 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                    irrtoolset
version                 5.0.1
revision                1
categories              net
platforms               darwin
license                 GPL-2
maintainers             nomaintainer

description             a set of tools to work with Internet routing policies

long_description        The IRRToolSet is ${description}. \
                        These policies are stored in Internet Routing Registries (IRR) in the \
                        Routing Policy Specification Language (RPSL). The goal of the IRRToolSet \
                        is to make routing information more convenient and useful for network engineers, \
                        by providing tools for automated router configuration, routing policy analysis, \
                        and on-going maintenance.

homepage                http://irrtoolset.isc.org/
set download_site       ftp://ftp.isc.org/isc/IRRToolSet/
master_sites            ${download_site}IRRToolSet-${version}/

checksums               md5     5b58387a30b5d31065057bdb877544dd \
                        sha1    19510275f5f64608e4a683c744c14f8e900ea19e \
                        rmd160  667c22e0658bdc4b544031e7fe33dffc7cc1a2c8

configure.env-append    LEX=/usr/bin/flex

build.args-append       CC=${configure.cc} \
                        CXX=${configure.cxx} \
                        CPP=${configure.cpp}

livecheck.type          regex
livecheck.url           ${download_site}
livecheck.regex         IRRToolSet-(\[0-9\\.\]+)