summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-11-29 09:15:22 +0000
committeradam <adam@pkgsrc.org>2018-11-29 09:15:22 +0000
commit0c88246ec37c03b65d27b6002e7b4c20e4875aac (patch)
tree58b625e2089985dd5fe1f05a376ec5bdb3aaffb2
parent0d258fbe845180ae44e84ebe27e0c67d580933dc (diff)
downloadpkgsrc-0c88246ec37c03b65d27b6002e7b4c20e4875aac.tar.gz
tesseract: fix manpage formatting
-rw-r--r--graphics/tesseract/distinfo3
-rw-r--r--graphics/tesseract/patches/patch-doc_Makefile.am24
2 files changed, 26 insertions, 1 deletions
diff --git a/graphics/tesseract/distinfo b/graphics/tesseract/distinfo
index 19b9012f6a8..d63f0b20903 100644
--- a/graphics/tesseract/distinfo
+++ b/graphics/tesseract/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2018/11/03 09:13:07 adam Exp $
+$NetBSD: distinfo,v 1.20 2018/11/29 09:15:22 adam Exp $
SHA1 (tessdata-4.0.0.tar.gz) = 94557a6ecdf8ff8bec131598759e7d3b0bca1911
RMD160 (tessdata-4.0.0.tar.gz) = 2e826e866b56ff8b9cb2c6613f04d8c4a4ff98d7
@@ -8,4 +8,5 @@ SHA1 (tesseract-4.0.0.tar.gz) = 243a4919d44bc64d1e7e4cac660c716c845a8d03
RMD160 (tesseract-4.0.0.tar.gz) = 0e95d343639ab98c6d3fbc528053b627b6e12282
SHA512 (tesseract-4.0.0.tar.gz) = 69e57d4ba1fc43d212fd0fff69a2b5d48a3b37cfee7054fdc083cbb7e04d92317609a32e457229661d70ce8d9b16c9d25e81bfc3861db660dd2c8f292202d447
Size (tesseract-4.0.0.tar.gz) = 1961372 bytes
+SHA1 (patch-doc_Makefile.am) = fd9cc782e766428de5709b77d7a2476be55ec7d8
SHA1 (patch-tessdata_Makefile.am) = 496926e629d3803165306c22a9c03ff71f5b774f
diff --git a/graphics/tesseract/patches/patch-doc_Makefile.am b/graphics/tesseract/patches/patch-doc_Makefile.am
new file mode 100644
index 00000000000..ce2a3910d31
--- /dev/null
+++ b/graphics/tesseract/patches/patch-doc_Makefile.am
@@ -0,0 +1,24 @@
+$NetBSD: patch-doc_Makefile.am,v 1.1 2018/11/29 09:15:23 adam Exp $
+
+Properly format manpages.
+
+--- doc/Makefile.am.orig 2018-11-29 08:57:43.000000000 +0000
++++ doc/Makefile.am
+@@ -2,7 +2,7 @@
+
+ if ASCIIDOC
+
+-asciidoc=asciidoc -d manpage
++asciidoc=a2x -f manpage
+
+
+ man_MANS = \
+@@ -36,7 +36,7 @@ EXTRA_DIST = $(man_MANS) Doxyfile
+ html: $(patsubst %,%.html,$(man_MANS))
+
+ %: %.asc
+- $(asciidoc) -o $@ $<
++ $(asciidoc) $<
+
+ %.html: %.asc
+ asciidoc -b html5 -o $@ $<