# Description: The man page suite used to read most of the documentation for Linux
# URL:         http://primates.ximian.com/~flucifredi/man/
# Maintainer:  Per Lidén, core-ports at crux dot nu

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

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