source: trunk/dports/gis/proj/Portfile

Last change on this file was 147100, checked in by takeshi@…, 18 months ago

proj: increment revision. The change to install projects.h was committed inadvertently in r147088 with netcdf rev bump

  • 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 147100 2016-03-27 07:00:24Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                proj
7version             4.9.2
8revision            1
9set datumgrid_version 1.5
10categories          gis
11platforms           darwin
12license             MIT
13maintainers         nomaintainer
14
15description         PROJ.4 - Cartographic Projections Library
16long_description    PROJ.4 is a library for converting data between \
17                    cartographic projections.
18homepage            http://trac.osgeo.org/proj/
19
20master_sites        http://download.osgeo.org/proj/
21distfiles-append    ${name}-datumgrid-${datumgrid_version}.zip
22checksums           ${name}-${version}.tar.gz \
23                        rmd160  23e669036bcf2aae6438e44c1ac8c3e45c976d2e \
24                        sha256  60bf9ad1ed1c18158e652dfff97865ba6fb2b67f1511bc8dceae4b3c7e657796 \
25                    proj-datumgrid-${datumgrid_version}.zip \
26                        rmd160  f5deacd0242557c92c35d43941cd52a7e4096467 \
27                        sha256  723c4017d95d7a8abdf3bda4e18d3c15d79b00f9326d453da5fdf13f96c287db
28
29extract.only        ${name}-${version}.tar.gz
30
31post-extract {
32    set datumgrid ${distpath}/${name}-datumgrid-${datumgrid_version}.zip
33    system "unzip '$datumgrid' -d '${worksrcpath}/nad'"
34}
35
36pre-destroot {
37    file copy ${worksrcpath}/src/projects.h ${destroot}${prefix}/include
38}
39
40configure.args      --mandir=${prefix}/share/man
41
42post-destroot {
43    xinstall -m 644 ${worksrcpath}/src/projects.h ${destroot}${prefix}/include/
44}
45
46livecheck.type      regex
47livecheck.url       ${master_sites}
48livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.