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

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