source: trunk/dports/perl/p5-mail-clamav/Portfile

Last change on this file was 154393, checked in by mojca@…, 11 months ago

p5-*: remove subports for perl5.22 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 154393 2016-10-28 22:10:07Z ryandesign@macports.org $
3
4# This comment was inserted on 20160713 to force reindexing of
5# this port after the default homepage definition in the perl5
6# PortGroup was changed to use metacpan.org (r150080).
7# Reindexing is necessary for the new definition to take effect.
8# This comment may be removed in subsequent updates of this port.
9
10PortSystem          1.0
11PortGroup           perl5 1.0
12
13perl5.branches      5.24
14perl5.setup         Mail-ClamAV 0.29
15revision            6
16license             {Artistic-1 GPL}
17maintainers         nomaintainer
18description         Perl interface to the clamav virus scanner
19long_description    Clam AntiVirus is an anti-virus toolkit for UNIX. \
20                    This module provide a simple interface to its C API.
21
22platforms           darwin
23
24checksums           md5     737ea1c041d9312cdcfe5b85eb45428e \
25                    sha1    ee5fe9ae950c7c420ca58760f66b2be5f700e20c
26
27if {${perl5.major} != ""} {
28    depends_lib-append \
29                    port:clamav \
30                    port:p${perl5.major}-inline-c
31
32
33    patchfiles      patch-Makefile.PL.diff  \
34                    patch-ClamAV.pm.diff
35
36    use_parallel_build no
37
38# delete duplicate copy of blib/arch erroneously installed back into the
39# work path causing "already installed" activation errors (#44702)
40
41    post-destroot {
42        delete ${destroot}${prefix}/var
43    }
44}
Note: See TracBrowser for help on using the repository browser.