I just found out there is a new way to install rc script
by using USE_RC_SUBR=filename. So change to the new way
and it simplfy the Makefile.
Generated with FreeBSD Port Tools 0.63
Fix: Apply this diff and
*rename* files/mailgraph.sh.tmpl to files/mailgraph.sh.in.