# -*- 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
PortGroup           legacysupport 1.1

# stpncpy
legacysupport.newest_darwin_requires_legacy 10

epoch               1
github.setup        thkukuk rpcsvc-proto 1.4.4 v
revision            0
checksums           rmd160  d2ba425bd4f05e742f524f41623e92e1896b4586 \
                    sha256  81c3aa27edb5d8a18ef027081ebb984234d5b5860c65bd99d4ac8f03145a558b \
                    size    168648

# The version of rpcgen from developer_cmds doesn't support the `-M` flag
name                rpcgen-mt
categories          lang devel
license             BSD
maintainers         nomaintainer

description         RPC protocol compiler
long_description    The rpcgen utility is a tool that generates C code \
                    to implement an RPC protocol. \
                    The input to rpcgen is a language similar to C known as \
                    RPC Language (Remote Procedure Call Language). \
                    This port installs a FreeBSD fork with multithreading support.

github.tarball_from releases
use_xz              yes

depends_build       port:gettext

depends_lib         port:gettext-runtime

installs_libs       no

post-destroot {
    delete ${destroot}${prefix}/include/rpcsvc
}
