aports/main/docbook2mdoc/fix-mandir.patch
John Vogel f07d3203ad main/docbook2mdoc: move from testing
main/logcheck manual page, logcheck.8, needs to be generated from
docbook source. This tool is stable, compact, has no dependencies
other than libc, and is written by well respected developers.
Other options for generating nroff/troff manual pages from docbook
sgml/xml sources are dependency heavy and/or less stable.
2024-06-09 14:54:24 +00:00

17 lines
715 B
Diff

OpenBSD uses $(PREFIX)/man as a MANDIR, we use $(PREFIX)/share/man.
diff -upr docbook2mdoc-1.1.0.orig/Makefile docbook2mdoc-1.1.0/Makefile
--- docbook2mdoc-1.1.0.orig/Makefile 2020-12-29 10:24:38.687808981 +0100
+++ docbook2mdoc-1.1.0/Makefile 2020-12-29 10:25:00.454608509 +0100
@@ -20,9 +20,9 @@ www: docbook2mdoc.1.html docbook2mdoc-$(
install: all
mkdir -p $(DESTDIR)$(PREFIX)/bin
- mkdir -p $(DESTDIR)$(PREFIX)/man/man1
+ mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
install -m 0755 docbook2mdoc $(DESTDIR)$(PREFIX)/bin
- install -m 0444 docbook2mdoc.1 $(DESTDIR)$(PREFIX)/man/man1
+ install -m 0444 docbook2mdoc.1 $(DESTDIR)$(PREFIX)/share/man/man1
installwww: www
mkdir -p $(WWWPREFIX)/snapshots