1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- 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 <markus-hennecke@markus-hennecke.de>
- # 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 <bsd.port.mk>
|