mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
00d828bd7b
Upstream has no yet adapted the code to use PyQt5 instead PyQt4. Thus the option MEMMAP that requires Qt4 has been completely removed to make the removal of Qt4 in the ports tree somewhat easier. While I'm here: * Fix license * Simply GitHub usage by removing GH_PROJECT * Add a patch to fix an issue with fake headers (not merged into upstream's repository, yet) Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19395
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= plasma
|
|
DISTVERSION= g20180708
|
|
CATEGORIES= devel python
|
|
|
|
MAINTAINER= kai@FreeBSD.org
|
|
COMMENT= Interactive disassembler for x86/ARM/MIPS
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= bash:shells/bash \
|
|
binutils>=2:devel/binutils \
|
|
capstone>=3:devel/capstone3
|
|
RUN_DEPENDS= binutils>=2:devel/binutils \
|
|
${PYTHON_PKGNAMEPREFIX}capstone>=3:devel/py-capstone@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}keystone-engine>=:devel/py-keystone-engine@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pefile>=0:devel/py-pefile@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pyelftools>=0:devel/py-pyelftools@${PY_FLAVOR}
|
|
|
|
USES= python:3.4+ shebangfix
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= plasma-disassembler
|
|
GH_TAGNAME= 5bb07b3
|
|
|
|
USE_PYTHON= distutils noflavors autoplist
|
|
SHEBANG_FILES= tests/analyzer/run.sh
|
|
SHEBANG_GLOB= *.py
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/setup.py
|
|
@${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|g' ${WRKSRC}/Makefile
|
|
|
|
.include <bsd.port.mk>
|