# $Id: Portfile 92844 2012-05-09 04:27:37Z jmr@macports.org $

PortSystem 1.0

name                krbafs
version             1.2
revision            0
categories          sysutils security
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 {
   copy -force ${prefix}/share/libtool/config/config.guess \
               ${prefix}/share/libtool/config/config.sub ${worksrcpath}
   reinplace "s|@install_prefix@|${destroot}|g" "${worksrcpath}/Makefile.in"
}
