diff options
authorEray Aslan <>2020-12-29 13:41:04 +0300
committerEray Aslan <>2020-12-29 13:41:30 +0300
commitf2b712ce31a89f4873ae76c1f5a4148eebfc7533 (patch)
tree53178c6b23025d3c675762198db5408457cc7bcc /net-mail/mailbase/files
parentdev-lang/ruby: fix compilation with USE=socks5 (diff)
net-mail/mailbase: do not hardcode application paths
as it obviously wont work for gentoo prefix project. and review and revize the mailcap file while at it. Bug: Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Eray Aslan <>
Diffstat (limited to 'net-mail/mailbase/files')
1 files changed, 19 insertions, 0 deletions
diff --git a/net-mail/mailbase/files/mailcap-r1 b/net-mail/mailbase/files/mailcap-r1
new file mode 100644
index 00000000000..0ffdcca3783
--- /dev/null
+++ b/net-mail/mailbase/files/mailcap-r1
@@ -0,0 +1,19 @@
+application/pdf; xdg-open '%s'; needsterminal
+application/postscript; xdg-open '%s'; needsterminal
+application/x-info; info --subnodes -o /dev/stdout -f '%s' 2>/dev/null; copiousoutput; description=GNU Info document
+application/x-gtar; tar tvzf -; print=tar tvzf - | print text/plain:-; copiousoutput
+application/x-tar; tar tvf -; print=tar tvf - | print text/plain:-; copiousoutput
+application/x-troff-man; nroff -mandoc -Tutf8; copiousoutput; print=nroff -mandoc -Tutf8 | print text/plain:-
+audio/*; xdg-open '%s'; needsterminal
+image/*; xdg-open '%s'; needsterminal
+text/html; lynx -dump '%s'; copiousoutput; description=HTML Text; nametemplate=%s.html
+text/troff; man -l '%s'; needsterminal; description=Man page
+text/*; less '%s'; needsterminal
+text/*; gview '%s'; edit=gvim -f '%s'; compose=gvim -f '%s'; test=test "$DISPLAY" != ""
+text/*; view '%s'; edit=vim '%s'; compose=vim '%s'; needsterminal
+text/*; more '%s'; needsterminal
+*/*; less '%s'; needsterminal
+*/*; false; print=lpr '%s'