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.

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