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

Last change on this file was 148378, checked in by ryandesign@…, 15 months ago

php-svn: update to 1.0.3

  • 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 148378 2016-05-06 14:04:16Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               php 1.1
6
7name                    php-svn
8version                 1.0.3
9categories-append       devel
10platforms               darwin
11maintainers             ryandesign openmaintainer
12license                 PHP-3.01
13
14php.branches            5.3 5.4 5.5 5.6
15php.pecl                yes
16
17description             PHP bindings for Subversion
18
19long_description        ${description}
20
21checksums               rmd160  fb7a7c33ab6609c0802055332a725f72931e3e55 \
22                        sha256  8ccf1dd78b92649486d1875102ecb899c1e4e5ddf674f2d87adf611c16295089
23
24if {${name} ne ${subport}} {
25    depends_lib-append      port:subversion
26   
27    patchfiles              patch-hook_emailcommit.php
28   
29    post-patch {
30        reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/examples/hook_emailcommit.php
31    }
32   
33    configure.args-append   --with-svn=${prefix} \
34                            --with-svn-apr=${prefix}/bin/apr-1-config
35   
36    post-destroot {
37        xinstall -d ${destroot}${prefix}/share/examples
38        copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${subport}
39    }
40}
Note: See TracBrowser for help on using the repository browser.