# postfix, http://www.postfix.org

name=postfix
version=1.1.11
source=($name-$version.tar.gz)

build() {
    cd $name-$version
    OPT=$CFLAGS make
    make install install_root=$PKG
    strip $PKG/usr/bin/* 
    strip $PKG/usr/sbin/*
    strip $PKG/usr/libexec/postfix/*
#    sh conf/post-install upgrade-source command_directory=$PKG/usr/sbin
    mv $PKG/usr/local/man $PKG/usr
    rmdir $PKG/usr/local
    gzip -9 $PKG/usr/man/man?/*
}
