source: trunk/dports/perl/swaks/Portfile

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

swaks: switch to perl5.24 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.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 151850 2016-08-23 12:20:31Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7name                swaks
8version             20130209.0
9revision            2
10license             GPL-2
11maintainers         nomaintainer
12categories          perl
13platforms           darwin
14homepage            http://www.jetmore.org/john/code/swaks/ 
15master_sites        $homepage
16description         Swiss Army Knife for SMTP
17long_description \
18    {Swaks is a featureful, flexible, scriptable, transaction-oriented SMTP test \
19    tool written and maintained by John Jetmore. Features include: SMTP extensions \
20    including TLS, authentication, pipelining, and XCLIENT; Protocols including \
21    SMTP, ESMTP, and LMTP; Transports including unix-domain sockets, \
22    internet-domain sockets (IPv4 and IPv6), and pipes to spawned processes; \
23    Completely scriptable configuration, with option specification via environment \
24    variables, configuration files, and command line.}
25
26checksums           rmd160  31b52e046ac4529056e66c6a8bcf1a2ac44c7a8f \
27                    sha256  0b0967256dca82776f610f1db862bc47644b236f325fa48cbdb2651babd41f7c
28
29perl5.branches      5.24
30
31supported_archs     noarch
32use_configure       no
33build { }
34destroot {
35    reinplace "s|/usr/bin/perl|${perl5.bin}|g" ${worksrcpath}/swaks
36
37    xinstall -d -m 755 ${destroot}${prefix}/share/doc
38    xinstall -m 755 -W ${worksrcpath} swaks          ${destroot}${prefix}/bin/
39    file copy          ${worksrcpath}/doc            ${destroot}${prefix}/share/doc/${name}
40    xinstall -m 644 -W ${worksrcpath} LICENSE README ${destroot}${prefix}/share/doc/${name} }
41
42depends_run-append  port:p${perl5.major}-net-dns \
43                    port:p${perl5.major}-mime-base64 \
44                    port:p${perl5.major}-digest-md5 \
45                    port:p${perl5.major}-digest-sha \
46                    port:p${perl5.major}-authen-sasl \
47                    port:p${perl5.major}-net-ssleay \
48                    port:p${perl5.major}-io-socket-inet6 \
49                    port:p${perl5.major}-time-hires \
50                    port:p${perl5.major}-sys-hostname-long
51
52# The following are listed as dependencies but are actually missing from mports tree:
53#                   port:p${perl5.major}-Authen-NTLM \
54#                   port:p${perl5.major}-IPC-Open2 \
55#                   port:p${perl5.major}-IO-Socket \
56#                   port:p${perl5.major}-Time-Local \
Note: See TracBrowser for help on using the repository browser.