# -*- 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

PortSystem      1.0
PortGroup       php 1.1

name            php-bbcode
version         1.0.3b1
revision        1
license         PHP
categories      php devel
platforms       darwin
maintainers     ryandesign openmaintainer

php.branches    5.3 5.4 5.5 5.6
php.pecl        yes
php.pecl.prerelease yes

description     BBCode parsing Extension

long_description \
    This is a quick and efficient BBCode Parsing Library. It provides various \
    tag types, high speed tree based parsing, callback system, tag position \
    restriction, Smiley Handling, Subparsing. It will force closing BBCode \
    tags in the good order, and closing terminating tags at the end of the \
    string this is in order to ensure HTML Validity in all case.

checksums       rmd160  2006e5ef2a1531d714fada2deb9f3abcd9641b8e \
                sha256  c588adbc08b0d5b0df68d14e719202d3d4c22a8a0201b786927bec471ed61da7

use_parallel_build yes

if {${name} ne ${subport}} {
    test.run    yes
    
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 644 -W ${worksrcpath} CREDITS LICENSE TODO ${destroot}${docdir}
    }
}