source: trunk/dports/gis/proj/Portfile @ 147088

Last change on this file since 147088 was 147088, checked in by takeshi@…, 4 years ago

rev bump ports that depend on netcdf. See #50911

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 147088 2016-03-26 09:44:32Z takeshi@macports.org $
3
4PortSystem          1.0
5
6name                proj
7version             4.9.2
8set datumgrid_version 1.5
9categories          gis
10platforms           darwin
11license             MIT
12maintainers         nomaintainer
13
14description         PROJ.4 - Cartographic Projections Library
15long_description    PROJ.4 is a library for converting data between \
16                    cartographic projections.
17homepage            http://trac.osgeo.org/proj/
18
19master_sites        http://download.osgeo.org/proj/
20distfiles-append    ${name}-datumgrid-${datumgrid_version}.zip
21checksums           ${name}-${version}.tar.gz \
22                        rmd160  23e669036bcf2aae6438e44c1ac8c3e45c976d2e \
23                        sha256  60bf9ad1ed1c18158e652dfff97865ba6fb2b67f1511bc8dceae4b3c7e657796 \
24                    proj-datumgrid-${datumgrid_version}.zip \
25                        rmd160  f5deacd0242557c92c35d43941cd52a7e4096467 \
26                        sha256  723c4017d95d7a8abdf3bda4e18d3c15d79b00f9326d453da5fdf13f96c287db
27
28extract.only        ${name}-${version}.tar.gz
29
30post-extract {
31    set datumgrid ${distpath}/${name}-datumgrid-${datumgrid_version}.zip
32    system "unzip '$datumgrid' -d '${worksrcpath}/nad'"
33}
34
35pre-destroot {
36    file copy ${worksrcpath}/src/projects.h ${destroot}${prefix}/include
37}
38
39configure.args      --mandir=${prefix}/share/man
40
41post-destroot {
42    xinstall -m 644 ${worksrcpath}/src/projects.h ${destroot}${prefix}/include/
43}
44
45livecheck.type      regex
46livecheck.url       ${master_sites}
47livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.