mdocml: use db185 and remove incorrect man symlink.

This commit is contained in:
Juan RP 2014-03-13 15:05:13 +01:00
parent 4b872f9e45
commit 635bda237b
1 changed files with 5 additions and 7 deletions

View File

@ -1,10 +1,10 @@
# Template file for 'mdocml'
pkgname=mdocml
version=1.12.3
revision=1
makedepends="db-devel>=5.3"
conflicts="groff>=0 man-db>=0"
provides="man-${version}_1 roff-${version}_1 apropos-${version}_1 whatis-${version}_1"
revision=2
makedepends="db185"
replaces="groff>=0 man-db>=0"
provides="roff-${version}_1 apropos-${version}_1 whatis-${version}_1"
short_desc="mdoc macro compiler"
maintainer="Juan RP <xtraeme@gmail.com>"
license="ISC"
@ -13,7 +13,7 @@ distfiles="${homepage}/snapshots/mdocml-$version.tar.gz"
checksum=8ae7f7d471d52313707c4d78b25846dc4edca395b36ad20f24dead5399c13ee6
do_build() {
make DBLIB=-ldb STATIC= ${makejobs}
make DBLIB=-ldb ${makejobs}
}
do_install() {
@ -33,6 +33,4 @@ do_install() {
vinstall ${f}.8 644 usr/share/man/man8
fi
done
# Create mandoc -> man symlink.
ln -sfr ${DESTDIR}/usr/bin/mandoc ${DESTDIR}/usr/bin/man
}