source: trunk/dports/php/php-esmtp/Portfile

Last change on this file was 124944, checked in by ryandesign@…, 3 years ago

add php56 subports

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 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 124944 2014-09-01 01:05:32Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       php 1.1
6
7name            php-esmtp
8version         0.3.1
9revision        1
10license         PHP
11categories      php devel
12platforms       darwin
13maintainers     ryandesign openmaintainer
14
15php.branches    5.3 5.4 5.5 5.6
16php.pecl        yes
17php.pecl.prerelease yes
18
19description     ESMTP client extension
20
21long_description \
22    Esmtp is a wrapper for SMTP client library based on the libESMTP library. \
23    You can use it to send messages using internal SASL, and external/openssl \
24    SSL support.
25
26checksums       md5     e1db69e1b05efd0bf7f5c7d0b6b3255f \
27                sha1    2c0c206decfd2e87e2731ca33ce55215ca713b92 \
28                rmd160  96dec77e466461d57bf3fe244be6adba08c08969
29
30if {${name} ne ${subport}} {
31    patchfiles          297236.diff \
32                        309809.diff \
33                        309844.diff \
34                        patch-tests-002.phpt.diff
35   
36    depends_lib-append  port:libesmtp
37   
38    configure.args      --with-esmtp=${prefix}
39   
40    test.run            yes
41   
42    post-destroot {
43        set docdir ${prefix}/share/doc/${subport}
44        xinstall -d ${destroot}${docdir}
45        xinstall -m 644 -W ${worksrcpath} CREDITS NOTES TODO ${destroot}${docdir}
46    }
47}
Note: See TracBrowser for help on using the repository browser.