a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22482 2007-03-02 13:34:22Z dluke@macports.org $
PortSystem 1.0
name clamav
version 0.90.1
categories sysutils
maintainers dluke@geeklair.net
description clamav antivirus software
long_description Clam AntiVirus is a GPL anti-virus toolkit for UNIX. The \
main purpose of this software is the integration with mail \
servers (attachment scanning).
homepage http://www.clamav.net
master_sites sourceforge
checksums md5 cd11c05b5476262eaea4fa3bd7dc25bf
platforms darwin
configure.env CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
configure.args --disable-clamav \
--mandir=${prefix}/share/man
depends_lib port:gmp
post-destroot {
system "cd '${destroot}${prefix}/etc/'
mv freshclam.conf example-freshclam.conf
mv clamd.conf example-clamd.conf"
}
post-install { ui_msg "\nYou need to add a new clamav user and clamav\
group to your system if you want to use clamav\
in superuser mode.\n"
}
# There's currently no sendmail or libmilter port to depend on
variant clamav-milter { configure.args-append --enable-milter }