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

Last change on this file was 154393, checked in by mojca@…, 9 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
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7perl5.branches      5.24
8perl5.setup         Mail-SPF v2.9.0
9revision            2
10categories-append   mail
11license             BSD
12maintainers         yahoo.com:compconsultant
13description         Object oriented implementation of SPF
14long_description    Mail-SPF provides an object oriented interface to \
15                    the Sender Policy Framework, also knows as SPF.
16
17platforms           darwin
18supported_archs     noarch
19
20checksums           rmd160  3ec3b3e910fd5fd2d424018c9d8e270131115caf \
21                    sha256  61cb5915f1c7acc7a931ffc1bfc1291bdfac555e2a46eb2391b995ea9ecb6162
22
23if {${perl5.major} != ""} {
24    depends_build-append \
25                    port:p${perl5.major}-net-dns-resolver-programmable
26   
27    depends_lib-append \
28                    port:p${perl5.major}-error \
29                    port:p${perl5.major}-mime-base64\
30                    port:p${perl5.major}-net-dns \
31                    port:p${perl5.major}-net-ip \
32                    port:p${perl5.major}-netaddr-ip \
33                    port:p${perl5.major}-uri \
34                    port:p${perl5.major}-version \
35   
36    perl5.use_module_build
37   
38    post-configure {
39        move ${worksrcpath}/sbin/spfd ${worksrcpath}/sbin/spfd-${perl5.major}
40    }
41   
42    destroot.args-append --install_path sbin=${prefix}/sbin
43}
Note: See TracBrowser for help on using the repository browser.