wget follows web redirects. Simply pass the URL as a parameter.

wget 'https://sourceforge.net/projects/[theProject]/files/latest/download'

https://unix.stackexchange.com/questions/86971/how-do-i-download-from-sourceforge-with-wget