# -*- 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 R 1.0 # Revert to GitHub once updated there. R.setup cran shikokuchuo nanonext 1.2.1 revision 0 categories-append devel maintainers {@barracuda156 gmail.com:vital.had} openmaintainer license GPL-3+ description NNG (Nanomsg Next Gen) lightweight messaging library long_description {*}${description} homepage https://shikokuchuo.net/nanonext checksums rmd160 bdfd6fd8c735b334cf364c2f98b1b98487542693 \ sha256 3943703817399f6526c889777436e9168153a24395b639eff163cb6d1d70a065 \ size 763774 depends_build-append \ path:bin/cmake:cmake \ path:bin/pkg-config:pkgconfig \ port:xz depends_lib-append port:mbedtls3 \ port:nng # Configure literally searches everywhere besides the correct place. patchfiles patch-fix-paths.diff post-patch { reinplace "s,@CC@,${configure.cc}," ${worksrcpath}/configure reinplace "s,@PREFIX@,${prefix},g" ${worksrcpath}/configure } build.env-append CC=${configure.cc} CXX=${configure.cxx} depends_test-append port:R-knitr \ port:R-later \ port:R-markdown \ port:R-promises test.run yes