···5959 postInstall = ''
6060 rm $doc/share/doc/groff/examples/hdtbl/*color*ps
6161 find $doc/share/doc/groff/ -type f -print0 | xargs -0 sed -i -e 's/%%CreationDate: .*//'
6262+ for f in 'man.local' 'mdoc.local'; do
6363+ cat '${./site.tmac}' >>"$out/share/groff/site-tmac/$f"
6464+ done
6265 '';
63666467 meta = with stdenv.lib; {
+16
pkgs/tools/text/groff/site.tmac
···11+.
22+.if n \{\
33+. \" Character translations for non-keyboard
44+. \" characters - to make them searchable
55+. if '\*[.T]'utf8' \{\
66+. char \- \N'45'
77+. char - \N'45'
88+. char ' \N'39'
99+. char \' \N'39'
1010+. \}
1111+.
1212+. \" Shut off SGR by default (groff colors)
1313+. \" Require GROFF_SGR envvar defined to turn it on
1414+. if '\V[GROFF_SGR]'' \
1515+. output x X tty: sgr 0
1616+.\}