# $Id: Portfile 62600 2010-01-11 23:18:18Z nox@macports.org $

PortSystem      1.0
PortGroup       php5extension 1.0

php5extension.setup bbcode 1.0.2 pecl
license         PHP
categories      php devel
platforms       darwin
maintainers     nox openmaintainer
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       md5     1fb6971b2758a50785f188964991ddf9 \
                sha1    64c21dd9c954664a0f8dd920c1e5af2841b527a6 \
                rmd160  55f3c8aa5876a24e5fdf289eaab20c057f540511

use_parallel_build yes

post-destroot {
    set docdir ${prefix}/share/doc/${name}
    xinstall -d ${destroot}${docdir}
    xinstall -m 644 -W ${worksrcpath} CREDITS LICENSE TODO ${destroot}${docdir}
}

test.run yes
