<pre style='margin:0'>
Mojca Miklavec (mojca) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5d4cd9c7279fe65457c283f69927313e40e90287">https://github.com/macports/macports-ports/commit/5d4cd9c7279fe65457c283f69927313e40e90287</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 5d4cd9c xpdf: whitespace, modeline only
</span>5d4cd9c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5d4cd9c7279fe65457c283f69927313e40e90287
</span>Author: Mojca Miklavec <mojca@macports.org>
AuthorDate: Mon Apr 2 09:28:13 2018 +0200
<span style='display:block; white-space:pre;color:#404040;'> xpdf: whitespace, modeline only
</span>---
graphics/xpdf/Portfile | 150 +++++++++++++++++++++++++------------------------
1 file changed, 77 insertions(+), 73 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/xpdf/Portfile b/graphics/xpdf/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4aa7d40..23fddfe 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/xpdf/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/xpdf/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,105 +1,109 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name xpdf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-conflicts pdf2json
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 3.04
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description Xpdf is a viewer for PDF files.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Xpdf is a viewer for Portable Document Format \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- (PDF) files. These are also sometimes also called \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Acrobat files, from the name of Adobes PDF software.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories graphics print
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license {GPL-2 GPL-3}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://www.foolabs.com/xpdf/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ftp://ftp.funet.fi/pub/TeX/CTAN/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ftp://ctan.unsw.edu.au/tex-archive/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ftp://ftp.tex.ac.uk/tex-archive/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ftp://ftp.kddlabs.co.jp/CTAN/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ftp://ftp.meiji.ac.jp/pub/TeX/CTAN/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ftp://ctan.tug.org/tex-archive/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ftp://ftp.dante.de/tex-archive/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ftp://gd.tuwien.ac.at/publishing/tex/CTAN/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ftp://ftp.ntnu.no/pub/tex/CTAN/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ftp://www.dnsbalance.ring.gr.jp/pub/text/CTAN/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- http://www.t.ring.gr.jp/archives/text/CTAN/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ftp://ftp.foolabs.com/pub/xpdf/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums ${distfiles} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 fb29aad21054d5d3b349aec4806262feeca1bd8e \
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name xpdf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts pdf2json
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.04
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Xpdf is a viewer for PDF files.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Xpdf is a viewer for Portable Document Format \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (PDF) files. These are also sometimes also called \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Acrobat files, from the name of Adobes PDF software.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories graphics print
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license {GPL-2 GPL-3}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://www.foolabs.com/xpdf/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ftp://ftp.funet.fi/pub/TeX/CTAN/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ftp://ctan.unsw.edu.au/tex-archive/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ftp://ftp.tex.ac.uk/tex-archive/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ftp://ftp.kddlabs.co.jp/CTAN/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ftp://ftp.meiji.ac.jp/pub/TeX/CTAN/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ftp://ctan.tug.org/tex-archive/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ftp://ftp.dante.de/tex-archive/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ftp://gd.tuwien.ac.at/publishing/tex/CTAN/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ftp://ftp.ntnu.no/pub/tex/CTAN/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ftp://www.dnsbalance.ring.gr.jp/pub/text/CTAN/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ http://www.t.ring.gr.jp/archives/text/CTAN/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ftp://ftp.foolabs.com/pub/xpdf/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 fb29aad21054d5d3b349aec4806262feeca1bd8e \
</span> sha256 11390c74733abcb262aaca4db68710f13ffffd42bfe2a0861a5dfc912b2977e5
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:xorg-libXp port:xpm port:xorg-libXt port:freetype \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libpaper lib:libXm:openmotif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:xorg-libXp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xpm \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xorg-libXt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:freetype \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libpaper \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lib:libXm:openmotif
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_run path:share/ghostscript/fonts:ghostscript
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run path:share/ghostscript/fonts:ghostscript
</span>
patch.post_args -p1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-xpdf-NameToUnicodeTable.h.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-xpdf-UnicodeMapTables.h.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-xpdf-NameToUnicodeTable.h.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-xpdf-UnicodeMapTables.h.diff
</span>
post-patch {
reinplace "s|/usr/local|${prefix}|g" \
${worksrcpath}/doc/sample-xpdfrc ${worksrcpath}/xpdf/GlobalParams.cc
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-x \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --mandir=${prefix}/share/man \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-appdef-dir=${prefix}/etc/X11/app-defaults \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-Xp-library=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-Xp-includes=${prefix}/include \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-Xt-library=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-Xt-includes=${prefix}/include \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-Xm-library=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-Xm-includes=${prefix}/include \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-libpaper-library=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-libpaper-includes=${prefix}/include \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-freetype2-library=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-freetype2-includes=${prefix}/include/freetype2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-wordlist \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-opi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cxxflags-append "-I${prefix}/include/freetype2 -I${prefix}/include"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.ldflags-append "-lz"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args --with-x \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --mandir=${prefix}/share/man \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-appdef-dir=${prefix}/etc/X11/app-defaults \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-Xp-library=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-Xp-includes=${prefix}/include \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-Xt-library=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-Xt-includes=${prefix}/include \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-Xm-library=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-Xm-includes=${prefix}/include \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-libpaper-library=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-libpaper-includes=${prefix}/include \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-freetype2-library=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-freetype2-includes=${prefix}/include/freetype2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-wordlist \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-opi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cxxflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -I${prefix}/include/freetype2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -I${prefix}/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.ldflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -lz
</span>
variant a4 description {Use A4 as the default paper size instead of Letter} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-a4-paper
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-a4-paper
</span> }
variant drm description {Obey access restrictions in PDF files} {}
if {![variant_isset drm]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append ${distname}-salvage-your-eye.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append ${distname}-salvage-your-eye.patch
</span> }
variant no_mangle_names description {do not mangle the CLI tool names, conflicts with poppler} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts-append poppler
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts-append poppler
</span> }
# t1lib support should not be on by default; see https://trac.macports.org/ticket/29629
variant t1lib description {Include t1lib support (moved to variant due to security issue)} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:t1lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-t1-library=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-t1-includes=${prefix}/include \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:t1lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-t1-library=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-t1-includes=${prefix}/include \
</span> }
post-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {! [variant_isset no_mangle_names]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ## rename the CLI tools to xpdf-${TOOL_NAME} to avoid conflicts with poppler
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach binFile { pdfdetach pdffonts pdfimages pdfinfo pdftoppm pdftops pdftotext } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- move ${destroot}${prefix}/bin/${binFile} ${destroot}${prefix}/bin/${name}-${binFile}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- move ${destroot}${prefix}/share/man/man1/${binFile}.1 ${destroot}${prefix}/share/man/man1/${name}-${binFile}.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:#e0ffe0;'>+ if {! [variant_isset no_mangle_names]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ## rename the CLI tools to xpdf-${TOOL_NAME} to avoid conflicts with poppler
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach binFile { pdfdetach pdffonts pdfimages pdfinfo pdftoppm pdftops pdftotext } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${destroot}${prefix}/bin/${binFile} ${destroot}${prefix}/bin/${name}-${binFile}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${destroot}${prefix}/share/man/man1/${binFile}.1 ${destroot}${prefix}/share/man/man1/${name}-${binFile}.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
notes "
<span style='display:block; white-space:pre;background:#ffe0e0;'>-Xpdf language support packages are also available at
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- http://www.foolabs.com/xpdf/download.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Xpdf language support packages are also available at
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ http://www.foolabs.com/xpdf/download.html
</span> and are available in MacPorts as xpdf-LANG_NAME.
"
</pre><pre style='margin:0'>
</pre>