The Income Tax act has made provision u/s 54 & 54A--G of the act whereby you can claim exemption from tax on capital gains.