diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2010-04-05 14:08:57 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2010-04-05 14:08:57 +0000 |
commit | 6eb896d0da489dc987d2a7fd77d081d650352535 (patch) | |
tree | 872c7e71f4db6333af3480792e26e73be7038780 /usr.sbin/pkg_add/OpenBSD/PackingElement.pm | |
parent | a29de9bc0214263ab412f766b4ba11e68e916900 (diff) |
add an extra "mandoc" category that behaves exactly like man for now (to
be used for distinguishing between pages that require groff and those that
don't)
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackingElement.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackingElement.pm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm index 9628941b901..96bf62ebd30 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackingElement.pm,v 1.173 2010/01/19 14:26:24 espie Exp $ +# $OpenBSD: PackingElement.pm,v 1.174 2010/04/05 14:08:56 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org> # @@ -534,6 +534,12 @@ sub format open STDOUT, '>&', $oldout; } +package OpenBSD::PackingElement::Mandoc; +our @ISA=qw(OpenBSD::PackingElement::Manpage); + +sub keyword() { "mandoc" } +__PACKAGE__->register_with_factory; + package OpenBSD::PackingElement::Lib; our @ISA=qw(OpenBSD::PackingElement::FileBase); |