An ailing LeBron James sat out Saturday night’s game against the Portland Trail Blazers, the first game the ­Miami Heat star has missed this season.

James injured his right groin in the second quarter of Friday night’s 108-103 overtime loss at Sacramento that snapped Miami’s six-game winning streak. He stayed in the game and finished with 33 points, eight rebounds and eight assists.

James, selected the Associated Press 2013 Male Athlete of the Year this past week, also tweaked his left ankle in the loss.

The four-time NBA MVP warmed up before Saturday night’s game against the Trail Blazers, but the two-time defending champions later announced he was inactive.

Knicks without two stars

The New York Knicks were without leading scorer Carmelo Anthony and forward Metta World Peace for Saturday’s game against the Raptors.

Anthony, who did not travel to Toronto, missed his third consecutive game with a sore left ankle. Coach Mike Woodson said he hoped to have Anthony back when the Knicks visit Texas next week for games at San Antonio, Houston and Dallas.

“If he can’t run and jump because of his ankle, he needs to nurse it back and get it ready to go and then he’ll let us know,” Woodson said.

Anthony was injured in Monday’s win at Orlando and has since sat out home losses to Oklahoma City and Toronto. The NBA’s second-leading scorer, he’s averaging 26.3 points this season and has led the Knicks in scoring in every game he’s played.

World Peace returned in Friday’s loss to Toronto after missing three games with a sore left knee, but re-aggravated the injury in a five-minute appearance.

Injured guard misses game

New Orleans guard Eric Gordon missed Saturday’s game against the Houston Rockets with a right hip contusion.

Gordon missed the Pelicans’ 105-89 win over the Denver Nuggets on Friday night because of the injury as well.

Gordon, who is averaging 15.4 points per game this season, was injured in New Orleans’ 113-100 win against Sacramento Monday night when he was knocked to the ground by Kings’ guard Isaiah Thomas while going for a layup.

Anthony Morrow started in place of Gordon Friday night and scored eight points.

Reserve center Jason Smith missed his fourth consecutive game Saturday because of a right knee bone bruise. Smith hasn’t played since a loss to the Los Angeles Clippers on December 18.