34 lines
735 B
Makefile
34 lines
735 B
Makefile
# $OpenBSD: Makefile,v 1.6 2019/09/27 05:48:12 rpointel Exp $
|
|
|
|
COMMENT = rop gadget finder and binary information tool
|
|
|
|
MODPY_EGG_VERSION = 1.12.5
|
|
DISTNAME = ropper-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
|
|
CATEGORIES = security
|
|
|
|
HOMEPAGE = https://scoding.de/ropper/
|
|
|
|
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
|
|
|
|
# BSD 3-clauses
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
MODPY_SETUPTOOLS = Yes
|
|
MODPY_PI = Yes
|
|
|
|
RUN_DEPENDS = devel/py-filebytes${MODPY_FLAVOR} \
|
|
devel/capstone/python${MODPY_FLAVOR} \
|
|
devel/keystone/python${MODPY_FLAVOR}
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
# permit installing py- and py3- on same machine
|
|
post-install:
|
|
mv ${PREFIX}/bin/ropper ${PREFIX}/bin/ropper${MODPY_BIN_SUFFIX}
|
|
|
|
.include <bsd.port.mk>
|