Ticket #13082: Portfile

File Portfile, 1.4 KB (added by skymoo (Adam Mercer), 17 years ago)

python/py-matplotlib-basemap Portfile

Line 
1# $Id$
2
3PortSystem        1.0
4PortGroup         python24 1.0
5
6name              py-matplotlib-basemap
7version           0.9.6
8categories        python graphics math
9platforms         darwin
10maintainers       gmail.com:ramercer openmaintainer
11
12description       matplotlib toolkit for plotting data on map projections
13long_description  Matplotlib basemap is a matplitlib toolkit python library \
14                  for plotting data on map projections
15
16homepage          http://matplotlib.sourceforge.net
17master_sites      sourceforge:matplotlib
18distfiles         basemap-${version}.tar.gz \
19                  basemap-data-hires-${version}.tar.gz
20
21checksums         basemap-${version}.tar.gz sha1 5f46906c1c53c3d597b83c275f2de8d6740663d6 \
22                  basemap-data-hires-${version}.tar.gz sha1 3bec483cfd8e9bb8c1fd6ee1f0f950a2ae5ff766
23
24depends_lib       port:py-matplotlib
25
26worksrcdir        basemap-${version}
27
28post-destroot {
29  file copy ${workpath}/countries_h.txt ${destroot}/${prefix}/lib/python2.4/site-packages/matplotlib/toolkits/basemap/data
30  file copy ${workpath}/gshhs_h.txt ${destroot}/${prefix}/lib/python2.4/site-packages/matplotlib/toolkits/basemap/data
31  file copy ${workpath}/rivers_h.txt ${destroot}/${prefix}/lib/python2.4/site-packages/matplotlib/toolkits/basemap/data
32  file copy ${workpath}/states_h.txt ${destroot}/${prefix}/lib/python2.4/site-packages/matplotlib/toolkits/basemap/data
33}