Ignore:
Timestamp:
Oct 11, 2009, 11:19:32 PM (10 years ago)
Author:
dluke@…
Message:

Don't clobber clamav-milter conf file (and use file rename instead of system mv)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/clamav/Portfile

    r59048 r59221  
    55name                    clamav
    66version                 0.95.2
    7 revision                1
     7revision                2
    88categories              sysutils
    99maintainers             geeklair.net:dluke
     
    4040
    4141post-destroot {
    42                         system "cd '${destroot}${prefix}/etc/'
    43                         mv freshclam.conf example-freshclam.conf
    44                         mv clamd.conf example-clamd.conf"
     42                        file rename "${destroot}${prefix}/etc/freshclam.conf" "${destroot}${prefix}/etc/example-freshclam.conf"
     43                        file rename "${destroot}${prefix}/etc/clamd.conf" "${destroot}${prefix}/etc/example-clamd.conf"
    4544                        }
    4645
     
    4847                        depends_lib-append port:libmilter
    4948                        configure.args-append --enable-milter
     49                        post-destroot {
     50                                file rename "${destroot}${prefix}/etc/clamv-milter.conf" "${destroot}${prefix}/etc/example-clamav-milter.conf"
    5051                        }
     52                        }
Note: See TracChangeset for help on using the changeset viewer.