<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/bfccf696443f130727a9547b4504800a5a4246a1">https://github.com/macports/macports-ports/commit/bfccf696443f130727a9547b4504800a5a4246a1</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit bfccf696443f130727a9547b4504800a5a4246a1
</span>Author: Marcus Calhoun-Lopez <marcuscalhounlopez@gmail.com>
AuthorDate: Sun May 20 13:04:14 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> leveldb: muniversal PG no longer requires Makefile
</span>---
databases/leveldb/Portfile | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/leveldb/Portfile b/databases/leveldb/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a819202..e972bc9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/leveldb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/leveldb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -59,17 +59,13 @@ build.env-append \
</span> CXX="${configure.cxx}" \
OPT="-DNDEBUG"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# muniversal build requires Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-extract {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set makefile [open ${worksrcpath}/Makefile-Install "w"]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts ${makefile} {install:}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts ${makefile} "\t/usr/bin/install -d -m 0755 \$(DESTDIR)${prefix}/include/leveldb"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts ${makefile} "\t/usr/bin/install -d -m 0755 \$(DESTDIR)${prefix}/include/helpers/memenv"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts ${makefile} "\t/usr/bin/install -m 0644 include/leveldb/*.h \$(DESTDIR)${prefix}/include/leveldb"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts ${makefile} "\t/usr/bin/install -m 0644 helpers/memenv/memenv.h \$(DESTDIR)${prefix}/include/helpers/memenv"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts ${makefile} "\t/bin/cp -R out-shared/libleveldb* \$(DESTDIR)${prefix}/lib"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts ${makefile} "\t/usr/bin/install -m 0644 out-static/lib*.a \$(DESTDIR)${prefix}/lib"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- close ${makefile}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/include/leveldb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/include/helpers/memenv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 {*}[glob ${worksrcpath}/include/leveldb/*.h] ${destroot}${prefix}/include/leveldb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 ${worksrcpath}/helpers/memenv/memenv.h ${destroot}${prefix}/include/helpers/memenv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy {*}[glob ${worksrcpath}/out-shared/libleveldb*.dylib] ${destroot}${prefix}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 {*}[glob ${worksrcpath}/out-static/lib*.a] ${destroot}${prefix}/lib
</span> }
destroot.args-append -f Makefile-Install
</pre><pre style='margin:0'>
</pre>