source: trunk/dports/sysutils/clamav/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4
5name                    clamav
6version                 0.95.1
7categories              sysutils
8maintainers             geeklair.net:dluke
9description             clamav antivirus software
10
11long_description        Clam AntiVirus is a GPL anti-virus toolkit for UNIX. The \
12                        main purpose of this software is the integration with mail \
13                        servers (attachment scanning).
14                       
15homepage                http://www.clamav.net
16master_sites            sourceforge
17checksums       md5     c802d4b372e455849cfcb0d776fc72d8 \
18                sha1    a469b0128cf5e9d18392a0385417fc5e4575bfc7 \
19                rmd160  80769c09ca15c864a578206feabe9cc4a3d985b4
20platforms               darwin
21configure.args          --disable-clamav \
22                        --mandir=${prefix}/share/man \
23                        --with-zlib=${prefix}
24
25use_parallel_build      yes
26
27depends_lib             port:gmp port:libiconv port:zlib port:bzip2
28
29platform darwin 7 {
30                        patchfiles patch-clamdtop.c.diff
31                        #workaround gcc bug 28045 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28045
32                        configure.cflags {-O0}
33                        }
34
35platform darwin 8 {
36                        configure.cflags {-O0}
37                }
38
39post-destroot {
40                        system "cd '${destroot}${prefix}/etc/'
41                        mv freshclam.conf example-freshclam.conf
42                        mv clamd.conf example-clamd.conf"
43                        }
44
45post-install {          ui_msg "\nYou need to add a new clamav user and clamav\
46                                group to your system if you want to use clamav\
47                                in superuser mode.\n"
48                        }
49
50variant clamav_milter description {build with libmilter support} {
51                        depends_lib-append port:libmilter
52                        configure.args-append --enable-milter
53                        }
Note: See TracBrowser for help on using the repository browser.