# $Id: Portfile,v 1.1 2006/06/25 23:59:02 markd Exp $

PortSystem 1.0
name			base
version			1.2.5
categories		security
maintainers		darwinports@opendarwin.org
description		Basic Analysis and Security Engine - Snort web frontend
long_description	Basic Analysis and Security Engine - based on \
			the ACID project. It provides a web front-end \
			to query and analyze the alerts from SNORT.
platforms		darwin
homepage		http://secureideas.sourceforge.net/
master_sites		sourceforge:secureideas
checksums		md5 39610c2ebf2b566c2510ece000221f89
depends_run		port:snort \
			port:gd2 \
			port:adodb

use_configure           no
build {}

set basedir ${prefix}/share/${name}
set docsdir ${prefix}/share/doc/${name}

destroot {
        xinstall -m 755 -d ${destroot}${basedir}
        xinstall -m 755 -d ${destroot}${docsdir}
        system "cd ${worksrcpath} && cp -R . ${destroot}${basedir}"
        system "cp ${worksrcpath}/docs/* ${destroot}${docsdir}"
}

post-activate {
        
ui_msg "\n
Make sure to customize ${prefix}/share/base/base_conf.php
\n"
}
