<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d04c16159c8190ed74f3b783a6868794bdf49876">https://github.com/macports/macports-ports/commit/d04c16159c8190ed74f3b783a6868794bdf49876</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new d04c161 direnv: new port.
</span>d04c161 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit d04c16159c8190ed74f3b783a6868794bdf49876
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Fri Nov 4 12:26:27 2016 -0400
<span style='display:block; white-space:pre;color:#404040;'> direnv: new port.
</span>---
devel/direnv/Portfile | 47 ++++++++++++++++++++++++++++++++++
devel/direnv/files/patch-Makefile.diff | 25 ++++++++++++++++++
2 files changed, 72 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/direnv/Portfile b/devel/direnv/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..80f6e6d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/direnv/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,47 @@
</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 github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name direnv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories devel sysutils
</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 michaelld openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description ${name} is an environment switcher for the shell.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${description} It knows how to hook into bash, zsh, tcsh and fish shell to load or unload environment variables depending on the current directory. This allows project-specific environment variables without cluttering the \"~/.profile\" file.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${name} eq ${subport}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup direnv direnv 2.9.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 bbd2e94a007268d9f03c20088f561cf2a91f8c4a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 770004bf358018a1eaf839076f5637874045eeb15940c1b22158accdf93ae4ea
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts direnv-devel
</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;'>+subport direnv-devel {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup direnv direnv 58e153f03d028f0e21d9ab2b890597feafa6bbec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 20160920
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 509d50db995056923a5cfcdfcbdcd5719f86cff0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 ac8b49180c7f3992886023fbc22451a99f99a13aa153e88e804ac1e78a7db7e9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts direnv
</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;'>+# override github information
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://direnv.net/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# builds with 'go' internally
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:go
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# fix PREFIX and DESTDIR variables to match what 'port' needs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.env-append PREFIX=${prefix}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/direnv/files/patch-Makefile.diff b/devel/direnv/files/patch-Makefile.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..1a4cea2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/direnv/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,25 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.orig 2016-11-04 12:12:11.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile 2016-11-04 12:12:55.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-DESTDIR ?= /usr/local
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++PREFIX ?= /usr/local
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MAN_MD = $(wildcard man/*.md)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ROFFS = $(MAN_MD:.md=)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -50,12 +50,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ./test/direnv-test.sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install: all
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- install -d $(DESTDIR)/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- install -d $(DESTDIR)/share/man/man1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- install direnv $(DESTDIR)/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- cp -R man/*.1 $(DESTDIR)/share/man/man1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ install -d $(DESTDIR)$(PREFIX)/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ install -d $(DESTDIR)$(PREFIX)/share/man/man1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ install direnv $(DESTDIR)$(PREFIX)/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ cp -R man/*.1 $(DESTDIR)$(PREFIX)/share/man/man1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dist:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ go get github.com/mitchellh/gox
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gox -output "dist/direnv.{{.OS}}-{{.Arch}}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span></pre><pre style='margin:0'>
</pre>