Setting proxy via http_proxy on Mac
Astrofrog
I hope this is not a dumb answer but do you have real values for PROXY and PORT. It should normally look something like
export http_proxy=http://myproxy.myorg.com:8080/
or
export http_proxy=http://10.20.1.1:8080/
Also try setting the variable in caps eg.
export HTTP_PROXY=http://myproxy.myorg.com:8080/
Finally there is normally some sort of authentication\verification on the proxy for example it might need to be configured to check the source address. Is your address configured on it?
James