comparison bsd.pypy.mk @ 3:0821ef77e993

MERGE: the "origin" branch with the existing ports files
author Franz Glasner <fzglas.hg@dom66.de>
date Wed, 28 Sep 2022 22:15:25 +0200
parents 5797a1bc38cb
children c269f1e91387
comparison
equal deleted inserted replaced
1:a0092ac0ba78 3:0821ef77e993
1 # $FreeBSD: head/lang/pypy/bsd.pypy.mk 541232 2020-07-04 18:11:42Z zeising $
2
3 .if !defined(LICENSE)
4 LICENSE= MIT PSFL
5 LICENSE_COMB= multi
6 .endif
7
8 USES+= compiler:c11
9
10 PYTHON_IMPL?= ${PORTNAME}
11 PYPY_DIR= ${PYTHON_IMPL}-${DISTVERSION:C|([0-9])\.([0-9]+).*|\1.\2|}
12 PLIST_SUB+= PYPY_DIR=${PYPY_DIR} PYPY_CFFI_VER=${PYPY_CFFI_VER}
13
14 .if ${PYTHON_IMPL} == pypy
15 DISTVERSION= 7.3.0
16 PORTREVISION= 1
17 PYPY_CFFI_VER= ${PYTHON_IMPL}-73
18 .else # ${PYTHON_IMPL} == pypy3
19 DISTVERSION= 7.3.0
20 PORTREVISION= 1
21 PYPY_CFFI_VER= ${PYTHON_IMPL}6-pp${DISTVERSION:S|.||:C|\..*||}-${OPSYS:tl}${OSREL:C|\..*||}
22 .endif