South Africa does not discriminate between same-sex immigration and heterosexual immigration.
The rules and regulations that govern same-sex immigration with life partners and spouses (civil marriage) are exactly the same.
If you are in a permanent same-sex relationship with a South African citizen or permanent residency holder, see here for more information on the appropriate type of permits and visas to apply for.