<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d36f247e91eb93017977bf860650aba2d215a051">https://github.com/macports/macports-ports/commit/d36f247e91eb93017977bf860650aba2d215a051</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 d36f247  sleepwatcher: Update to 2.2.1
</span>d36f247 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit d36f247e91eb93017977bf860650aba2d215a051
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri May 31 13:06:15 2019 -0500

<span style='display:block; white-space:pre;color:#404040;'>    sleepwatcher: Update to 2.2.1
</span>---
 sysutils/sleepwatcher/Portfile             | 34 ++++++++++++++++++------------
 sysutils/sleepwatcher/files/Makefile.patch | 31 +++++++++++++++++++++++++++
 2 files changed, 52 insertions(+), 13 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/sleepwatcher/Portfile b/sysutils/sleepwatcher/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bd9de66..7ad6377 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/sleepwatcher/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/sleepwatcher/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,18 +1,21 @@
</span> # -*- 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
 
 PortSystem              1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup               xcode 1.0
</span> 
 name                    sleepwatcher
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version                 2.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version                 2.2.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision                0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums               rmd160  d42350573650e6424d1ce9e2ad0c139f346c451e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        sha256  4bf1656702167871141fbc119a844d1363d89994e1a67027f0e773023ae9643e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        size    42659
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories              sysutils
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers             ryandesign
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers             {ryandesign @ryandesign} openmaintainer
</span> license                 GPL-3+
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage                http://www.bernhard-baehr.de/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage                https://www.bernhard-baehr.de
</span> master_sites            ${homepage}
 distname                ${name}_${version}
 extract.suffix          .tgz
<span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.destroot.path     ${prefix}/sbin
</span> 
 description             monitors sleep, wakeup and idleness of a Mac
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,9 +26,6 @@ long_description        SleepWatcher monitors sleep, wakeup and idleness of \
</span>                         interaction. It also can send the Mac to sleep mode \
                         or retrieve the time since last user activity.
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums               rmd160  4e1ff469e59ae992ee297cb16a96a74e9993d4bb \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        sha256  c04ac1c49e2b5785ed5d5c375854c9c0b9e959affa46adab57985e4123e8b6be
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> pre-fetch {
     if {${os.major} < 9} {
         ui_error "${name} ${version} requires Mac OS X 10.5 or greater."
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,17 +33,25 @@ pre-fetch {
</span>     }
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles              Makefile.patch
</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;'>+variant universal {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> build.dir               ${worksrcpath}/sources
<span style='display:block; white-space:pre;background:#e0ffe0;'>+build.target            ${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args              CC=${configure.cc} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        CFLAGS="${configure.cflags} [get_canonical_archflags cc]"
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    reinplace "s|/usr/local/|${prefix}/|" ${build.dir}/sleepwatcher.xcodeproj/project.pbxproj
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.args           BINDIR=${destroot}${prefix}/sbin \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        MANDIR=${destroot}${prefix}/share/man
</span> 
 post-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    xinstall -m 755 -W ${worksrcpath}/config rc.sleep rc.wakeup ${destroot}${prefix}/etc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -m 0755 -W ${worksrcpath}/config rc.sleep rc.wakeup ${destroot}${prefix}/etc
</span>     set docdir ${destroot}${prefix}/share/doc/${name}
     xinstall -d ${docdir}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    xinstall -m 644 -W ${worksrcpath} ReadMe.rtf ${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -m 0644 -W ${worksrcpath} ReadMe.rtf ${docdir}
</span> }
 
 startupitem.create      yes
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/sleepwatcher/files/Makefile.patch b/sysutils/sleepwatcher/files/Makefile.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..417f5a6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/sleepwatcher/files/Makefile.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,31 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- sources/Makefile.orig  2018-12-26 03:31:52.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ sources/Makefile       2019-05-31 13:02:55.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -22,24 +22,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MANDIR=/usr/local/man
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sleepwatcher: sleepwatcher.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  $(CC) $(CFLAGS_I386) -o sleepwatcher.i386 sleepwatcher.c $(LIBS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  $(CC) $(CFLAGS_X86_64) -o sleepwatcher.x86_64 sleepwatcher.c $(LIBS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  lipo -create sleepwatcher.i386 sleepwatcher.x86_64 -output sleepwatcher
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  rm sleepwatcher.i386 sleepwatcher.x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++  $(CC) $(CFLAGS) -o sleepwatcher sleepwatcher.c $(LIBS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fat: sleepwatcher sleepwatcher.ppc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  lipo -create sleepwatcher sleepwatcher.ppc -output sleepwatcher.fat
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  mv sleepwatcher.fat sleepwatcher
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  rm sleepwatcher.ppc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-sleepwatcher.ppc: sleepwatcher.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  $(CC) $(CFLAGS_PPC) -o sleepwatcher.ppc sleepwatcher.c $(LIBS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-install: sleepwatcher sleepwatcher.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++install: sleepwatcher ../sleepwatcher.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   mkdir -p $(BINDIR)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  install -o root -g wheel -m 755 sleepwatcher $(BINDIR)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++  install -m 755 sleepwatcher $(BINDIR)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   mkdir -p $(MANDIR)/man8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  install -o root -g wheel -m 644 sleepwatcher.8 $(MANDIR)/man8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++  install -m 644 ../sleepwatcher.8 $(MANDIR)/man8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ clean:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   rm -f sleepwatcher
</span></pre><pre style='margin:0'>

</pre>