# $Id: Portfile,v 1.1 2006/06/09 06:47:31 mww Exp $

PortSystem 1.0
name             eash
version          2.0.00
categories       shells
maintainers      brett@librum.org
platforms        darwin
description      Enterprise Audit Shell
long_description \
	Enterprise Audit Shell is an audit framework specifically \
	designed to be used with sudo in large, enterprise environments. \
	EAS starts where sudo leaves off, yet takes advantage of what \
	sudo does best: access control.  Because EAS was designed as a \
	framework, it's completely transparent to the end-users and it \
	allows the System Administrator to add personalized extensions \
	and plug-ins.
homepage         http://sourceforge.net/projects/eash/
master_sites     sourceforge
distname         eas-2.0.00
checksums        md5 1fda6b60ad9ac9ea2a40bbb6efeb18d2

depends_lib      port:openssl

patch { reinplace "s|chown|true|g" ${worksrcpath}/src/Makefile.in }

configure.args   --mandir=\\\${prefix}/share/man \
         --sysconfdir=${prefix}/etc/eas \
         --with-cadir=${prefix}/etc/eas/certs \
         --with-ssl=${prefix}
destroot.destdir prefix=${destroot}${prefix}

