Ticket #20299: Portfile

File Portfile, 875 bytes (added by stromnov (Andrey Stromnov), 15 years ago)
Line 
1# $Id$
2
3PortSystem      1.0
4PortGroup       python26 1.0
5
6name            py26-PyICU
7version         0.8.1
8categories      python textproc
9platforms       darwin
10maintainers     nomaintainer
11
12description     Python extension wrapping IBM's International \
13                Components for Unicode C++ library (ICU)
14
15long_description \
16                ${description}
17
18homepage        http://pyicu.osafoundation.org/
19master_sites    http://pypi.python.org/packages/source/P/PyICU/
20distname        PyICU-${version}
21
22depends_lib     port:python26 \
23                port:icu
24
25checksums       md5     789092993f84ccd6ba21d7346d6e093d \
26                sha1    f8f3c8821cb90442ba6637530592e91929efdf6d \
27                rmd160  af38047ab04824fab52f529454528cf7dd71d520
28
29patchfiles      patch-setup.py
30
31post-patch {
32        reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/setup.py
33}