# -*- 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
# $Id: Portfile 79013 2011-05-30 05:40:28Z ryandesign@macports.org $

PortSystem          1.0

name                phpstylist
version             1.0
categories          lang devel
platforms           darwin
maintainers         strasweb.fr:rudloff openmaintainer
license             RPL-1.1
supported_archs     noarch

description         PHP indenter

long_description    Format, clean-up, beautify and standardize your php code with a comprehensive set of 34 options.

homepage            http://sourceforge.net/projects/phpstylist/
master_sites        sourceforge
master_sites.mirror_subdir  phpstylist
distfiles           phpStylist-${version}.zip
use_zip             yes

checksums           sha1    a2eb56b0166c4075572664cdcad8957973f08725 \
                    rmd160  c9fec853c35f7e5a2993a27bcea88040b80f2814

extract.mkdir       yes

patchfiles          patch-phpStylist.php.diff

use_configure no

build {}

destroot {
    xinstall ${worksrcpath}/phpStylist.php ${destroot}${prefix}/bin/phpstylist
}
