aboutsummaryrefslogtreecommitdiffstats
path: root/main/mdocml
diff options
context:
space:
mode:
authorPaul Onyschuk <blink@bojary.koba.pl>2011-07-26 13:04:22 +0200
committerPaul Onyschuk <blink@bojary.koba.pl>2011-07-26 13:04:22 +0200
commitefe5dc76f1beadc9ac3f9de691e4ad7563569cb8 (patch)
tree00c93be4860cf58ce92080705d6fa8ac0ed70aad /main/mdocml
parent13ff64860853f255ec466b2853cf0311a7ddb97d (diff)
downloadaports-efe5dc76f1beadc9ac3f9de691e4ad7563569cb8.tar.bz2
aports-efe5dc76f1beadc9ac3f9de691e4ad7563569cb8.tar.xz
main/mdocml: fix opening of compressed man pages in man.sh
Diffstat (limited to 'main/mdocml')
-rw-r--r--main/mdocml/APKBUILD4
-rw-r--r--main/mdocml/man.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/main/mdocml/APKBUILD b/main/mdocml/APKBUILD
index 671325cfb9..3fb5964c4b 100644
--- a/main/mdocml/APKBUILD
+++ b/main/mdocml/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mdocml
pkgver=1.11.5
-pkgrel=0
+pkgrel=1
pkgdesc="mdoc/man compiler"
url="http://mdocml.bsd.lv/"
arch="all"
@@ -37,4 +37,4 @@ man() {
}
md5sums="5c739557059994dca2a2a8a54401e1de mdocml-1.11.5.tar.gz
-d60a6a3ea949f03e7fb90dbe1ca74e1f man.sh"
+400673bfa64efd1ef446ea4421e25115 man.sh"
diff --git a/main/mdocml/man.sh b/main/mdocml/man.sh
index 6795e2007d..52735af817 100644
--- a/main/mdocml/man.sh
+++ b/main/mdocml/man.sh
@@ -39,9 +39,9 @@ tty -s <&1 || PAGER=cat
case "$pagefile" in
*.bz2)
- exec bzcat "$pagefile" | "$PAGER" ;;
+ exec bzcat "$pagefile" | mandoc -Tutf8 | "$PAGER" ;;
*.gz)
- exec zcat "$pagefile" | "$PAGER" ;;
+ exec zcat "$pagefile" | mandoc -Tutf8 | "$PAGER" ;;
*)
exec mandoc -Tutf8 "$pagefile" | "$PAGER" ;;
esac