Ticket #18071: Portfile

File Portfile, 1.1 KB (added by ocroquette (Olivier Croquette), 16 years ago)

Portfile

Line 
1PortSystem          1.0
2
3name                mapnik
4version             0.5.1
5categories          gis
6maintainers         ocroquette@free.fr
7description         Free toolkit for developing mapping applications
8
9long_description    Mapnik is a Free Toolkit for developing mapping applications. \
10                    Above all Mapnik is about making beautiful maps.\
11                    It is easily extensible and suitable for both desktop and web development. 
12
13homepage            http://mapnik.org
14platforms           darwin
15
16fetch.type          svn
17svn.url             http://svn.mapnik.org/tags/release-${version}
18svn.tag             688
19
20use_configure   no
21
22patchfiles          patch-SConstruct.diff
23
24worksrcdir          release-${version}
25
26depends_build       bin:svn:subversion
27depends_lib         port:proj port:freetype  port:boost port:py25
28
29set buildoptions    "PYTHON=\"${prefix}/bin/python2.5\" \
30                     PREFIX=\"${prefix}\""
31
32# For one reason, mapnik comes with its own scons
33build.cmd           scons/scons.py
34build.target        $buildoptions
35
36destroot.cmd        scons/scons.py
37destroot.target     "install $buildoptions"
38