FreeBSD script download and extract kernel source. This will download and extract the kernel source for your FreeBSD version.