<pre style='margin:0'>
tenomoto pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e0671be058857ba1c17b5c86d124401e6656bc52">https://github.com/macports/macports-ports/commit/e0671be058857ba1c17b5c86d124401e6656bc52</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit e0671be058857ba1c17b5c86d124401e6656bc52
</span>Author: Takeshi Enomoto <takeshi@macports.org>
AuthorDate: Thu Feb 16 14:04:43 2017 +0900

<span style='display:block; white-space:pre;color:#404040;'>    udunits2: install headers in the right location, closing #53576
</span>---
 science/udunits2/Portfile | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/udunits2/Portfile b/science/udunits2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index cfaa0a2..dbbb2df 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/udunits2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/udunits2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,6 +6,7 @@ PortGroup           cmake 1.0
</span> 
 github.setup        Unidata UDUNITS-2 2.2.24 v
 name                udunits2
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            1
</span> maintainers         takeshi
 license             UCAR-Unidata
 platforms           darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,8 +35,13 @@ depends_lib         port:expat \
</span> cmake.out_of_source yes
 
 worksrcdir          UDUNITS-2-${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    -DCMAKE_INSTALL_INCLUDEDIR=${prefix}/include/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -d 644 ${destroot}${prefix}/include/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    foreach f [glob ${destroot}${prefix}/include/*.h] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        file rename ${f} ${destroot}${prefix}/include/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> 
 livecheck.type      regex
 livecheck.url       ${homepage}/udunits-current/doc/udunits/CHANGE_LOG
</pre><pre style='margin:0'>

</pre>