Add support for webOS ports

We're using a similar model as ubuntu does so the code is mostly just copy&paste of
theirs.