# $Id: Portfile 54163 2009-07-22 06:26:56Z blb@macports.org $

PortSystem      1.0
PortGroup       python25 1.0

name            py25-pyicu
version         0.8.1
categories-append   textproc
platforms       darwin
maintainers     nomaintainer

description     Python extension wrapping IBM's International \
                Components for Unicode C++ library (ICU)

long_description \
                ${description}

homepage        http://pyicu.osafoundation.org/
master_sites    http://pypi.python.org/packages/source/P/PyICU/
distname        PyICU-${version}

depends_lib-append   port:icu

checksums       md5     789092993f84ccd6ba21d7346d6e093d \
                sha1    f8f3c8821cb90442ba6637530592e91929efdf6d \
                rmd160  af38047ab04824fab52f529454528cf7dd71d520

patchfiles      patch-setup.py

post-patch {
        reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/setup.py
}
