You can clone with
Original report at SourceForge, opened Sat Jul 17 16:37:47 2010
matplotlib setupext.py currently only includes support for FreeBSD up to 6.x. The attached patch adds support for more recent FreeBSD versions.
Discussed in the sage ticket at http://trac.sagemath.org/sage_trac/ticket/5873 (and a similar patch available there).
I got in touch with @peterjeremy who originally opened this issue, who pointed me at the direct patch file hosted on the FreeBSD site.
Supported FreeBSD10 as per #225
support current and future FreeBSD releases
Also removed some unnecessary imports. This closes #225