add $FreeBSD$. get copyright in sync with FreeBSD recommendation. make it compile and run again. add a manpage.