pkgsrc/print/xetex/Makefile
markd 4e5ed44976 Update to TeXlive 2017
Updated converters/dvi2tty to 6.0.0nb1
  Updated fonts/afm2pl to 0.7.1nb3
  Updated fonts/gsftopkk to 1.19.2nb8
  Updated fonts/lcdftypetools to 2.106
  Updated fonts/ps2pkm to 1.8nb1
  Updated fonts/ttf2pk to 2.0nb3
  Updated fonts/ttfdump to 0.5.5nb4
  Updated print/cjkutils to 4.8.4nb2
  Updated print/dvidvi to 1.1nb1
  Updated print/dviljk to 2.6.5nb8
  Updated print/dvipdfmx to 20170318
  Updated print/dvipsk to 5.997
  Updated print/kpathsea to 6.2.3
  Updated print/lacheck to 1.28nb2
  Updated print/luatex to 1.0.4
  Updated print/ptexenc to 1.3.5
  Updated print/seetexk to 1.1nb3
  Updated print/tex4ht to 0.0.20170523
  Updated print/vlna to 1.5nb3
  Updated print/web2c to 2017
  Updated print/xdvik to 22.87.03nb1
  Updated print/xetex to 0.99997
  Updated print/xpdfopen to 0.86nb2
  Updated textproc/makeindexk to 2.15nb9
  Updated textproc/mendexk to 2.6fnb7
2017-06-20 20:50:49 +00:00

77 lines
2.5 KiB
Makefile

# $NetBSD: Makefile,v 1.62 2017/06/20 20:50:50 markd Exp $
DISTNAME= texlive-20170524-source
PKGNAME= xetex-0.99997
CATEGORIES= print
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2017/
EXTRACT_SUFX= .tar.xz
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://www.tug.org/xetex/
COMMENT= TeX system with Unicode and modern font technologies
CONFLICTS+= web2c<=7.5.7
DEPENDS+= dvipdfmx>=20140525:../../print/dvipdfmx
EXTRACT_ELEMENTS= ${DISTNAME}/build-aux \
${DISTNAME}/libs/graphite2 \
${DISTNAME}/libs/harfbuzz \
${DISTNAME}/libs/xpdf \
${DISTNAME}/texk/web2c
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++11
USE_LIBTOOL= yes
USE_TOOLS+= gmake lex perl pkg-config yacc
CONFIGURE_ARGS+= --disable-aleph --disable-etex --disable-pdftex \
--disable-luatex --disable-mf --disable-mf-nowin \
--with-x=no \
--disable-luajittex \
--disable-mflua --disable-mfluajit \
--disable-mp --disable-pmp --disable-upmp \
--disable-ptex --disable-eptex --disable-uptex --disable-euptex \
--disable-web-progs \
--enable-web2c --enable-xetex
CONFIGURE_ARGS+= --with-system-poppler
CONFIGURE_ARGS+= \
--with-fontconfig-includes=${BUILDLINK_PREFIX.fontconfig}/include \
--with-fontconfig-libdir=${BUILDLINK_PREFIX.fontconfig}/lib
CONFIGURE_ARGS+= --with-system-kpathsea
CONFIGURE_ARGS+= --with-system-zlib \
--with-zlib-includes=${BUILDLINK_PREFIX.zlib}/include \
--with-zlib-libdir=${BUILDLINK_PREFIX.zlib}/lib
CONFIGURE_ARGS+= --with-system-libpng
CONFIGURE_ARGS+= --with-system-freetype2
CONFIGURE_ARGS+= --with-system-teckit
CONFIGURE_ARGS+= --with-system-icu
CONFIGURE_DIRS= libs/graphite2
CONFIGURE_DIRS+= libs/harfbuzz
CONFIGURE_DIRS+= libs/xpdf
CONFIGURE_DIRS+= texk/web2c
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Setting paths to commands.
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= texk/web2c/xetexdir/XeTeX_ext.c
SUBST_SED.paths= -e 's,@XDVIPDFMX@,${LOCALBASE}/bin/xdvipdfmx,g'
INSTALLATION_DIRS+= bin
CFLAGS.SunOS+= -std=gnu99 -D_XOPEN_SOURCE_EXTENDED=0
.include "../../converters/TECkit/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
BUILDLINK_API_DEPENDS.kpathsea+= kpathsea>=6.2.1
.include "../../print/kpathsea/buildlink3.mk"
.include "../../print/poppler/buildlink3.mk"
.include "../../print/poppler-includes/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/texk/web2c/xetex ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"