# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup conflicts_build 1.0 PortGroup github 1.0 github.setup radareorg radare2 5.9.6 revision 0 categories devel platforms darwin license LGPL-3+ maintainers {i0ntempest @i0ntempest} openmaintainer description Opensource tools to disasm, debug, analyze and manipulate binary files. long_description ${name} provides {*}${description}. homepage https://www.radare.org/ depends_build port:pkgconfig depends_lib port:capstone \ port:zlib \ port:libzip conflicts_build ${name} checksums rmd160 e5e219a88fe0c720aa792bf1a79be914869eccbf \ sha256 4b79293d6d5e29bb0bc81b6e0a1a4a1736b28d0c49ca372c79a6509334cf787a \ size 11664695 configure.args-append \ --with-syscapstone \ --with-syszip \ --with-compiler=clang post-patch { # 5.7.8: r_fs library fails to build without -lzip. Check again in the next version. reinplace "s|LDFLAGS+=\$(SHLR)/grub/libgrubfs.a|LDFLAGS+=\$(SHLR)/grub/libgrubfs.a -lzip|g" ${worksrcpath}/libr/fs/Makefile } build.env-append HOST_CC=${configure.cc} variant openssl description {Use OpenSSL library} { depends_lib-append \ path:lib/libssl.dylib:openssl configure.args-append \ --with-openssl } default_variants +openssl