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

github.setup        aligrudi neatroff 42ffa05d4aca7941be9d9b90c5d243b69521dd61
github.tarball_from archive
version             20231125
revision            1

description         Neatroff is an implementation of troff typesetting system

long_description    {*}${description} in the C programming language

categories          textproc
installs_libs       no
license             ISC
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  5f0671244faa4d9d0e936dfc037edf8f1df84323 \
                    sha256  6329cd86a68420e4227dc31db48ec2145c6162db9dab538eaed01c3106c95652 \
                    size    71426

patchfiles-append   patch-Makefile.diff

build.args-append   FDIR=${prefix}/share/fonts/ \
                    MDIR=${prefix}/share/groff/site-tmac/

destroot {
    xinstall -m 0755 ${worksrcpath}/roff ${destroot}${prefix}/bin/
}
