ports/devel/tex-web2c/Makefile
Muhammad Moinur Rahman 8374a33c80 tex* : Update version 20150521=>20210325
- Update MASTER_SITES_TEX_CTAN from https://tug.org/historic/
- Update texlua to use texlua53 library
- Deprecate CSLaTeX format
- Remove aleph as per Upstream
- Add common variables TEXLIVE_YEAR and TEXLIVE_VERSION to be used in
  all ports related to tex*
- Fix dependency of print/texlive-texmf-source [1]
- devel/tex-kpathsea: Update version 6.2.1=>6.3.3
- devel/tex-libtexlua: Update version 5.2.4=>5.3.6
- devel/tex-libtexluajit: Update version 2.0.3=>2.1.0
- devel/tex-synctex: Update version 1.17.0=>2.0.0
- devel/tex-web2c: Update version 20150521=>20210325
- editors/texworks: Fix build with newer tex version
- print/tex-basic-engines: Update version 20150521=>20210325
- print/tex-dvipdfmax: Update version 20150521=>20210325
- print/tex-dvipsk: Update version 5.995=>20210325.1
- print/tex-formats: Update version 20150521=>20210325
- print/tex-jadetex:
- print/tex-luatex: Update version 0.80.0=>1.12.0
  * Convert to dynamic pkg-plist
- print/tex-ptexenc: Update version 1.3.3=>1.3.9
- print/tex-xetex: Update version 0.99992=>0.99993
  * Convert to dynamic pkg-plist
- print/texlive-base: Update version 20150521=>20210325
- print/texlive-docs: Update version 20150521=>20210325
  * Convert to dynamic pkg-plist
- print/texlive-full: Update version 20150521=>20210325
- print/texlive-texmf-source: Update version 20150521=>20210325
- print/texlive-texmf: Update version 20150521=>20210325
  * Convert to dynamic pkg-plist
- print/texlive-tlmgr: Update version 20150521=>20210325
- print/xpdfopen: Transfer MAINTAINER to tex@ as xpdfopen is an
  integral part of tex after poppler support has been deprecated from
  tex [2]
- textproc/dblatex: Update version 0.3.11=>0.3.12
  * Take MAINTAINERship
- textproc/gastex: Fix build
- textproc/metauml: Fix build

PR:		226983 [1]
Reported by:	Trond.Endrestol@ximalas.info [1]
Reviewed by:	tcberner (private repo)
Approved by:	hrs (maintainer-timeout) [2]
Relnotes: https://tug.org/texlive/doc/texlive-en/texlive-en.html#news
Sponsored by:	Nepustil.net
2022-02-18 20:25:00 -06:00

73 lines
1.8 KiB
Makefile

PORTNAME= web2c
PORTVERSION= ${TEXLIVE_VERSION}
CATEGORIES= devel
MASTER_SITES= TEX_CTAN/systems/texlive/Source/
PKGNAMEPREFIX= tex-
DISTNAME= texlive-${PORTVERSION}-source
DIST_SUBDIR= TeX
MAINTAINER= tex@FreeBSD.org
COMMENT= TeX implementation translating WEB to C
LIB_DEPENDS= libgmp.so:math/gmp \
libmpfr.so:math/mpfr \
libopenjp2.so:graphics/openjpeg \
libpng.so:graphics/png \
libzzip.so:devel/zziplib
USES= gnome libtool localbase pathfix pkgconfig tar:xz xorg
USE_GNOME= cairo
USE_LDCONFIG= yes
USE_TEX= kpathsea ptexenc
USE_XORG= pixman
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-aleph \
--disable-eptex \
--disable-euptex \
--disable-latex \
--disable-luahbtex \
--disable-luajithbtex \
--disable-luajittex \
--disable-luatex \
--disable-mflua \
--disable-mfluajit \
--disable-pdftex \
--disable-ptex \
--disable-synctex \
--disable-tex \
--disable-uptex \
--disable-xetex \
--with-system-zlib \
--with-system-zziplib \
--with-x=no \
--without-mf-x-toolkit
.for L in pixman cairo gmp mpfr libpng icu kpathsea ptexenc
CONFIGURE_ARGS+= --with-$L-include=${LOCALBASE}/include \
--with-$L-libdir=${LOCALBASE}/lib \
--with-system-$L
.endfor
INSTALL_TARGET= install-strip
CONFLICTS_INSTALL= cweb
EXTRACT_AFTER_ARGS= ${EXTRACT_FILES:S,^,${DISTNAME}/,}
EXTRACT_FILES= build-aux libs/xpdf texk/web2c
WRKSRC= ${WRKDIR}/${DISTNAME}/texk/web2c
INFO= web2c
post-extract:
@${FIND} ${WRKSRC} -name '*.orig' -delete
pre-configure:
for D in libs/xpdf; do \
cd ${WRKDIR}/${DISTNAME}/$$D && \
${SETENV} CC="${CC}" CPP="${CPP}" CXX="${CXX}" \
CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}" \
LDFLAGS="${LDFLAGS}" LIBS="${LIBS}" \
${CONFIGURE_ENV} ${SH} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; \
done
.include <bsd.port.mk>