forked from Lainports/freebsd-ports
- devel/tex-kpathsea: Update version 6.3.3=>6.3.5 - print/texlive-tlmgr: Update version 20210325=>20230313 * Add LICENSE GPLv2 - devel/tex-libtexlua: Update distinfo from 20230313 dists - devel/tex-libtexluajit: Update distinfo from 20230313 dists - print/tex-ptexenc: Update version 1.3.9=>1.4.3 * Pet portclippy - devel/tex-web2c: Update version 20210325=>20230313 - devel/tex-synctex: Update distinfo from 20230313 dists - print/tex-basic-engines: Update version 20210325=>20230313 - print/texlive-base: Update version 20210325=>20230313 - print/texlive-docs: Update version 20210325=>20230313 - print/texlive-full: Update version 20210325=>20230313 - print/texlive-texmf: Update version 20210325=>20230313 - print/texlive-texmf-source: Update version 20210325=>20230313 - print/latex-biber: Update version 2.16=>2.19 - print/tex-dvipdfmax: Update version 20210325=>20230313 - print/tex-dvipsk: Update version 2021.1=>2023.1 - print/tex-formats: Update version 20210325=>20230313 - print/tex-jadetex: Update distinfo from 20230313 dists - print/tex-luatex: Update version 1.12.0=>1.16.0 - print/tex-xetex: Update distinfo from 20230313 dists - print/tex-xmltex: Update distinfo from 20230313 dists - japanese/tex-ptex: Fix build * Remove ConTeXt format - textproc/foiltex: Update MASTER_SITES * Adopt port - There are multiple ports which uses the macro USE_TEX=texmf that is downloading a big DISTFILE. Unfortunately it is not possible for me to test all the consumers in runtime. So in the following ports I have removed USE_TEX=texmf so that someone who uses those can report the runtime files those are missing. If possible(based on LICENSE permission) I will try to create a smaller distfile out of the texlive-20230313-texmf and change dependency accordingly otherwise will reinstate USE_TEX=texmf. The list of ports that are affected are following: * arabic/arabtex * graphics/epix * math/cadabra2 * math/coq * math/gnuplot-tex-extras * net-mgmt/netmagis-www * print/dvisvg * print/lilypond * print/mftrace * print/tex-xdvik * print/latex-beamer Sponsored by: Nepustil
59 lines
1.5 KiB
Makefile
59 lines
1.5 KiB
Makefile
PORTNAME= basic-engines
|
|
PORTVERSION= ${TEXLIVE_VERSION}
|
|
CATEGORIES= print
|
|
MASTER_SITES= TEX_CTAN/systems/texlive/${TEXLIVE_YEAR}
|
|
PKGNAMEPREFIX= tex-
|
|
DISTNAME= texlive-${PORTVERSION}-source
|
|
DIST_SUBDIR= TeX
|
|
|
|
MAINTAINER= tex@FreeBSD.org
|
|
COMMENT= Basic TeX Engines
|
|
WWW= https://tug.org/texlive/
|
|
|
|
LIB_DEPENDS= libpng.so:graphics/png
|
|
|
|
USES= libtool localbase pkgconfig tar:xz tex
|
|
USE_TEX= kpathsea web2c
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= ${EXCLUDE_ENGINES:S/^/--disable-/} \
|
|
--disable-missing \
|
|
--with-system-kpathsea \
|
|
--with-system-zlib \
|
|
--with-x=no \
|
|
--without-mf-x-toolkit
|
|
.for L in libpng
|
|
CONFIGURE_ARGS+= --with-$L-include=${LOCALBASE}/include \
|
|
--with-$L-libdir=${LOCALBASE}/lib \
|
|
--with-system-$L
|
|
.endfor
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
EXTRACT_AFTER_ARGS= ${EXTRACT_FILES:S,^,${DISTNAME}/,}
|
|
EXTRACT_FILES= build-aux libs/xpdf texk/web2c
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/texk/web2c
|
|
|
|
EXCLUDE_ENGINES= aleph luatex luajittex mf mf-nowin ptex eptex uptex \
|
|
euptex xetex otangle mp pmp upmp web2c web-progs \
|
|
synctex hitex \
|
|
luahbtex \
|
|
luajithbtex \
|
|
mflua \
|
|
mfluajit \
|
|
latex
|
|
|
|
post-extract:
|
|
@${FIND} ${WRKSRC} -name '*.orig' -delete
|
|
|
|
post-configure:
|
|
cd ${WRKDIR}/${DISTNAME}/libs/xpdf && \
|
|
${SETENV} CC="${CC}" CPP="${CPP}" CXX="${CXX}" \
|
|
CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" \
|
|
CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \
|
|
LIBS="${LIBS}" \
|
|
${CONFIGURE_ENV} ${SH} ${CONFIGURE_SCRIPT} \
|
|
${CONFIGURE_ARGS}
|
|
|
|
.include <bsd.port.mk>
|