blob: eaf7351179eb1ce690b8782118620ba49ec8987a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
PORTNAME= redasm
PORTVERSION= 2.1.1
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= danfe@FreeBSD.org
COMMENT= Interactive, multiarchitecture disassembler
LICENSE= GPLv3
USES= cmake compiler:c++11-lang qt:5
USE_QT= buildtools_build qmake_build core gui widgets
USE_GITHUB= yes
GH_ACCOUNT= REDasmOrg
GH_PROJECT= REDasm
GH_TUPLE= REDasmOrg:REDasm-Library:b59bdc3:libra/LibREDasm \
Dax89:QHexView:4524ca3:qhv/QHexView \
aquynh:capstone:4948fd1:cs/LibREDasm/depends/capstone
PLIST_FILES= bin/REDasm lib/LibREDasm.so bin/redasm
post-patch:
@${REINPLACE_CMD} -e '/Git/s,find_package,#&, ; \
s|unknown|8848416|' ${WRKSRC}/CMakeLists.txt
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/REDasm ${STAGEDIR}${PREFIX}/bin
${LN} -s REDasm ${STAGEDIR}${PREFIX}/bin/redasm
${INSTALL_LIB} ${BUILD_WRKSRC}/LibREDasm.so ${STAGEDIR}${PREFIX}/lib
.include <bsd.port.mk>
|