1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/devel/plasma/Makefile
Mateusz Piotrowski 9704f39c2b Bump the Capstone library version to 4
This port is dependant on both the Capstone library and the Python
bindings for Capstone. The version of the library has to be bumped to 4 as
the bindings version has to be kept in sync with the library version in
order to avoid build problems.

Approved by:	portmgr (build fix blanket)
Differential Revision:	https://reviews.freebsd.org/D23921
2020-03-02 14:29:00 +00:00

41 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= plasma
DISTVERSION= g20180708
PORTREVISION= 1
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 \
capstone4>=3:devel/capstone4
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>