mdocml: install catman and drop useless vpkgs.

This commit is contained in:
Juan RP 2014-03-13 18:44:29 +01:00
parent 5eac98f927
commit a9ba8a9be3

View file

@ -1,10 +1,9 @@
# Template file for 'mdocml' # Template file for 'mdocml'
pkgname=mdocml pkgname=mdocml
version=1.12.3 version=1.12.3
revision=2 revision=3
makedepends="db185" makedepends="db185"
replaces="groff>=0 man-db>=0" replaces="groff>=0 man-db>=0"
provides="roff-${version}_1 apropos-${version}_1 whatis-${version}_1"
short_desc="mdoc macro compiler" short_desc="mdoc macro compiler"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="ISC" license="ISC"
@ -24,8 +23,8 @@ do_install() {
# remove devel stuff. # remove devel stuff.
rm -rf ${DESTDIR}/usr/{include,lib} rm -rf ${DESTDIR}/usr/{include,lib}
# Install apropos, whatis and mandocdb. # Install apropos, catman, mandocdb and whatis.
for f in apropos whatis mandocdb; do for f in apropos catman whatis mandocdb; do
vinstall ${f} 755 usr/bin vinstall ${f} 755 usr/bin
if [ -f ${f}.1 ]; then if [ -f ${f}.1 ]; then
vinstall ${f}.1 644 usr/share/man/man1 vinstall ${f}.1 644 usr/share/man/man1