Not directly. The Portuguese spoken in Brazil came from Portugal, when Pedro Alvares Cabral arrived in Brazil in April, 21st, 1500. There are some countries in Africa that also speaks Portuguese, with their different variations and accents. But in the end, it’s all Portuguese.
A lot of immigrants went to Brazil in the pass of years. So, according to the Brazilian census of 2010, at least 274 different languages are spoken in Brazil, from immigrants rom Germany, Italy, France, Russia, Poland, among another European countries. We can’t forget all the indigenous languages that were spoken in Brazil before the 1500 discovery and they still spoken by the descents of the native Brazilians.
There were some slaves that came from Africa even before the most of immigrants. However, no African languages are spoken in Brazil. use some words that came from African languages are nowadays a part of the Brazilian Portuguese.