Changeset View
Changeset View
Standalone View
Standalone View
security/py-angr/Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $FreeBSD$ | |||||
PORTNAME= angr | |||||
PORTVERSION= 8.20.1.7 | |||||
CATEGORIES= security devel python | |||||
MASTER_SITES= CHEESESHOP | |||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | |||||
MAINTAINER= 0mp@FreeBSD.org | |||||
COMMENT= Multi-architecture binary analysis toolkit | |||||
LICENSE= BSD3CLAUSE | |||||
LICENSE_FILE= ${WRKSRC}/LICENSE | |||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bitstring>0:devel/py-bitstring@${PY_FLAVOR} \ | |||||
${PYTHON_PKGNAMEPREFIX}pyvex>0:security/py-pyvex@${PY_FLAVOR} \ | |||||
${PYTHON_PKGNAMEPREFIX}unicorn>0:emulators/py-unicorn@${PY_FLAVOR} | |||||
LIB_DEPENDS= libunicorn.so:emulators/unicorn | |||||
USES= gmake localbase python | |||||
USE_PYTHON= autoplist distutils | |||||
post-patch: | |||||
@${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g' \ | |||||
-e 's|%%CXX%%|${CXX}|g' \ | |||||
-e 's|%%CFLAGS%%|${CFLAGS}|g' \ | |||||
-e 's|%%LDFLAGS%%|${LDFLAGS}|g' \ | |||||
-e 's|%%LIBS%%|${LIBS}|g' \ | |||||
${WRKSRC}/native/Makefile | |||||
post-install: | |||||
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/lib/angr_native.so | |||||
.include <bsd.port.mk> |