use more of upstream's build infrastructure to simplify the ports Makefile. ok Florian Stinglmayr (maintainer), tb@