An unofficial June 30 deadline was set by anti-immigration groups for undocumented migrants to leave South Africa.