# -*- 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
PortGroup compiler_blacklist_versions 1.0
# Note: due to poppler compatibility issues, we are temporarily using
# the texlive-provided version of poppler rather than the port; we'll
# revisit on the next release. See
# https://github.com/macports/macports-ports/pull/3098
# luajittex requires muniversal (and some patches to configure
# scripts) to build universal
maintainers {dports @drkp}
description TeX Live Binaries.
long_description TeX Live is an easy way to get up and running with TeX. \
It provides a comprehensive TeX system with binaries for most flavors \
of Unix, including GNU/Linux, and also Windows. It includes all the \
major TeX-related programs, macro packages, and fonts that are free \
software, including support for many languages around the world.
homepage http://www.tug.org/texlive/
# This port installs two libraries: kpathsea (LGPL-2.1+) and ptexenc (BSD).
# The binaries are covered under various licenses, but all distributable;
# see the texlive portfile for more information.
license Copyleft Permissive LGPL-2.1+ BSD
# Our distfile is a stripped-down version of the texlive source
# tarball, available from CTAN in systems/texlive/Source. For faster
# download time, it omits a number of libraries and utilities that we
# don't build. However, the port should still work with an unmodified
master_sites https://giraffe.cs.washington.edu/texlive/ \
https://alpaca.cs.washington.edu/texlive/ \
https://www.ambulatoryclam.net/texlive/
distname texlive-source-${version}
set tlpkgdistname tlpkg-TeXLive-${version}
distfiles-append ${tlpkgdistname}${extract.suffix}
checksums texlive-source-2018.47642.tar.xz \
rmd160 6ebb4f06ea254ef4c49be4052659144d376315f3 \
sha256 d1afa118c02ddf13112b9dd7b46b014d802b544128c50ea5dc88a85ace148725 \
tlpkg-TeXLive-2018.47642.tar.xz \
rmd160 c14c04444af0ee2ed739c7c6776b6afac39cf766 \
sha256 54505501198b171af862ca17c2da4388242b1a1b6e724aabb048ce5125517c8f \
depends_lib port:fontconfig \
path:lib/pkgconfig/cairo.pc:cairo \
path:lib/pkgconfig/pixman-1.pc:libpixman \
depends_run port:ghostscript
patchfiles-append patch-r48697.diff
# patches related to changes in install paths
patchfiles-append patch-texk_chktex_Makefile.in.diff \
patch-texk_kpathsea_Makefile.in.diff \