Ticket #21454: Portfile

File Portfile, 1.2 KB (added by stromnov (Andrey Stromnov), 15 years ago)

Portfile

Line 
1# $Id$
2
3PortSystem      1.0
4PortGroup       python26 1.0
5
6name            py26-shapely
7version         1.0.12
8categories      python devel
9platforms       darwin
10maintainers     openmaintainer
11description     Shapely is a Python package for manipulation \
12                and analysis of 2D geospatial geometries
13
14long_description \
15                Shapely is a Python package for manipulation and \
16                analysis of 2D geospatial geometries. It is based on \
17                GEOS (http://geos.refractions.net). Shapely 1.0 is not \
18                concerned with data formats or coordinate reference \
19                systems.
20
21homepage        http://trac.gispython.org/projects/PCL/wiki/Shapely
22master_sites    http://pypi.python.org/packages/source/S/Shapely/
23distname        Shapely-${version}
24
25depends_lib     port:python26 \
26                port:geos
27
28checksums       md5     0122c53ec3ba1c4b805afce43d0aa039 \
29                sha1    f7180a0428f8e7290362e1b4abd088a6c3ba361e \
30                rmd160  06b28ab318456c2a7b27bd1b2a23985da7466f6b
31
32patchfiles      patch-shapely_geos.py
33
34post-patch {
35        reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/shapely/geos.py
36}