<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/991ca3c66fa5a9df846279731cf3e7e1a447a8e2">https://github.com/macports/macports-ports/commit/991ca3c66fa5a9df846279731cf3e7e1a447a8e2</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 991ca3c66fa5a9df846279731cf3e7e1a447a8e2
</span>Author: Clemens Lang <cal@macports.org>
AuthorDate: Tue Sep 17 17:44:25 2019 +0200
<span style='display:block; white-space:pre;color:#404040;'> zathura-plugin-ps: Update to 0.2.6
</span>---
office/zathura-plugin-ps/Portfile | 48 ++++-------------
office/zathura-plugin-ps/files/patch-Makefile.diff | 63 ----------------------
.../zathura-plugin-ps/files/patch-config.mk.diff | 14 -----
3 files changed, 11 insertions(+), 114 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/office/zathura-plugin-ps/Portfile b/office/zathura-plugin-ps/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9a15413..96ff6d9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/office/zathura-plugin-ps/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/office/zathura-plugin-ps/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,9 +2,10 @@
</span>
PortSystem 1.0
PortGroup compiler_blacklist_versions 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup meson 1.0
</span>
name zathura-plugin-ps
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.2.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.2.6
</span> categories office
platforms darwin
license zlib
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -14,56 +15,29 @@ long_description \
</span> The zathura-ps plugin adds PostScript support to zathura by using the \
libspectre library.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://pwmt.org/projects/zathura/plugins/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites http://pwmt.org/projects/zathura-ps/download/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://git.pwmt.org/pwmt/zathura-ps
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ${homepage}/-/archive/${version}
</span> distname zathura-ps-${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 7081371b2f6349de7d24b9d90ad3460f67eeba7c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 a9eef74b12aec87ac2c4309f12d0f9c83b228fe64a788ee46b2c3a7c91779aa3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch.pre_args -p1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-Makefile.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-config.mk.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 678ade07202dd92b16c1f58da384ae96182014e5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 08c1927bfb8a40e201fa3638f9523d4b6d70e3444ef070bd4aa8a869b6574567 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 4710
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig
</span>
depends_lib port:desktop-file-utils \
port:libspectre \
path:lib/libgirara-gtk3.dylib:girara \
path:bin/zathura:zathura
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # blacklist compilers that don't support -std=c11
compiler.blacklist *gcc* {clang < 300}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant universal {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args PREFIX=${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {[vercmp [macports_version] 2.5.99] >= 0} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env CC=${configure.cc} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CXX=${configure.cxx} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CPP=${configure.cpp} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS=[get_canonical_archflags cc] \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LDFLAGS=[get_canonical_archflags ld] \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- VERBOSE=1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env CC=${configure.cc} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CXX=${configure.cxx} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CPP=${configure.cpp} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS="[get_canonical_archflags cc]" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LDFLAGS="[get_canonical_archflags ld]" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- VERBOSE=1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.env {*}${build.env}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.args {*}${build.args}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> post-activate {
system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
}
livecheck.type regex
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url ${master_sites}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex zathura-ps-(\[0-9.\]+)${extract.suffix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url ${homepage}/tags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex zathura-ps-(\[0-9.\]+)[quotemeta ${extract.suffix}]
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/office/zathura-plugin-ps/files/patch-Makefile.diff b/office/zathura-plugin-ps/files/patch-Makefile.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index e420348..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/office/zathura-plugin-ps/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,63 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/Makefile b/Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index bd53080..0a56a11 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- a/Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ b/Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -20,7 +20,7 @@ CPPFLAGS += "-DVERSION_MAJOR=${VERSION_MAJOR}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CPPFLAGS += "-DVERSION_MINOR=${VERSION_MINOR}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CPPFLAGS += "-DVERSION_REV=${VERSION_REV}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--all: options ${PLUGIN}.so
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+all: options ${PLUGIN}.dylib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- zathura-version-check:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ifneq ($(ZATHURA_VERSION_CHECK), 0)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -48,19 +48,19 @@ options:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${OBJECTS}: config.mk zathura-version-check
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${DOBJECTS}: config.mk zathura-version-check
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--${PLUGIN}.so: ${OBJECTS}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+${PLUGIN}.dylib: ${OBJECTS}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $(ECHO) LD $@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- $(QUIET)${CC} -shared ${LDFLAGS} -o $@ $(OBJECTS) ${LIBS}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ $(QUIET)${CC} -Wl,-dylib_install_name,${PLUGIN}.dylib -Wl,-bundle_loader,${PREFIX}/bin/zathura -bundle ${LDFLAGS} -o $@ $(OBJECTS) ${LIBS}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--${PLUGIN}-debug.so: ${DOBJECTS}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+${PLUGIN}-debug.dylib: ${DOBJECTS}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $(ECHO) LD $@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $(QUIET)${CC} -shared ${LDFLAGS} -o $@ $(DOBJECTS) ${LIBS}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- clean:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- $(QUIET)rm -rf ${OBJECTS} ${DOBJECTS} $(PLUGIN).so doc .depend \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ${PROJECT}-${VERSION}.tar.gz ${PLUGIN}-debug.so zathura-version-check
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ $(QUIET)rm -rf ${OBJECTS} ${DOBJECTS} $(PLUGIN).dylib doc .depend \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ${PROJECT}-${VERSION}.tar.gz ${PLUGIN}-debug.dylib zathura-version-check
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--debug: options ${PLUGIN}-debug.so
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+debug: options ${PLUGIN}-debug.dylib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- dist: clean
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $(QUIET)mkdir -p ${PROJECT}-${VERSION}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -77,7 +77,7 @@ doc: clean
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- install: all
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $(ECHO) installing ${PLUGIN} plugin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $(QUIET)mkdir -p ${DESTDIR}${PLUGINDIR}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- $(QUIET)cp -f ${PLUGIN}.so ${DESTDIR}${PLUGINDIR}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ $(QUIET)cp -f ${PLUGIN}.dylib ${DESTDIR}${PLUGINDIR}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $(QUIET)mkdir -m 755 -p ${DESTDIR}${DESKTOPPREFIX}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $(ECHO) installing desktop file
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $(QUIET)install -m 644 ${PROJECT}.desktop ${DESTDIR}${DESKTOPPREFIX}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -85,11 +85,11 @@ install: all
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- uninstall:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $(ECHO) uninstalling ${PLUGIN} plugin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- $(QUIET)rm -f ${DESTDIR}${PLUGINDIR}/${PLUGIN}.so
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- $(QUIET)rmdir --ignore-fail-on-non-empty ${DESTDIR}${PLUGINDIR} 2> /dev/null
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ $(QUIET)rm -f ${DESTDIR}${PLUGINDIR}/${PLUGIN}.dylib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ $(QUIET)rmdir ${DESTDIR}${PLUGINDIR} 2> /dev/null
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $(ECHO) removing desktop file
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $(QUIET)rm -f ${DESTDIR}${DESKTOPPREFIX}/${PROJECT}.desktop
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- $(QUIET)rmdir --ignore-fail-on-non-empty ${DESTDIR}${DESKTOPPREFIX} 2> /dev/null
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ $(QUIET)rmdir ${DESTDIR}${DESKTOPPREFIX} 2> /dev/null
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -include $(wildcard .depend/*.dep)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/office/zathura-plugin-ps/files/patch-config.mk.diff b/office/zathura-plugin-ps/files/patch-config.mk.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 67f000e..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/office/zathura-plugin-ps/files/patch-config.mk.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,14 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/config.mk b/config.mk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 971f45d..4ff8778 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- a/config.mk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ b/config.mk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -40,6 +40,9 @@ LIBS = ${GLIB_LIB} ${SPECTRE_LIB} ${GIRARA_LIB}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # flags
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS += -std=c11 -fPIC -pedantic -Wall -Wno-format-zero-length $(INCS)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# linker flags
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+LDFLAGS += -fPIC -fno-common
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # debug
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- DFLAGS ?= -g
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span></pre><pre style='margin:0'>
</pre>