source: trunk/dports/php/php-html_parse/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.1 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=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-html_parse
8version         1.0.0
9revision        1
10license         PHP
11categories      php textproc devel
12platforms       darwin
13maintainers     ryandesign openmaintainer
14
15php.branches    5.3 5.4 5.5 5.6
16php.pecl        yes
17
18description     HTML parser extension
19
20long_description \
21    HTML parser extension based on the ekhtml library.
22
23checksums       md5     d19772cb926d775313af0fda207e2a90 \
24                sha1    a287944c9d1e79bed2b9c180f2c76b99cda954ad \
25                rmd160  6e476ca31f0d85eb70bf4f9ce194f7e811d58d4d
26
27if {${name} ne ${subport}} {
28    depends_lib-append  port:ekhtml
29   
30    patchfiles          patch-html_parse.c.diff
31   
32    configure.args      --with-ekhtml=${prefix}
33   
34    use_parallel_build  yes
35   
36    test.run            yes
37   
38    post-destroot {
39        set docdir ${prefix}/share/doc/${subport}
40        xinstall -d ${destroot}${docdir}
41        xinstall -m 644 ${worksrcpath}/CREDITS ${destroot}${docdir}
42    }
43}
Note: See TracBrowser for help on using the repository browser.