Permalink
Browse files

mdocml: update to 1.14.2.

  • Loading branch information...
chneukirchen committed Jul 29, 2017
1 parent 1f009cf commit beec4783e80beec1b04d2521b528c2a34a326b2c
Showing with 10 additions and 6 deletions.
  1. +10 −6 srcpkgs/mdocml/template
View
@@ -1,7 +1,8 @@
# Template file for 'mdocml'
pkgname=mdocml
version=1.14.1
revision=2
version=1.14.2
revision=1
wrksrc="mandoc-1.14.2"
build_style=configure
makedepends="zlib-devel"
depends="less"
@@ -10,9 +11,9 @@ conf_files="/etc/man.conf"
short_desc="The mandoc UNIX manpage compiler toolset"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="ISC"
homepage="http://mdocml.bsd.lv"
distfiles="${homepage}/snapshots/mdocml-${version}.tar.gz"
checksum=356954f141ec6f5635e938c826f2e16e4619bb361c64d84a31f6775d030a615b
homepage="http://mandoc.bsd.lv"
distfiles="http://mandoc.bsd.lv/snapshots/mandoc-${version}.tar.gz"
checksum=3c5562a8131697f80edbba81cdb8f6eeb5e1692388d8d2945fbbdac06ede1dfc
alternatives="
man:man:/usr/bin/mandoc
@@ -26,7 +27,6 @@ post_extract() {
# use less(1)
sed -i 's,bin/more,bin/less,g' main.c *.1
sed -i 's,.Xr more,.Xr less,g' *.1
sed -i 's,"more,"less,g' manpage.c main.c
}
pre_configure() {
cat >configure.local <<EOF
@@ -41,6 +41,10 @@ CFLAGS="$CFLAGS"
CC="$CC"
HAVE_REWB_BSD=0
EOF
case "$XBPS_TARGET_MACHINE" in
*-musl) echo 'UTF8_LOCALE="C.UTF-8"' >>configure.local;;
esac
}
post_install() {
# Rename mans for alternatives

0 comments on commit beec478

Please sign in to comment.