fdm: use do_install() directly.

This commit is contained in:
Juan RP 2014-07-02 21:47:15 +02:00
parent 44c86a5efc
commit 2ea8aaa29b

View file

@ -5,7 +5,6 @@ revision=1
build_style=configure
hostmakedepends="bison"
makedepends="openssl-devel tdb-devel"
make_install_args="PREFIX=/usr MANDIR=/usr/share/man"
short_desc="Program to fetch and deliver mail"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="custom"
@ -13,7 +12,9 @@ homepage="http://fdm.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname/$pkgname-$version/$pkgname-$version.tar.gz"
checksum=484474094f124ce438c89dfab05519fe7b3aa8c8346d00f790a512ab950cef2a
post_install() {
do_install() {
make DESTDIR=$DESTDIR PREFIX=/usr MANDIR=/usr/share/man install
vmkdir usr/share/doc/${pkgname}
cp -r examples ${DESTDIR}/usr/share/doc/${pkgname}
}