# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem      1.0

name            arla
version         0.35.11
revision        1
categories      net security
license         {BSD Permissive}
maintainers     nomaintainer
description     free AFS implementation from KTH
long_description \
    Arla is a free AFS client implementation. The main goal of the Arla \
    project is to make a fully functional client with all capabilities \
    of commercial AFS. Other planned and implemented things are all the \
    normal management tools and a server.
platforms       darwin
homepage        http://www.stacken.kth.se/project/arla/
master_sites    ftp://ftp.stacken.kth.se/pub/arla/ \
                ftp://ftp.stacken.kth.se/pub/arla/old/

checksums       md5 f55aac6637796929f2ae2f0dbb111072

variant krbafs {
    depends_lib     lib:krbafs:krbafs
    configure.args  --with-krbafs=${prefix} --disable-mmap
}
#not working
#variant kth_krb {
#   depends_lib     lib:kth-krb:kth-krb
#   configure.args  --disable-mmap
#}

default_variants    +krbafs

livecheck.type  regex
livecheck.url   [lindex ${master_sites} 0]
livecheck.regex ${name}-(\[0-9.\]+)\\.tar
