<pre style='margin:0'>
Frank Schima (mf2k) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0b947f0027f4eec5655bc8dd82b42761fb420351">https://github.com/macports/macports-ports/commit/0b947f0027f4eec5655bc8dd82b42761fb420351</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 0b947f0 boxes: Update to version 1.2. Add maintainer. Use github portgroup.
</span>0b947f0 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 0b947f0027f4eec5655bc8dd82b42761fb420351
</span>Author: Frank Schima <mf2k@macports.org>
AuthorDate: Mon Sep 11 09:20:49 2017 -0600
<span style='display:block; white-space:pre;color:#404040;'> boxes: Update to version 1.2. Add maintainer. Use github portgroup.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/54815
</span>---
textproc/boxes/Portfile | 33 +++++++++++++--------------------
1 file changed, 13 insertions(+), 20 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/boxes/Portfile b/textproc/boxes/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index dad6a8b..e975d06 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/boxes/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/boxes/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,13 +1,14 @@
</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:#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;'>+github.setup ascii-boxes boxes 1.2 v
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name boxes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.1.1
</span> categories textproc
license GPL-2+
platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers @StefKKK openmaintainer
</span>
description draws boxes around text
long_description boxes is a text filter which can draw various \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,16 +17,12 @@ long_description boxes is a text filter which can draw various \
</span> simplifies using boxes from emacs
homepage http://boxes.thomasjensen.com
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites http://boxes.thomasjensen.com/download/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.suffix .src.tar.gz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 0a3a826382b174e0604a32071f5b6510fc4f5343 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 d8529840281618e75a4adf313f08291b89c8cf83928c2c1f4b0ddcd236fb2420
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles config.h.patch boxes.c.patch parser.patch regerror.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- regexp_Makefile.patch tools.c.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 f175439db5e62f348321790b53e67b3b075aef11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 13af290ceab5eccfc54f9e230a70c8f2a1ade3fbe64b8e59a60f52e0cf5877f1
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:bison port:cctools port:flex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append port:bison port:cctools port:flex
</span>
use_configure no
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,10 +33,8 @@ variant emacs description {Install boxes.el for running inside emacs} {
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Should this be installed in ${prefix}/share/boxes/boxes?
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-patch { reinplace "s|GLOBALCONF = /usr/share/boxes|GLOBALCONF = ${prefix}/share/boxes|" "${worksrcpath}/Makefile" }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.target
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args CC=${configure.cc}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.target ;# default target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args CC=${configure.cc} GLOBALCONF=${prefix}/share/boxes
</span>
destroot {
xinstall -m 755 ${worksrcpath}/src/boxes ${destroot}${prefix}/bin/${name}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -47,10 +42,8 @@ destroot {
</span> xinstall -m 644 ${worksrcpath}/boxes ${destroot}${prefix}/share/${name}
xinstall ${worksrcpath}/doc/boxes.1 ${destroot}${prefix}/share/man/man1/
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${worksrcpath} COPYING README boxes-config ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 -W ${worksrcpath} README.md LICENSE boxes-config ${destroot}${prefix}/share/doc/${name}
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url [lindex ${master_sites} 0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# can't use regex provided from GitHub portgroup as distfiles are different
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex [join [list {v([0-9]+(\.[0-9]+)*)} [string map {. \\.} ${extract.suffix}]] ""]
</span></pre><pre style='margin:0'>
</pre>