COMMENT = a lean and efficient implementation of Python 3 ONLY_FOR_ARCHS = aarch64 amd64 V = 1.23.0 DISTNAME = micropython-$(V) CATEGORIES = lang devel HOMEPAGE = https://micropython.org/ MAINTAINER = Markus Hennecke # MIT PERMIT_PACKAGE = Yes PERMIT_DISTFILES = Yes SITES = ${HOMEPAGE}resources/source/ EXTRACT_SUFX = .tar.xz # Dependencies LIB_DEPENDS = devel/libffi MODULES = lang/python MODPY_RUNDEP = No MAKE_FLAGS = CC=$(CC) V=1 USE_GMAKE = Yes CONFIGURE_STYLE = none NO_TEST = Yes WANTLIB += c m pthread ffi do-build: cd ${WRKBUILD}/mpy-cross && \ env -i ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \ -f ${MAKE_FILE} ${ALL_TARGET} cd ${WRKBUILD}/ports/unix && \ env -i ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \ -f ${MAKE_FILE} ${ALL_TARGET} do-install: cd ${WRKBUILD}/ports/unix && \ env -i ${MAKE_ENV} ${FAKE_SETUP} ${MAKE_PROGRAM} ${ALL_FAKE_FLAGS} \ -f ${MAKE_FILE} ${FAKE_TARGET} ${INSTALL_PROGRAM} ${WRKBUILD}/mpy-cross/build/mpy-cross ${PREFIX}/bin/mpy-cross .include