source: trunk/dports/php/php-pop3/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.3 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-pop3
8version         1.0.2
9revision        1
10license         PHP
11categories      php mail devel
12platforms       darwin
13maintainers     ryandesign openmaintainer
14
15php.branches    5.3 5.4 5.5 5.6
16php.pecl        yes
17
18description     POP3 Client Library
19
20long_description \
21    The POP3 extension makes it possible for a PHP script to connect to and \
22    interact with a POP3 mail server. It is based on the PHP streams interface \
23    and requires no external library.
24
25checksums       md5     cdbe4f41aa37bcf45e651d5568f3a8d2 \
26                sha1    5d7d9754413fbd9563464ae82588c7770cc1ce90 \
27                rmd160  01bc065cdb0d2ff375bb1d70a7b91b1f809acf30
28
29if {${name} ne ${subport}} {
30    patchfiles          patch-pop3.c.diff
31   
32    use_parallel_build  yes
33   
34    post-destroot {
35        set docdir ${prefix}/share/doc/${subport}
36        xinstall -d ${destroot}${docdir} ${destroot}${prefix}/share/examples
37        xinstall -m 644 -W ${worksrcpath} CREDITS README ${destroot}${docdir}
38        copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${subport}
39    }
40}
Note: See TracBrowser for help on using the repository browser.