pkg_add gumbo
pkg_add automake autoconf git gnumake
export AUTOCONF_VERSION=# based on your autoconf version installed
export AUTOMAKE_VERSION=# based on your automake version installed
git clone https://github.com/google/gumbo-parser
cd gumbo-parser
./autogen.sh
./configure
gmake