vex is amd64-only and there is no point in attempting to build packages only to have them fail when the RDEP on vex cannot be resolved (e.g. on i386 as reported by sthen). prompted by sthen@ ok kn@
35 lines
808 B
Makefile
35 lines
808 B
Makefile
# $OpenBSD: Makefile,v 1.3 2019/09/30 08:24:44 jasper Exp $
|
|
|
|
# sync with devel/angr/Makefile.inc
|
|
ONLY_FOR_ARCHS = amd64
|
|
|
|
COMMENT = ROP chain builder based off of angr
|
|
|
|
DISTNAME = angrop-${MODPY_EGG_VERSION}
|
|
|
|
CATEGORIES = security
|
|
|
|
HOMEPAGE = https://github.com/salls/angrop
|
|
|
|
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
|
|
Klemens Nanni <kn@openbsd.org>
|
|
|
|
# license field not set, consider bugging module's author
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
|
|
MODPY_EGG_VERSION = 8.19.7.25
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
RUN_DEPENDS = devel/angr/py-angr>=${MODPY_EGG_VERSION}
|
|
|
|
DOCDIR = ${PREFIX}/share/doc/angrop
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DOCDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${DOCDIR}/
|
|
|
|
.include <bsd.port.mk>
|