View | Details | Raw Unified | Return to bug 278339 | Differences between
and this patch

Collapse All | Expand All

(-)b/x11/iaito/Makefile (+40 lines)
Added Link Here
1
PORTNAME=	iaito
2
PORTVERSION=	5.9.2
3
CATEGORIES=	x11
4
5
MAINTAINER=	freebsd@sysctl.cz
6
COMMENT=	iaito is the official graphical interface for radare2, \
7
		a libre reverse engineering framework.
8
WWW=		https://github.com/radareorg/iaito
9
10
LICENSE=	GPLv3
11
12
BUILD_DEPENDS=	radare2>0:devel/radare2
13
14
LIB_DEPENDS=	libr_core.so:devel/radare2 \
15
		libcapstone.so:devel/capstone
16
17
USES=		gl gmake ssl qt:5 pkgconfig qmake:no_configure
18
19
USE_GITHUB=	yes
20
GH_ACCOUNT=	radareorg
21
GH_PROJECT=	${PORTNAME}
22
23
USE_QT=		buildtools core gui linguisttools:build network svg widgets
24
GNU_CONFIGURE=	yes
25
USE_GL=		gl
26
MAKE_ENV=	QMAKE_FLAGS="PREFIX=${STAGEDIR}${PREFIX}"\
27
		DESTDIR=${STAGEDIR}${PREFIX}
28
29
do-install:
30
	${INSTALL_PROGRAM} ${WRKSRC}/build/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
31
	${INSTALL_DATA} ${WRKSRC}/src/org.radare.${PORTNAME}.desktop \
32
			${STAGEDIR}${DESKTOPDIR}
33
	${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
34
	${INSTALL_DATA} ${WRKSRC}/src/img/org.radare.iaito.svg \
35
		${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
36
	${MKDIR} ${STAGEDIR}${PREFIX}/share/metainfo
37
	${INSTALL_DATA} ${WRKSRC}/src/org.radare.iaito.appdata.xml \
38
		${STAGEDIR}${PREFIX}/share/metainfo
39
40
.include <bsd.port.mk>
(-)b/x11/iaito/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1722457123
2
SHA256 (radareorg-iaito-5.9.2_GH0.tar.gz) = fdaf0e29cb41219224c44f770c838147f8dd5c2fc407a933745772bc86056337
3
SIZE (radareorg-iaito-5.9.2_GH0.tar.gz) = 3105697
(-)b/x11/iaito/files/patch-Makefile (+10 lines)
Added Link Here
1
--- Makefile.orig    2024-04-12 21:12:28 UTC
2
+++ Makefile
3
@@ -19,7 +19,7 @@ endif
4
 ifeq ($(WANT_PYTHON_BINDINGS),1)
5
 QMAKE_FLAGS+=IAITO_ENABLE_PYTHON_BINDINGS=true
6
 endif
7
-QMAKE_FLAGS+=PREFIX=$(PREFIX)
8
+#QMAKE_FLAGS+=PREFIX=$(PREFIX)
9
 
10
 all: iaito
(-)b/x11/iaito/files/patch-src_lib__radare2.pri (+13 lines)
Added Link Here
1
--- src/lib_radare2.pri.orig    2024-05-24 00:09:14 UTC
2
+++ src/lib_radare2.pri
3
@@ -78,8 +78,8 @@ win32 {
4
     equals(USE_PKGCONFIG, 1) {
5
         CONFIG += link_pkgconfig
6
        # PKGCONFIG += r_core
7
-        R2_INCLUDEPATH = "$$system("bash -c 'pkg-config --variable=includedir r_core'")/libr"
8
-        R2_INCLUDEPATH += "$$system("bash -c 'pkg-config --variable=includedir r_core'")/libr/sdb"
9
+        R2_INCLUDEPATH = "$$system("sh -c 'pkg-config --variable=includedir r_core'")/libr"
10
+        R2_INCLUDEPATH += "$$system("sh -c 'pkg-config --variable=includedir r_core'")/libr/sdb"
11
         INCLUDEPATH += $$R2_INCLUDEPATH
12
         LIBS += $$system("pkg-config --libs r_core")
13
     } else {
(-)b/x11/iaito/pkg-descr (+7 lines)
Added Link Here
1
iaito is the official graphical interface for radare2, a libre reverse engineering framework.
2
 * Requires radare2 and Qt-5/6.
3
 * Iaito was the original name of this GUI before being forked as Cutter.
4
 * Use r2 plugins (f.ex: no need for r2ghidra-iaito plugin if r2ghidra is installed).
5
 * Focus on simplicity, parity with commands, keybindings and r2-style workflows.
6
 * Aims to cover other radare2 features, not just a disassembler:
7
 	forensics, networking, bindiffing, solvers, ..
(-)b/x11/iaito/pkg-plist (-1 / +4 lines)
Added Link Here
0
- 
1
bin/iaito
2
share/applications/org.radare.iaito.desktop
3
share/icons/hicolor/scalable/apps/org.radare.iaito.svg
4
share/metainfo/org.radare.iaito.appdata.xml

Return to bug 278339