lighttpd: install configuration examples

Place them in $out/share/lighttpd/doc/config/.

Most importantly, this includes a complete set of mime types in the
$out/share/lighttpd/doc/config/conf.d/mime.conf file. The plan is to use
that file in the NixOS lighttpd module.

Changed files
+9
pkgs
servers
http
lighttpd
+9
pkgs/servers/http/lighttpd/default.nix
···
sed -i "s:/usr/bin/file:${file}/bin/file:g" configure
'';
+
postInstall = ''
+
mkdir -p "$out/share/lighttpd/doc/config"
+
cp -vr doc/config "$out/share/lighttpd/doc/"
+
# Remove files that references needless store paths (dependency bloat)
+
rm "$out/share/lighttpd/doc/config/Makefile"*
+
rm "$out/share/lighttpd/doc/config/conf.d/Makefile"*
+
rm "$out/share/lighttpd/doc/config/vhosts.d/Makefile"*
+
'';
+
meta = with stdenv.lib; {
description = "Lightweight high-performance web server";
homepage = http://www.lighttpd.net/;