<pre style='margin:0'>
Andrew Stromnov (stromnov) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c836fed4cb3a6b7bdc54b027a5a0e7a332df3313">https://github.com/macports/macports-ports/commit/c836fed4cb3a6b7bdc54b027a5a0e7a332df3313</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit c836fed4cb3a6b7bdc54b027a5a0e7a332df3313
</span>Author: Andrew Stromnov <stromnov@macports.org>
AuthorDate: Wed Mar 20 12:55:49 2019 +0300
<span style='display:block; white-space:pre;color:#404040;'> proj6: new port
</span>---
gis/proj6/Portfile | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/proj6/Portfile b/gis/proj6/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..ac369d1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/proj6/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,58 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cxx11 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set realname proj
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name ${realname}6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 6.0.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set datumgrid_ver 1.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories-append gis
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license MIT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {stromnov @stromnov} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description PROJ is a generic coordinate transformation software
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description PROJ is a generic coordinate transformation software \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ that transforms geospatial coordinates from one \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ coordinate reference system (CRS) to another. This \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ includes cartographic projections as well as \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ geodetic transformations.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://proj4.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites http://download.osgeo.org/proj/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname ${realname}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distfiles-append ${realname}-datumgrid-${datumgrid_ver}.zip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums ${realname}-${version}.tar.gz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 8580caaeba1a15d47d6a2dab29d78a73bbbfd10f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 4510a2c1c8f9056374708a867c51b1192e8d6f9a5198dd320bf6a168e44a3657 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2405217 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${realname}-datumgrid-${datumgrid_ver}.zip \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 f84c374f85c1314c7e357fd50683b67767cea358 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 b9838ae7e5f27ee732fb0bfed618f85b36e8bb56d7afb287d506338e9f33861e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 6601640
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+extract.only ${realname}-${version}.tar.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_extract-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:unzip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:sqlite3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set datumgrid ${distpath}/${realname}-datumgrid-${datumgrid_ver}.zip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "${prefix}/bin/unzip -o '$datumgrid' -d '${worksrcpath}/data'"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.pre_args --prefix=${prefix}/lib/proj6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args --mandir=${prefix}/lib/proj6/share/man
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url ${master_sites}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex "${realname}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
</span></pre><pre style='margin:0'>
</pre>