<pre style='margin:0'>
Craig Treleaven (ctreleaven) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8c16acd76b70f3e6ea81fff551deee5939380e20">https://github.com/macports/macports-ports/commit/8c16acd76b70f3e6ea81fff551deee5939380e20</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 8c16acd xmltv: new port, fetch and manage TV listings
</span>8c16acd is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 8c16acd76b70f3e6ea81fff551deee5939380e20
</span>Author: Craig Treleaven <ctreleaven@macports.org>
AuthorDate: Fri May 22 13:21:41 2020 -0400
<span style='display:block; white-space:pre;color:#404040;'> xmltv: new port, fetch and manage TV listings
</span>---
multimedia/xmltv/Portfile | 105 ++++++++++++++++++++++++++
multimedia/xmltv/files/patch_Makefile.PL.diff | 43 +++++++++++
2 files changed, 148 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/xmltv/Portfile b/multimedia/xmltv/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..12131a2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/xmltv/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,105 @@
</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 perl5 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;'>+PortGroup select 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+perl5.require_variant yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+perl5.conflict_variants yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+perl5.branches 5.28 5.30
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+perl5.default_branch 5.30
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+perl5.create_variants ${perl5.branches}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# since variants are set to conflict, only one can be installed at a time
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# therefore omit version suffixes on linked binaries
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+perl5.link_binaries_suffix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup XMLTV xmltv 0.6.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+perl5.setup xmltv 0.6.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 28454a829db2bbe762a4a45dc21d93f225eded6f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 930b97b8ae399016aa7b70feea82f47a5049f2d3bd22bb0161aea835d3e51221 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 838492
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description utilities to download tv listings and format them in xml
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites {*}${github.master_sites}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {ctreleaven @ctreleaven} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://www.xmltv.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories multimedia textproc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch_Makefile.PL.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fs-traverse f ${worksrcpath} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -locale C -q "s|#!/usr/bin/perl|#!${perl5.bin}|" ${f}
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:p${perl5.major}-archive-zip \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-cgi \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-date-manip \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-datetime \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-datetime-timezone \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-datetime-format-strptime \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-datetime-format-iso8601 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-datetime-format-sqlite \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-dbd-sqlite \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-dbi \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-file-homedir \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-file-slurp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-file-which \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-http-cache-transparent \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-json \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-json-xs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-lingua-preferred \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-list-moreutils \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-lwp-useragent-determined \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-soap-lite \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-term-progressbar \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-term-readkey \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-tk \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-unicode-string \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-xml-libxml \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-xml-parser \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-xml-treepp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-xml-twig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-xml-writer \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-xml-dom \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-xml-libxslt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:sqlite3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# These dependencies are missing for tv_grab_it_dvb:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Linux::DVB
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# These dependencies are missing for tv_check:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Tk::TableMatrix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# the scripts are created but not linked by port select
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set xmlbin ${prefix}/libexec/perl${perl5.major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set xmllnk ${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set docdir ${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# build system creates these scripts even though they're known to be broken
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file delete ${destroot}${xmlbin}/tv_check
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file delete ${destroot}${xmllnk}/tv_check
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file delete ${destroot}${xmlbin}/tv_grab_it_dvb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file delete ${destroot}${xmllnk}/tv_grab_it_dvb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0755 -d ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${worksrcpath} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COPYING \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ README \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ authors.txt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xmltv-lineups.xsd \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xmltv.dtd \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xmltv_logo.ico \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xmltv_logo.png \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ doc/QuickStart \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/xmltv/files/patch_Makefile.PL.diff b/multimedia/xmltv/files/patch_Makefile.PL.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..a63901a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/xmltv/files/patch_Makefile.PL.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,43 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.PL.orig 2019-02-20 23:20:39.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile.PL 2020-05-20 21:44:45.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# from
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/DragonFlyBSD/DPorts/blob/master/textproc/p5-xmltv/files/patch-Makefile.PL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -715,14 +715,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Guess a default value for {install} based on whether
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # prerequisites were found.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $info->{install} = (not $info->{exclude}) && ($opt_yes || not $info->{missing});
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $info->{install} = 1;(not $info->{exclude}) && ($opt_yes || not $info->{missing});
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ print STDERR ($s, ' ' x (1 + $width - length $s),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $info->{install} ? '[yes]' : '[no]',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "\n");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ print STDERR "\n";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (not ask(0, 'Do you want to proceed with this configuration?', 1)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (1 or not ask(0, 'Do you want to proceed with this configuration?', 1)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Need to set {install} for each component by prompting.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach my $info (@opt_components) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ my $missing = $info->{missing};
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -751,8 +751,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ die;
</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;'>+- $info->{install} =
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ask(0, $msg, not $missing);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $info->{install} = 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # ask(0, $msg, not $missing);
</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;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -956,8 +956,8 @@
</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;'>+ # Remove existing non-working 'uninstall' target.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $inherited =~ s!^uninstall\s:.*$!!m
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- or die "no uninstall target in: $inherited";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $inherited =~ s!^uninstall\s::?.*?\n\t+.*$!!m;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $inherited =~ s!^uninstall\s:.*$!!m;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # For each *_install create a corresponding _uninstall.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ my $targets = ::targets($inherited);
</span></pre><pre style='margin:0'>
</pre>