···59 postInstall = ''
60 rm $doc/share/doc/groff/examples/hdtbl/*color*ps
61 find $doc/share/doc/groff/ -type f -print0 | xargs -0 sed -i -e 's/%%CreationDate: .*//'
00062 '';
6364 meta = with stdenv.lib; {
···59 postInstall = ''
60 rm $doc/share/doc/groff/examples/hdtbl/*color*ps
61 find $doc/share/doc/groff/ -type f -print0 | xargs -0 sed -i -e 's/%%CreationDate: .*//'
62+ for f in 'man.local' 'mdoc.local'; do
63+ cat '${./site.tmac}' >>"$out/share/groff/site-tmac/$f"
64+ done
65 '';
6667 meta = with stdenv.lib; {
+16
pkgs/tools/text/groff/site.tmac
···0000000000000000
···1+.
2+.if n \{\
3+. \" Character translations for non-keyboard
4+. \" characters - to make them searchable
5+. if '\*[.T]'utf8' \{\
6+. char \- \N'45'
7+. char - \N'45'
8+. char ' \N'39'
9+. char \' \N'39'
10+. \}
11+.
12+. \" Shut off SGR by default (groff colors)
13+. \" Require GROFF_SGR envvar defined to turn it on
14+. if '\V[GROFF_SGR]'' \
15+. output x X tty: sgr 0
16+.\}