PortSystem 1.0

name                krbafs
version             1.2
revision            0
categories          sysutils security
license             BSD
maintainers         nomaintainer
description         AFS library
long_description \
   krbafs provides a set of AFS client utility functions for managing \
   the AFS client and user's tokens for MIT Kerberos and Kerberos for \
   Macintosh, the Kerberos implementation included with Mac OS X 10.1. \
   It also provides afs_string_to_key() and the Kerberos 4 lifetime \
   functions if they are not available in the local Kerberos \
   implementation.
homepage            http://web.mit.edu/openafs/krbafs/
platforms           darwin
master_sites        http://web.mit.edu/openafs/krbafs/
use_autoconf        yes
checksums           md5 7c08f2ece4a0a7140932e825ee62906a
distname            ${name}-${version}-nocrypto
worksrcdir          ${name}-${version}
patchfiles          patch-Makefile.in.diff

post-patch {
    reinplace "s|@install_prefix@|${destroot}|g" ${worksrcpath}/Makefile.in
}

pre-configure {
    xinstall -m 644 -W ${prefix}/share/libtool/build-aux config.guess config.sub ${worksrcpath}
}
