<pre style='margin:0'>
Aljaž Srebrnič (g5pw) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/7531958c7ab44120a52022b6d3ce1d024b874859">https://github.com/macports/macports-ports/commit/7531958c7ab44120a52022b6d3ce1d024b874859</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 7531958c7ab44120a52022b6d3ce1d024b874859
</span>Author: Aljaž "g5pw" Srebrnič <g5pw@macports.org>
AuthorDate: Thu Jan 5 23:30:22 2017 +0100
<span style='display:block; white-space:pre;color:#404040;'> devel/ocaml-menhir: update to 20170101
</span>---
devel/ocaml-menhir/Portfile | 16 ++++++-------
devel/ocaml-menhir/files/patch-Makefile.diff | 35 ++++++++++++++++++++++++++++
2 files changed, 43 insertions(+), 8 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ocaml-menhir/Portfile b/devel/ocaml-menhir/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8005319..1cb25fe 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/ocaml-menhir/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ocaml-menhir/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,8 +2,7 @@ PortSystem 1.0
</span> PortGroup ocaml 1.0
name ocaml-menhir
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 20141215
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 20170101
</span> categories devel ml
platforms darwin
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,18 +14,19 @@ master_sites ${homepage}
</span>
distname menhir-${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 72f172fdacf0f94850ecb1e67b630d106ca054c6 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 2592967c123a31e1b6566ab9f6034e7a0a709d57d547097f05693baf96a46fa4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 8daec3421e40b7c3a0537b60a0a589592493d445 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 99696f365511e0440c18d295b7073a13886c5b594e1875f5967ad897a2216a46
</span>
depends_lib port:ocaml-findlib \
port:ocaml
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> use_configure no
use_parallel_build no
<span style='display:block; white-space:pre;background:#e0ffe0;'>+build.env PREFIX=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.env PREFIX=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type regex
livecheck.regex {menhir-(.*)\.tar\.gz}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env PREFIX=${prefix} USE_OCAMLFIND=false
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.env PREFIX=${prefix} USE_OCAMLFIND=false
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.destdir PREFIX=${destroot}/${prefix}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ocaml-menhir/files/patch-Makefile.diff b/devel/ocaml-menhir/files/patch-Makefile.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..676cb89
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ocaml-menhir/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,35 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- work/menhir-20170101/Makefile 2017-01-05 22:54:36.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile 2017-01-05 23:01:18.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -164,23 +164,23 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Install the executable.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- mkdir -p $(bindir)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- install $(BUILDDIR)/menhir.$(TARGET) $(bindir)/$(MENHIREXE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ mkdir -p $(DESTDIR)$(bindir)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ install $(BUILDDIR)/menhir.$(TARGET) $(DESTDIR)$(bindir)/$(MENHIREXE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Install the library.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- mkdir -p $(libdir)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- install -m 644 $(MLYLIB) $(libdir)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ mkdir -p $(DESTDIR)$(libdir)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ install -m 644 $(MLYLIB) $(DESTDIR)$(libdir)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ @if `$(BUILDDIR)/menhir.$(TARGET) --suggest-ocamlfind | tr -d '\r'` ; then \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo 'Installing MenhirLib via ocamlfind.' ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ocamlfind install menhirLib src/META $(patsubst %,$(BUILDDIR)/%,$(MENHIRLIB)) ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ocamlfind install -destdir $(DESTDIR)$(PREFIX)/lib/ocaml/site-lib menhirLib src/META $(patsubst %,$(BUILDDIR)/%,$(MENHIRLIB)) ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo 'Installing MenhirLib manually.' ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- install -m 644 $(patsubst %,$(BUILDDIR)/%,$(MENHIRLIB)) $(libdir) ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ install -m 644 $(patsubst %,$(BUILDDIR)/%,$(MENHIRLIB)) $(DESTDIR)$(libdir) ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Install the documentation, if it has been built.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if [ -f manual.pdf ] ; then \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- mkdir -p $(docdir) $(mandir) && \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- cp -r $(DOCS) $(docdir) && \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- cp -r $(MANS) $(mandir) ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ mkdir -p $(DESTDIR)$(docdir) $(DESTDIR)$(mandir) && \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ cp -r $(DOCS) $(DESTDIR)$(docdir) && \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ cp -r $(MANS) $(DESTDIR)$(mandir) ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ uninstall:
</span></pre><pre style='margin:0'>
</pre>