Sync with ports tree
Add staging support, explicitly create DESKTOPDIR to prevent it from
being created as a file instead.
Fix pkg-plist, passes 'make check-orphans' and 'make package'
Revert "Try to fix build on recent CURRENT, from log at"

This reverts commit e00e69d3a17e648c489d5cae166f7f6bcb8bff1a.

Fixes for 10.0 (mostly libc++) will first go into the freebsd-current
branch.
Sync with ports tree
Merge branch 'freebsd-current' of https://github.com/gliaskos/freebsd-chromium into freebsd-current
Update to 30.0.1599.69 (bugfix)
chrome-wrapper needs shebangfix, and apply whitespacefix while here
Sync with Ports Tree
'make checkpatch' works.
Fix build (still in progress, AFK)

Notes:
- this version is vulnerable, please use 31.0.1650.57 ASAP
- patch-base__strings__strings__safe_sprintf_unittest.cc is ugly and needs to be redone
- upstream needs to learn about stdlib.h ?
More buildfixes, WIP
Few more build fixes, and use correct diff format for wifi_data_provider_freebsd.*
Rename MACHINE to THEMACHINE to avoid a name conflict with machine/param.h pulled in via includes. Compilation is now OK, linking not yet.
Update to 31.0.1650.57 (security). 'make checkpatch' works
Use the correct syntax and conditionals to exclude removable_storage_provider_linux.cc
Fold patch-v8__src__runtime.cc into extra-patch-clang
Using malloc() requires including stdlib.h according to ISO C90
Convert some conditionals in Makefile to option helpers
Make GetWMClassFromAppName available on FreeBSD