pkgsrc/devel/radare2/Makefile
2021-09-29 19:00:02 +00:00

36 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.32 2021/09/29 19:00:06 adam Exp $
DISTNAME= radare2-5.1.1
PKGREVISION= 3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=radareorg/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.radare.org/
COMMENT= Reverse engineering framework
LICENSE= gnu-gpl-v3 AND gnu-lgpl-v3
HAS_CONFIGURE= YES
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
CONFIGURE_ARGS+= --with-sysmagic
CONFIGURE_ARGS+= --with-syscapstone
CONFIGURE_ARGS+= --with-syszip
PKGCONFIG_OVERRIDE+= pkgcfg/*.pc*
USE_TOOLS+= gmake patch pkg-config perl
# node
CHECK_INTERPRETER_SKIP+= share/radare2/${PKGVERSION_NOREV}/www/m/fonts/iconjar-map.js
#R2VERSION= ${PKGVERSION_NOREV}-git # trunk revision
R2VERSION= ${PKGVERSION_NOREV} # release version
PLIST_SUBST+= R2VERSION=${R2VERSION}
PRINT_PLIST_AWK+= { gsub(/${R2VERSION}/, "$${R2VERSION}") }
.include "options.mk"
.include "../../devel/capstone/buildlink3.mk"
.include "../../sysutils/file/buildlink3.mk"
.include "../../archivers/libzip/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"