<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0b89c8d1b9ac1cbde1984de219233da9230e2a44">https://github.com/macports/macports-ports/commit/0b89c8d1b9ac1cbde1984de219233da9230e2a44</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 0b89c8d1b9ac1cbde1984de219233da9230e2a44
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Sun Apr 15 06:25:23 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> TeXShop4: new port, replaces TeXShop3
</span>---
aqua/TeXShop4/Portfile | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/TeXShop4/Portfile b/aqua/TeXShop4/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..b2ba6d8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/TeXShop4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,72 @@
</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 xcode 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup xcodeversion 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name TeXShop4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts TeXShop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 4.00
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set major [lindex [split ${version} .] 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories aqua editors
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {mps @Schamschula} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description TeX previewer for Mac OS X
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ TeXShop is a TeX previewer for Mac OS X, written in Cocoa. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Since pdf is a native file format on OS X, TeXShop uses \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "pdftex" and "pdflatex" rather than "tex" and "latex" to \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ typeset, these programs in the standard teTeX distribution \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ of TeX produce pdf output instead of dvi output.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://pages.uoregon.edu/koch/texshop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ${homepage}/texshop-64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_zip yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname texshopsource[strsed ${version} {/\.//}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+dist_subdir TeXShop/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+worksrcdir ${distname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set propername TeXShop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# TeXShop4 has frequent stealth updates, keep in sync with revision number
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#dist_subdir TeXShop/${version}_${revision}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 927e08fcad3f1e478672e898686ca9097743d4e1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 8de11bfd5c422b702dd8673bb3fad44bdeecb5e610928ac92605a55a29275510
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+minimum_xcodeversions {13 6.2}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ platform darwin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 13} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${name} @${version} requires at least macOS 10.9 Mavericks"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "imcompatible macOS version"
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# error: -fobjc-arc is not supported on platforms using the legacy runtime
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ogrekit "OgreKit.framework/Versions/A/OgreKit"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # thin the bundled frameworks
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "lipo -thin ${configure.build_arch} ${ogrekit} -output ${ogrekit}"
</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;'>+build.target ${propername}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+xcode.project ${propername}.xcodeproj
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+xcode.configuration Release
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+xcode.build.settings FRAMEWORK_SEARCH_PATHS=${worksrcpath} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CONFIGURATION_BUILD_DIR=${worksrcpath}/build \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CODE_SIGN_IDENTITY=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.target ${propername}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+xcode.destroot.settings INSTALL_MODE_FLAG=755 {*}${xcode.build.settings}
</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;'>+ file delete -force ${destroot}${applications_dir}/TeX.mdimporter
</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;'>+livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex TeXShop \\(v (${major}\.\[0-9.\]+)\\)
</span></pre><pre style='margin:0'>
</pre>