Cpplint tweaks; fix portfile generation