# $Id: Portfile 33297 2008-01-23 09:32:47Z ryandesign@macports.org $

PortSystem 1.0

name            kerberos5
version         1.4.3
categories      net security
maintainers    nomaintainer
platforms       darwin
description     Kerberos is a network authentication protocol.
long_description  Kerberos is a network authentication protocol. \
				  It is designed to  provide strong authentication \
				  for client/server applications by using secret-key \
				  cryptography. A free implementation of this protocol \
				  is  available from the Massachusetts  Institute of \
				  Technology. Kerberos is available in many commercial \
				  products as well. 
homepage        http://web.mit.edu/kerberos/www/
master_sites    ${homepage}/dist/krb5/1.4/
distname		krb5-${version}
distfiles		${distname}-signed.tar
checksums       sha1 94bd12d664b1ef32bbf5b8ffe062fe473909f9a7

depends_build	bin:gpg:gnupg

extract.cmd     	cat
extract.pre_args
post-extract	{ system "cd ${workpath} && gzip -dc ${distname}.tar.gz | tar -xf -" }
#post-extract {
#	if { system "cd ${workpath} && gpg --verify ${distame}.tar.gz.asc \
#		${distname}-${version}.tar.gz && gzip -dc ${distame}.tar.gz | tar -xf" } 
#	{} else {
#		ui_error "pgp signature not valid"
#		exit(1)
#	}
#}

worksrcdir		${distname}/src

configure.args	--mandir=${prefix}/share/man
