pkgsrc/print/luatex/Makefile

117 lines
2.9 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.7 2010/09/13 04:11:52 minskim Exp $
DISTNAME= luatex-beta-0.63.0
PKGNAME= ${DISTNAME:S/-beta//}
CATEGORIES= print
MASTER_SITES= http://foundry.supelec.fr/gf/download/frsrelease/382/1568/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://www.luatex.org/
COMMENT= Extended version of pdfTeX using Lua
PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS+= web2c<=7.5.7nb3
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
2009-09-20 01:08:16 +02:00
USE_LIBTOOL= yes
USE_TOOLS+= gmake
WRKSRC= ${WRKDIR}/${DISTNAME}/source
CONFIGURE_ARGS+=--enable-cxx-runtime-hack \
2009-06-10 04:06:46 +02:00
--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 \
2009-06-10 04:06:46 +02:00
--disable-makeindexk \
--disable-mf \
--disable-mmafm \
--disable-mmpfb \
--enable-mp \
2009-06-10 04:06:46 +02:00
--disable-musixflx \
--disable-otfinfo \
--disable-otftotfm \
--disable-pdfopen \
--disable-pdftex \
--disable-ptex \
2009-06-10 04:06:46 +02:00
--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 \
--without-system-freetype2 \
--without-system-gd \
--without-system-teckit \
--without-system-t1lib \
--without-x \
--disable-native-texlive-build \
2009-06-10 04:06:46 +02:00
--disable-shared \
--disable-largefile
CONFIGURE_ARGS+=--with-system-kpathsea \
--with-kpathsea-includes=${BUILDLINK_PREFIX.kpathsea}/include \
--with-kpathsea-libdir=${BUILDLINK_PREFIX.kpathsea}/lib
CONFIGURE_ARGS+=--with-system-libpng \
--with-libpng-include=${BUILDLINK_PREFIX.png}/include \
--with-libpng-libdir=${BUILDLINK_PREFIX.png}/lib
CONFIGURE_ARGS+=--with-system-zlib \
--with-zlib-include=${BUILDLINK_PREFIX.zlib}/include \
--with-zlib-libdir=${BUILDLINK_PREFIX.zlib}/lib
2009-09-20 01:08:16 +02:00
CONFIGURE_DIRS+=. ./texk/web2c
Update luatex to 0.40.6. Changes since 0.40.2: * Fix two string vs. toks bugs in the lua node interface: whatsit,annot and whatsit,startlink data assignments were made directly as strings instead of being converted to tokens. * Sometimes pdf.print() could be used before the proper structures were initialized. * There was a bug in the type codes for the lua package filter callback: wrong extra info was passed to lua for the alignment and vsplit cases. * The math parameters \Umathlimitdownvgap, \Umathlimitdownbgap, and \Umathlimitdownkern have been renamed to \Umathlimitbelowbgap, \Umathlimitbelowvgap, and \Umathlimitbelowkern to be more consistent with the other parameter names. * The embedded MPlib is now 1.204. * Handling of UTF-8 hyphenation exceptions has been fixed. * There were a number of typos in the manual. * One of the internal print functions accidentally encoded its argument string to UTF-8 even though it was already UTF-8. * Some of the log and terminal UTF-8 output was gibberish. * \the\textfont0 returned a number instead of doing a font switch. * A set of portability fixes for the AIX compiler from Vladimir Volovich. * A set of fixes to the synctex support. * A patch to the build script to prevent installed X11 headers from being required. * Some weave (web syntax) fixes from Manuel Pégourié-Gonnard. * A simplification in luatex.ch (it is now less verbose about the web2c-specific extensions) from Karl Berry. * A fix in the handling of UTF-8 (input) file names. * Hyphenation exceptions were case sensitive in 0.40.2.
2010-01-16 04:19:07 +01:00
MAKE_FLAGS+= LIBTOOL=${LIBTOOL:Q}
CFLAGS+= -DLUA_ROOT=\"${PREFIX}/\"
INSTALLATION_DIRS+= bin
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../print/kpathsea/buildlink3.mk"
post-extract:
${RM} -rf ${WRKSRC}/texk/kpathsea
do-install:
.for f in luatex
Update luatex to 0.40.6. Changes since 0.40.2: * Fix two string vs. toks bugs in the lua node interface: whatsit,annot and whatsit,startlink data assignments were made directly as strings instead of being converted to tokens. * Sometimes pdf.print() could be used before the proper structures were initialized. * There was a bug in the type codes for the lua package filter callback: wrong extra info was passed to lua for the alignment and vsplit cases. * The math parameters \Umathlimitdownvgap, \Umathlimitdownbgap, and \Umathlimitdownkern have been renamed to \Umathlimitbelowbgap, \Umathlimitbelowvgap, and \Umathlimitbelowkern to be more consistent with the other parameter names. * The embedded MPlib is now 1.204. * Handling of UTF-8 hyphenation exceptions has been fixed. * There were a number of typos in the manual. * One of the internal print functions accidentally encoded its argument string to UTF-8 even though it was already UTF-8. * Some of the log and terminal UTF-8 output was gibberish. * \the\textfont0 returned a number instead of doing a font switch. * A set of portability fixes for the AIX compiler from Vladimir Volovich. * A set of fixes to the synctex support. * A patch to the build script to prevent installed X11 headers from being required. * Some weave (web syntax) fixes from Manuel Pégourié-Gonnard. * A simplification in luatex.ch (it is now less verbose about the web2c-specific extensions) from Karl Berry. * A fix in the handling of UTF-8 (input) file names. * Hyphenation exceptions were case sensitive in 0.40.2.
2010-01-16 04:19:07 +01:00
${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"