|
| 1 | +PORTNAME= rizin |
| 2 | +DISTVERSIONPREFIX= v |
| 3 | +DISTVERSION= 0.6.3 |
| 4 | +CATEGORIES= lang security shells |
| 5 | + |
| 6 | +MAINTAINER= arrowd@FreeBSD.org |
| 7 | +COMMENT= UNIX-like reverse engineering framework and command-line toolset |
| 8 | +WWW= https://rizin.re |
| 9 | + |
| 10 | +LICENSE= LGPLv3 GPLv3 |
| 11 | +LICENSE_FILE= ${WRKSRC}/COPYING |
| 12 | + |
| 13 | +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} |
| 14 | +LIB_DEPENDS= libcapstone.so:devel/capstone \ |
| 15 | + libmspack.so:archivers/libmspack \ |
| 16 | + libxxhash.so:devel/xxhash \ |
| 17 | + libtree-sitter.so:devel/tree-sitter \ |
| 18 | + liblz4.so:archivers/liblz4 \ |
| 19 | + libzip.so:archivers/libzip |
| 20 | + |
| 21 | +USES= localbase meson pkgconfig python:build ssl |
| 22 | + |
| 23 | +MESON_ARGS= -D use_sys_capstone=enabled \ |
| 24 | + -D use_sys_magic=enabled \ |
| 25 | + -D use_sys_libzip=enabled \ |
| 26 | + -D use_sys_zlib=enabled \ |
| 27 | + -D use_sys_lz4=enabled \ |
| 28 | + -D use_sys_lzma=enabled \ |
| 29 | + -D use_sys_xxhash=enabled \ |
| 30 | + -D use_sys_openssl=enabled \ |
| 31 | + -D use_sys_libmspack=enabled \ |
| 32 | + -D use_sys_tree_sitter=enabled \ |
| 33 | + -D enable_rz_test=false |
| 34 | + # -D use_sys_libzstd=enabled \ |
| 35 | +
|
| 36 | +USE_GITHUB= yes |
| 37 | +GH_ACCOUNT= rizinorg |
| 38 | +GH_TUPLE= rizinorg:rz-libdemangle:3eb0ef8:libdemangle/subprojects/libdemangle \ |
| 39 | + rizinorg:tree-sitter-c:81d96d8:tree_sitter_c/subprojects/tree-sitter-c \ |
| 40 | + BLAKE3-team:BLAKE3:3f396d2:blake3/subprojects/blake3 |
| 41 | + |
| 42 | +post-extract: |
| 43 | + ${CP} -r ${WRKSRC}/subprojects/packagefiles/blake3 ${WRKSRC}/subprojects |
| 44 | + ${CP} -r ${WRKSRC}/subprojects/packagefiles/tree-sitter-c ${WRKSRC}/subprojects |
| 45 | + |
| 46 | +.include <bsd.port.mk> |
0 commit comments