tax deductions on vacant land

If you own non income producing vacant land, how do you report your purchase and maintenance costs on your tax return, Each year or as part of the cost basis when sold?