# $FreeBSD: head/lang/pypy/bsd.pypy.mk 541232 2020-07-04 18:11:42Z zeising $ .if !defined(LICENSE) LICENSE= MIT PSFL LICENSE_COMB= multi .endif USES+= compiler:c11 PYTHON_IMPL?= ${PORTNAME} PYPY_DIR= ${PYTHON_IMPL}-${DISTVERSION:C|([0-9])\.([0-9]+).*|\1.\2|} PLIST_SUB+= PYPY_DIR=${PYPY_DIR} PYPY_CFFI_VER=${PYPY_CFFI_VER} .if ${PYTHON_IMPL} == pypy DISTVERSION= 7.3.0 PORTREVISION= 1 PYPY_CFFI_VER= ${PYTHON_IMPL}-73 .else # ${PYTHON_IMPL} == pypy3 DISTVERSION= 7.3.0 PORTREVISION= 1 PYPY_CFFI_VER= ${PYTHON_IMPL}6-pp${DISTVERSION:S|.||:C|\..*||}-${OPSYS:tl}${OSREL:C|\..*||} .endif