Sullivan County farmer turns real estate transaction into charitable gift