fix bugs of doc link for MacPorts