# Template file for 'mdocml' pkgname=mdocml version=1.13.4 revision=1 build_style=configure makedepends="sqlite-devel zlib-devel" depends="less" provides="man-0_1" conf_files="/etc/man.conf" short_desc="The mandoc UNIX manpage compiler toolset" maintainer="Juan RP " license="ISC" homepage="http://mdocml.bsd.lv" distfiles="${homepage}/snapshots/mdocml-$version.tar.gz" checksum=0a55c1addb188071d6f784599303656b8465e98ec6b2f4f264e12fb96d79e0ef alternatives=" man:man:/usr/bin/mandoc man:whatis:/usr/bin/mandoc man:apropos:/usr/bin/mandoc man:man.1:/usr/share/man/man1/mandoc-man.1 man:whatis.1:/usr/share/man/man1/mandoc-whatis.1 man:apropos.1:/usr/share/man/man1/mandoc-apropos.1" 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 <