openbsd-ports/devel/py-lief/Makefile
sthen d858b7cc2a Ports built with setuptools on python 3.10 don't need a RUN_DEPENDS on
setuptools (it's used as a package locator but importlib.metadata in
newer Python core or the external importlib_metadata are preferred).
So drop the RDEP in that case (it's still kept for py27) and bump
revisions.
2022-11-26 23:28:11 +00:00

36 lines
577 B
Makefile

COMMENT = library to instrument executable formats
MODPY_EGG_VERSION = 0.11.5
DISTNAME = lief-${MODPY_EGG_VERSION}
PKGNAME = ${MODPY_PY_PREFIX}${DISTNAME}
REVISION = 2
CATEGORIES = devel
HOMEPAGE = https://lief.quarkslab.com/
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
# Apache 2.0
PERMIT_PACKAGE = Yes
EXTRACT_SUFX = .zip
# C++
COMPILER = base-clang ports-gcc
WANTLIB += ${COMPILER_LIBCXX} m
MODULES = lang/python
FLAVORS = python3
FLAVOR = python3
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
BUILD_DEPENDS = devel/cmake
.include <bsd.port.mk>