pkgsrc/print/luatex/Makefile
minskim d96517c9fb Update luatex to 0.76.0.
Changes since 0.70.1:
    * Metapost 1.801.
    * Small patches from TeXLive 2013, as well as an update to the
      latest libraries (libpng, poppler, etc.)
    * Speed up printing (of TeX strings) to the terminal and log.
    * New lua function node.end_of_math().
    * Fixed a memory leak in the lua function pdfscanner.scan().
    * New expandable primitive \Uchar.
    * New version of lnodelib.c with speedups by Hans and Luigi.
      Also added some extra sanity checks to the Lua node field
      setting functions.
    * Support 'umath' in tex.extraprimitives(), so that formats can
      make the \Umath* primitives unprefixed, now that they will be
      provided by XeTeX as well.
    * Removed a bunch of deprecated primitives
      * \AlephVersion, \Alephrevision, \Alephversion, \Alephminorversion
      * \OmegaVersion, \Omegarevision, \Omegaversion, \Omegaminorversion
      * \omathcode, \odelcode, \omathchardef, \omathchar, \omathaccent,
        \odelimiter, \oradical
      * \Umathbotaccent, \Umathaccents
    * Fix large file support.
    * Fix Lua's loadfile().
    * Removed the cidmap callbacks again (let that be done by user lua
      code after the fact).
    * Removed the fatal error on fonts where num_glyphs is too high,
      as that problem is actually harmless.
    * Some compilation issues under Win32 and Solaris resolved.
    * Allow math extender objects to be zero width.
    * The 'epdf' library has been extended to deal with finding and
      saving embedded files (catalog:numEmbeddedFiles() and catalog:
      embeddedFile, new EmbFile object).
    * lua 5.2
      There are no patches to the core Lua files; a future version
      of luatex will switch to loading the regular lua 5.2 dynamic
      library instead of depending on a statically compiled
      one.
    * A bleeding-edge version of luasocket is included, as there
      is no 5.2-compatible official release yet.
    * A new lua extension is the two-argument version of
      string.dump from Luajit.
    * Two new callbacks: find_cidmap_file and load_cidmap_file
    * update various used libraries.
    * new 'pdfscanner' lua library.
    * various OpenType math fixes, including \Umathcharnumdef.
    * improved placement of bottom accents.
    * various other small fixes.
2013-11-17 17:02:09 +00:00

133 lines
3.5 KiB
Makefile

# $NetBSD: Makefile,v 1.26 2013/11/17 17:02:09 minskim Exp $
DISTNAME= luatex-beta-0.76.0-source
PKGNAME= ${DISTNAME:S/-beta//:S/-source//}
CATEGORIES= print
MASTER_SITES= https://foundry.supelec.fr/frs/download.php/file/15745/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://www.luatex.org/
COMMENT= Extended version of pdfTeX using Lua
LICENSE= gnu-gpl-v2
MAKE_JOBS_SAFE=no
CONFLICTS+= web2c<=7.5.7nb3
DEPENDS+= kpathsea>=6.0.1:../../print/kpathsea
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
WRKSRC= ${WRKDIR}/${DISTNAME:S/-source//}/source
CONFIGURE_ARGS+=--enable-build-in-source-tree \
--enable-cxx-runtime-hack \
--disable-afm2pl \
--disable-aleph \
--disable-bibtex \
--disable-bibtex8 \
--disable-cfftot1 \
--disable-cjkutils \
--disable-detex \
--disable-devnag \
--disable-dialog \
--disable-dtl \
--enable-dump-share \
--disable-dvi2tty \
--disable-dvidvi \
--disable-dviljk \
--disable-dvipdfm \
--disable-dvipdfmx \
--disable-dvipos \
--disable-dvipsk \
--disable-gsftopk \
--disable-lacheck \
--disable-lcdf-typetools \
--enable-luatex \
--disable-makeindexk \
--disable-mf \
--disable-mmafm \
--disable-mmpfb \
--enable-mp \
--disable-musixflx \
--disable-otfinfo \
--disable-otftotfm \
--disable-pdfopen \
--disable-pdftex \
--disable-ptex \
--disable-ps2eps \
--disable-ps2pkm \
--disable-psutils \
--disable-seetexk \
--disable-t1dotlessj \
--disable-t1lint \
--disable-t1rawafm \
--disable-t1reencode \
--disable-t1testpage \
--disable-t1utils \
--disable-tex \
--disable-tex4htk \
--disable-tpic2pdftex \
--disable-ttf2pk \
--disable-ttfdump \
--disable-ttftotype42 \
--disable-vlna \
--disable-web-progs \
--disable-xdv2pdf \
--disable-xdvipdfmx \
--disable-xetex \
--with-system-freetype2 \
--without-system-gd \
--without-system-teckit \
--without-system-t1lib \
--without-x \
--disable-native-texlive-build \
--disable-shared \
--disable-largefile
CONFIGURE_ARGS+=--with-system-cairo
CONFIGURE_ARGS+=--with-system-kpathsea \
--with-kpathsea-includes=${BUILDLINK_PREFIX.kpathsea}/include \
--with-kpathsea-libdir=${BUILDLINK_PREFIX.kpathsea}/lib
CONFIGURE_ARGS+=--with-system-libpng
CONFIGURE_ARGS+=--with-system-pixman
CONFIGURE_ARGS+=--with-system-poppler
CONFIGURE_ARGS+=--with-system-zlib \
--with-zlib-include=${BUILDLINK_PREFIX.zlib}/include \
--with-zlib-libdir=${BUILDLINK_PREFIX.zlib}/lib
CONFIGURE_ARGS+=--with-system-zziplib
CONFIGURE_DIRS+=. texk/web2c
MAKE_FLAGS+= LIBTOOL=${LIBTOOL:Q}
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= post-configure
SUBST_FILES.prefix= texk/web2c/luatexdir/lua51/luaconf.h
SUBST_VARS.prefix= PREFIX
INSTALLATION_DIRS+= bin
.include "../../archivers/zziplib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../print/kpathsea/buildlink3.mk"
.include "../../print/poppler-includes/buildlink3.mk"
.include "../../print/poppler/buildlink3.mk"
.include "../../x11/pixman/buildlink3.mk"
post-extract:
${RM} -rf ${WRKSRC}/libs/zziplib
${RM} -rf ${WRKSRC}/texk/kpathsea
${ECHO} '#define luatex_svn_revision 4630' \
> ${WRKSRC}/texk/web2c/luatexdir/luatex_svnversion.h
do-install:
.for f in luatex
${INSTALL_PROGRAM} ${WRKSRC}/texk/web2c/${f} ${DESTDIR}${PREFIX}/bin
.endfor
.for f in texlua texluac
${LN} -s luatex ${DESTDIR}${PREFIX}/bin/${f}
.endfor
.include "../../mk/bsd.pkg.mk"