Files

32 lines
765 B
Makefile
Raw Permalink Normal View History

BROKEN-riscv64 = Unknown architecture riscv64
2018-04-08 20:43:05 +00:00
COMMENT = Python bindings for keystone
MODPY_DISTV = ${GH_TAGNAME}
2022-11-26 14:08:20 +00:00
PKGNAME = py-${DISTNAME}
2025-04-29 10:37:44 +00:00
REVISION = 7
2018-04-08 20:43:05 +00:00
MODULES = lang/python
MODPY_PYBUILD = setuptools
2020-08-07 09:59:58 +00:00
2022-03-31 16:10:29 +00:00
WANTLIB += ${COMPILER_LIBCXX} m
2025-12-19 12:18:16 +00:00
WRKSRC = ${WRKDIST}/bindings/python
2018-04-08 20:43:05 +00:00
COMPILER = base-clang ports-gcc
2025-02-20 15:28:27 +00:00
BUILD_DEPENDS = devel/cmake/core
2022-11-26 14:08:20 +00:00
RUN_DEPENDS = devel/keystone/main
2018-04-08 20:43:05 +00:00
NO_TEST = Yes
2026-02-13 12:02:13 +00:00
pre-configure:
find ${WRKSRC}/../../ -name "CMakeLists.txt" -type f -exec sed -i \
-E 's/cmake_minimum_required\([[:space:]]*VERSION[[:space:]]+[^)]+\)/cmake_minimum_required(VERSION 3.5)/g' \
{} \;
find ${WRKSRC}/../../ -name "CMakeLists.txt" -type f -exec sed -i \
-E 's/cmake_policy\(SET CMP0051 OLD\)/cmake_policy(SET CMP0051 NEW)/' \
{} \;
2018-04-08 20:43:05 +00:00
.include <bsd.port.mk>