Index: head/print/Makefile =================================================================== --- head/print/Makefile +++ head/print/Makefile @@ -117,6 +117,7 @@ SUBDIR += magicfilter SUBDIR += makeindex SUBDIR += mftrace + SUBDIR += miktex SUBDIR += min12xxw SUBDIR += mp-a4 SUBDIR += mp-letter Index: head/print/miktex/Makefile =================================================================== --- head/print/miktex/Makefile +++ head/print/miktex/Makefile @@ -0,0 +1,83 @@ +# $FreeBSD$ + +PORTNAME= miktex +DISTVERSION= 20.11 +CATEGORIES= print +MASTER_SITES= LOCAL/arrowd/miktex:bootstrap +DISTFILES= miktex-zzdb1-2.9.tar.lzma:bootstrap \ + miktex-zzdb3-2.9.tar.lzma:bootstrap \ + miktex-config-2.9.tar.lzma:bootstrap \ + miktex-dvips.tar.lzma:bootstrap \ + miktex-fontconfig.tar.lzma:bootstrap \ + miktex-misc.tar.lzma:bootstrap \ + tetex.tar.lzma:bootstrap +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} + +MAINTAINER= arrowd@FreeBSD.org +COMMENT= Implementation of TeX/LaTeX + +LICENSE= MULTIPLE +LICENSE_NAME= Multiple +LICENSE_TEXT= This is a collection of many independent packages and does not have a single license +LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept + +LIB_DEPENDS= libapr-1.so:devel/apr1 \ + libcurl.so:ftp/curl \ + libexpat.so:textproc/expat2 \ + libfreetype.so:print/freetype2 \ + libfontconfig.so:x11-fonts/fontconfig \ + libfribidi.so:converters/fribidi \ + libgd.so:graphics/gd \ + libgmp.so:math/gmp \ + libgraphite2.so:graphics/graphite2 \ + libharfbuzz.so:print/harfbuzz \ + libharfbuzz-icu.so:print/harfbuzz-icu \ + libhunspell-1.7.so:textproc/hunspell \ + libicui18n.so:devel/icu \ + libicuuc.so:devel/icu \ + liblog4cxx.so:devel/log4cxx \ + libmpfr.so:math/mpfr \ + libmspack.so:archivers/libmspack \ + libpng16.so:graphics/png \ + libpopt.so:devel/popt \ + liburiparser.so:net/uriparser \ + libzzip.so:devel/zziplib + +USES= bison cmake:noninja gmake gnome jpeg pkgconfig ssl xorg + +USE_GITHUB= yes +GH_ACCOUNT= MiKTeX + +USE_XORG= pixman +USE_GNOME= cairo libxslt +USE_LDCONFIG= yes + +OPTIONS_DEFINE= MANPAGES UIQT +OPTIONS_DEFAULT= MANPAGES UIQT +OPTIONS_SUB= yes + +CONTEXT_DESC= Enable ConTeXt support +UIQT_DESC= Build Qt components + +MANPAGES_CMAKE_BOOL= WITH_MAN_PAGES +UIQT_CMAKE_BOOL= WITH_UI_QT + +UIQT_USES= qt:5 gl +UIQT_USE= qt=core,concurrent,dbus,gui,linguisttools,printsupport,script,scripttools,uitools,widgets,xml,buildtools_build,qmake_build gl=gl + +CMAKE_ARGS= -DMIKTEX_SYSTEM_ETC_FONTS_CONFD_DIR=${LOCALBASE}/etc/fonts/conf.d \ + -DMIKTEX_SYSTEM_VAR_CACHE_DIR=${DATADIR}/cache \ + -DMIKTEX_SYSTEM_VAR_LIB_DIR=${DATADIR}/lib + +DIST_SUBDIR= miktex + +post-extract: + ${MKDIR} ${BUILD_WRKSRC} +. for f in ${DISTFILES:M*bootstrap} + ${CP} ${DISTDIR}/${DIST_SUBDIR}/${f:S/:bootstrap//} ${BUILD_WRKSRC} +. endfor + +post-install: + ${RM} ${STAGEDIR}${PREFIX}/share/miktex-texmf/miktex/config/*.log + +.include Index: head/print/miktex/distinfo =================================================================== --- head/print/miktex/distinfo +++ head/print/miktex/distinfo @@ -0,0 +1,17 @@ +TIMESTAMP = 1604593871 +SHA256 (miktex/miktex-zzdb1-2.9.tar.lzma) = 3cd30066ddf921a7843e51360b30ee8953f9226adc179339c5ed4b7a7b188753 +SIZE (miktex/miktex-zzdb1-2.9.tar.lzma) = 204473 +SHA256 (miktex/miktex-zzdb3-2.9.tar.lzma) = 1e853940b44c10c29c86d1c00ee68fa1c260ca3c376a65524290a8c0619a0d2c +SIZE (miktex/miktex-zzdb3-2.9.tar.lzma) = 1146670 +SHA256 (miktex/miktex-config-2.9.tar.lzma) = dece9cd26a3fb86f03c8689d6831ca953884c206ac4aa8c6f217812e441d75bf +SIZE (miktex/miktex-config-2.9.tar.lzma) = 4717 +SHA256 (miktex/miktex-dvips.tar.lzma) = 78941d2e161eb4d957032ca2183fc94430377efd016c02f05ed35f47190b33ba +SIZE (miktex/miktex-dvips.tar.lzma) = 4195 +SHA256 (miktex/miktex-fontconfig.tar.lzma) = 7711ffd2220bdd29e30925cb18070d4dbe5c1896f9010995fc96c7e4270f1dd9 +SIZE (miktex/miktex-fontconfig.tar.lzma) = 3555 +SHA256 (miktex/miktex-misc.tar.lzma) = dc31fe9b7cd17cad3eddc3fc4c86650eb0f5c66d98720fac635edc7106e3f34b +SIZE (miktex/miktex-misc.tar.lzma) = 22719 +SHA256 (miktex/tetex.tar.lzma) = 0c4d68ebaaf6485c71c6e61e091b859fa2f5b819f6e881678def5bfea79597a4 +SIZE (miktex/tetex.tar.lzma) = 13084 +SHA256 (miktex/MiKTeX-miktex-20.11_GH0.tar.gz) = 76ef4d1a465d5d21208e2da6cac36bd59b4ad95274713ff1e7145b9564d5a8ba +SIZE (miktex/MiKTeX-miktex-20.11_GH0.tar.gz) = 40737500 Index: head/print/miktex/pkg-descr =================================================================== --- head/print/miktex/pkg-descr +++ head/print/miktex/pkg-descr @@ -0,0 +1,5 @@ +MiKTeX is a cross-platform implementation of TeX/LaTeX and related programs. +Its main features include an integrated package manager that installs missing +components from the Internet, if required. + +WWW: https://miktex.org Index: head/print/miktex/pkg-message =================================================================== --- head/print/miktex/pkg-message +++ head/print/miktex/pkg-message @@ -0,0 +1,8 @@ +[ +{ type: install + message: <