# $Id$ PortSystem 1.0 name clamav version 0.95.2 categories sysutils maintainers geeklair.net:dluke 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 930362397d30e01ba81b5f24c1046d48 \ sha1 7544b39d84f2233b984a9c2ce3ef74d407add483 \ rmd160 83cab51c224251316288e4c3189ba91f640e9f82 platforms darwin configure.args --disable-clamav \ --mandir=${prefix}/share/man \ --with-zlib=${prefix} use_parallel_build yes depends_lib port:gmp port:libiconv port:zlib port:bzip2 port:ncurses platform darwin 7 { patchfiles patch-clamdtop.c.diff #workaround gcc bug 28045 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28045 configure.cflags {-O0} } platform darwin 8 { configure.cflags {-O0} } 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" } variant clamav_milter description {build with libmilter support} { depends_lib-append port:libmilter configure.args-append --enable-milter }