# Description: The man page suite used to read most of the documentation for Linux
# URL: http://primates.ximian.com/~flucifredi/man/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Ach Maintainer: CRUX ARM System Team
# Depends on: less groff

name=man
version=1.6f
release=1
source=(http://primates.ximian.com/~flucifredi/man/$name-$version.tar.gz \
        makewhatis)

build() {
    cd $name-$version
    ./configure -prefix=/usr \
                -confdir=/etc \
                -mandir=/usr/man \
                -compatibility_mode_for_colored_groff \
                +lang none \
                -default
    make BUILD_CC="gcc"
    make PREFIX=$PKG install
    install -D -m 755 $SRC/makewhatis $PKG/etc/cron/daily/makewhatis
}