# -*- 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               github 1.0

github.setup            irrtoolset irrtoolset 5.1.3 release-
revision                0
categories              net
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.

checksums               rmd160  818d1cac6a047f16cb0cf110fd5ee6e67b478d83 \
                        sha256  a3eff14c2574f21be5b83302549d1582e509222d05f7dd8e5b68032ff6f5874a \
                        size    274730
github.tarball_from     archive

use_autoreconf          yes

# https://github.com/irrtoolset/irrtoolset/issues/72
depends_build-append    port:bison

configure.env-append    LEX=/usr/bin/flex \
                        YACC=${prefix}/bin/bison

build.args-append       CC=${configure.cc} \
                        CXX=${configure.cxx} \
                        CPP=${configure.cpp} \
                        YACC=${prefix}/bin/bison
