# $Id: Portfile 20987 2006-12-17 16:22:37Z dluke@macports.org $ PortSystem 1.0 name clamav version 0.88.7 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 34a9d58cf5bcb04dbe3eb32b5367a3f8 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 }