Scope= about $1200 + bases/rings ($150-$250)
Stock= about $500 + bedding ($150-$200) + adjustable buttstock ($300ish) + exterior finish work ($200ish) + paint/finish ($300)
Bolt= forged, fluted, tactical bolt handle = $400
Action= $400 + assuming trued, lapped, bolt properly fitted $500ish
Barrel (assuming it's a good'n)= about $400 + about $300 installation
Cost to the original customer is likely somewhere around $5,000 as shown.
So what did your buddy pay?
If you feel guilty accepting a gift of that sort, just ship it to me and I will ease your conscience.