33 lines
713 B
Makefile

# $OpenBSD: Makefile,v 1.7 2020/07/03 21:12:24 sthen Exp $
COMMENT = pipe interface for radare2
MODPY_EGG_VERSION = 1.4.2
DISTNAME = r2pipe-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 1
CATEGORIES = devel
HOMEPAGE = https://radare.org/
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
FLAVORS = python3
FLAVOR ?=
# There seems to be a python3-ism which breaks fake with python2:
# self.process = yield from create # Init the process
# So fail if the on non-python3 flavor is set
.if !${FLAVOR:Mpython3}
ERRORS += "Fatal: Flavors other than python3 are not supported at the moment"
.endif
.include <bsd.port.mk>