# -*- 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 # $Id$ PortSystem 1.0 PortGroup cmake 1.0 PortGroup compiler_blacklist_versions 1.0 # java name miktex version 2.9-2016-09-10 categories tex platforms darwin license unknown maintainers mojca openmaintainer description miktex-tools — experimental TeX additions long_description ${description} homepage http://miktex.org/ master_sites http://mirrors.ctan.org/systems/win32/miktex/source/ use_xz yes checksums rmd160 79567fd25a075cb4713731c3fadccc9fe33bfc63 \ sha256 25dc560156cec40f414d7aacf9ea91fd27932146eb175480e9a4ad40239a79d7 cmake.out_of_source yes compiler.blacklist-append *gcc* {clang < 500} macports-clang-3.3 macports-clang-3.4 compiler.fallback-append macports-clang-3.7 macports-clang-3.6 macports-clang-3.5 # some version of python is needed as well (fix!) depends_build-append \ port:bison \ port:dos2unix \ port:flex \ port:fop \ port:ImageMagick \ port:pkgconfig \ port:python27 \ port:libxslt #port:pandoc depends_lib-append port:apr \ port:apr-util \ port:botan \ port:bzip2 \ port:cairo \ port:curl \ port:expat \ port:fontconfig \ port:freetype \ port:gd2 \ port:gmp \ port:graphite2 \ port:harfbuzz-icu \ port:hunspell \ port:icu \ port:jpeg \ port:log4cxx \ port:libzzip \ port:libpng \ port:libpixman \ port:log4cxx \ port:mpfr \ port:poppler \ port:popt \ port:potrace \ port:uriparser \ port:xz \ port:zlib #port:qt5-qtscript \ # port:mspack #patchfiles \ # patch-Libraries-MiKTeX-Core-Session-SessionImpl.h.diff # patch-Libraries-MiKTeX-App-CMakeLists.txt.diff configure.args-append \ -DWITH_UI_QT=OFF \ -DHUNSPELL_LIBRARY=${prefix}/lib/libhunspell-1.3.0.dylib \ -DUSE_SYSTEM_MSPACK=OFF # C++ libraries: # -DUSE_SYSTEM_BOTAN=OFF \ # -DUSE_SYSTEM_POPPLER=OFF \ # -DUSE_SYSTEM_LOG4CXX=OFF \ # -DUSE_SYSTEM_HARFBUZZ_ICU=OFF \ # -DUSE_SYSTEM_HUNSPELL=OFF platform darwin { if { ${configure.cxx_stdlib} ne "libc++" } { configure.cxx_stdlib libc++ depends_lib-append port:libcxx } } # https://sourceforge.net/p/miktex/bugs/2484/ # https://sourceforge.net/p/miktex/bugs/2487/ # https://sourceforge.net/p/miktex/bugs/2491/ # https://sourceforge.net/p/miktex/bugs/2492/ # - move man to ${prefix/share/ # - move texmfs to ${prefix}/share/texmfs (but this might be hardcoded somewhere, so not sure if it can be moved easily)