<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ad773a981a6874feefc04b2e05f02d25afd87a92">https://github.com/macports/macports-ports/commit/ad773a981a6874feefc04b2e05f02d25afd87a92</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ad773a981a6874feefc04b2e05f02d25afd87a92
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Wed Jun 10 12:23:43 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> tepl : new port
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> common texteditor support for GNOME
</span>---
gnome/tepl/Portfile | 56 +++++++++++++++++++++++++++++++++++++++++++++
gnome/tepl/files/autogen.sh | 23 +++++++++++++++++++
2 files changed, 79 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/tepl/Portfile b/gnome/tepl/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..b13bb0d0b2c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/tepl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,56 @@
</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:filetype=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 gobject_introspection 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name tepl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 4.4.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license LGPL-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set branch [join [lrange [split ${version} .] 0 1] .]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description GNOME text editor support
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories gnome
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://wiki.gnome.org/Projects/Tepl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites gnome:sources/${name}/${branch}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_xz yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 4226fbbd0b18a3a1b1681432830e8cd5cf0ae5fd \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e6f6673a8a27e8f280725db8fbacec79b20676ae0558755239d15a9808faa256 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 466576
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:intltool \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gtk-doc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gnome-common \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:autoconf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:automake \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libtool
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:gtk3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:amtk \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:uchardet \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gvfs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gtksourceview4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
</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;'>+ xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
</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;'>+configure.cmd ./autogen.sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args --disable-dependency-tracking \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-gvfs-metadata \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-silent-rules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.target check
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+gobject_introspection yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type gnome
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/tepl/files/autogen.sh b/gnome/tepl/files/autogen.sh
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..3bc50ae850b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/tepl/files/autogen.sh
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,23 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#!/bin/sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Run this to generate all the initial makefiles, etc.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+srcdir=`dirname $0`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test -z "$srcdir" && srcdir=.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PKG_NAME="tepl"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+(test -f $srcdir/configure.ac \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ && test -f $srcdir/README \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ && test -d $srcdir/tepl) || {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo " top-level $PKG_NAME directory"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exit 1
</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;'>+which gnome-autogen.sh || {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "You need to install gnome-common from GNOME Git (or from"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "your OS vendor's package manager)."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exit 1
</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;'>+REQUIRED_MACROS=python.m4 . gnome-autogen.sh
</span></pre><pre style='margin:0'>
</pre>