I am selling part of my land to a neighbor what is my capital gains situation?

I am selling part of my land to a neighbor (who built over the property line). I have lived on the property for 6+ years.  The amount of land is 0.2 acres, how do I figure out what my capital gains tax will be?  Is there a better way to handle this than a straight sale?