aboutsummaryrefslogtreecommitdiffstats
path: root/main/mdocml/man.conf
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-12-29 10:47:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-12-29 10:49:21 +0000
commit6b731eecdf600d8d435d129bf2838e3babb77c56 (patch)
treedcf4a44b2cbaea71eb24f431ddf58c1f8621e800 /main/mdocml/man.conf
parent1ec859a34c5dd7879bc169f2ff169b3793822bb5 (diff)
downloadaports-6b731eecdf600d8d435d129bf2838e3babb77c56.tar.bz2
aports-6b731eecdf600d8d435d129bf2838e3babb77c56.tar.xz
main/mdocml: build shared, add 'man' and trigger for db
Diffstat (limited to 'main/mdocml/man.conf')
-rw-r--r--main/mdocml/man.conf55
1 files changed, 55 insertions, 0 deletions
diff --git a/main/mdocml/man.conf b/main/mdocml/man.conf
new file mode 100644
index 0000000000..e96bb2f830
--- /dev/null
+++ b/main/mdocml/man.conf
@@ -0,0 +1,55 @@
+# $OpenBSD: man.conf,v 1.20 2014/02/24 20:11:53 espie Exp $
+
+# Sheer, raging paranoia...
+_version BSD.2
+
+# The whatis/apropos database.
+_whatdb /usr/share/man/mandoc.db
+_whatdb /usr/local/share/man/mandoc.db
+
+# Subdirectories for paths ending in '/', IN SEARCH ORDER.
+_subdir {cat,man}0p {cat,man}1 {cat,man}1p {cat,man}8 {cat,man}6 {cat,man}2 {cat,man}3 {cat,man}5 {cat,man}7 {cat,man}4 {cat,man}9 {cat,man}3p {cat,man}3f {cat,man}n
+
+# Files typed by suffix and their commands.
+_suffix .0
+_build .0.gz /usr/bin/zcat %s
+_build .[0-9n] /usr/bin/mandoc -Tutf8 %s
+_build .[0-9n].gz /usr/bin/zcat %s | /usr/bin/mandoc -Tutf8
+_build .[0-9][a-z] /usr/bin/mandoc -Tutf8 %s
+_build .[0-9][a-z].gz /usr/bin/zcat %s | /usr/bin/mandoc -Tutf8
+_build .[0-9][a-z][a-z] /usr/bin/mandoc -Tutf8 %s
+_build .[0-9][a-z][a-z].gz /usr/bin/zcat %s | /usr/bin/mandoc -Tutf8
+_build .[0-9][a-z][a-z][a-z] /usr/bin/mandoc -Tutf8 %s
+_build .[0-9][a-z][a-z][a-z].gz /usr/bin/zcat %s | /usr/bin/mandoc -Tutf8
+_build .tbl /usr/bin/mandoc -Tutf8 %s
+_build .tbl.gz /usr/bin/zcat %s | /usr/bin/mandoc -Tutf8
+
+# Sections and their directories.
+# All paths ending in '/' are the equivalent of entries specifying that
+# directory with all of the subdirectories listed for the keyword _subdir.
+
+# default
+_default /usr/{share,local/share}/man/
+
+# Other sections that represent complete man subdirectories.
+local /usr/local/share/man/
+
+# Specific section/directory combinations.
+0p /usr/{share,local/share}/man/{cat,man}0p
+1 /usr/{share,local/share}/man/{cat,man}1
+1p /usr/{share,local/share}/man/{cat,man}1p
+2 /usr/{share,local/share}/man/{cat,man}2
+3 /usr/{share,local/share}/man/{cat,man}3
+3F /usr/{share,local/share}/man/{cat,man}3f
+3f /usr/{share,local/share}/man/{cat,man}3f
+3P /usr/{share,local/share}/man/{cat,man}3p
+3p /usr/{share,local/share}/man/{cat,man}3p
+3x /usr/{share,local/share}/man/{cat,man}3
+3am /usr/{share,local/share}/man/{cat,man}3
+4 /usr/{share,local/share}/man/{cat,man}4
+5 /usr/{share,local/share}/man/{cat,man}5
+6 /usr/{share,local/share}/man/{cat,man}6
+7 /usr/{share,local/share}/man/{cat,man}7
+8 /usr/{share,local/share}/man/{cat,man}8
+9 /usr/{share,local/share}/man/{cat,man}9
+n /usr/{share,local/share}/man/{cat,man}n