62a4ba308b
pdfTEX: Support JPEG Exif as well as JFIF; do not even emit a warning if \pdfinclusionerrorlevel is negative; sync with xpdf 3.04. LuaTEX: New library newtokenlib for scanning tokens; bug fixes in the normal random number generator and other places. XeTEX: Image handling fixes; xdvipdfmx binary looked for first as a sibling to xetex; internal XDV opcodes changed. MetaPost: New numbersystem binary; new Japanese-enabled upmpost and updvitomp programs, analogous to up*tex. Infrastructure: The fmtutil script has been reimplemented to read fmtutil.cnf on a per-tree basis, analogous to updmap. Web2C mktex* scripts (including mktexlsr, mktextfm, mktexpk) now prefer programs in their own directory, instead of always using the existing PATH.
61 lines
2.1 KiB
Makefile
61 lines
2.1 KiB
Makefile
# $NetBSD: Makefile,v 1.47 2015/06/14 12:50:00 markd Exp $
|
|
|
|
DISTNAME= texlive-20150521-source
|
|
PKGNAME= dvipdfmx-20150315
|
|
CATEGORIES= print converters
|
|
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2015/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= http://project.ktug.or.kr/dvipdfmx/
|
|
COMMENT= DVI to PDF converter with CID-keyed font support
|
|
|
|
CONFLICTS+= dvipdfm-[0-9]*
|
|
CONFLICTS+= ja-dvipdfm-[0-9]*
|
|
CONFLICTS+= xdvipdfm-[0-9]*
|
|
DEPENDS+= tex-dvipdfmx-[0-9]*:../../print/tex-dvipdfmx
|
|
DEPENDS+= tex-pdftex-[0-9]*:../../print/tex-pdftex
|
|
DEPENDS+= tex-texlive-scripts-[0-9]*:../../print/tex-texlive-scripts
|
|
|
|
EXTRACT_ELEMENTS= ${DISTNAME}/build-aux \
|
|
${DISTNAME}/texk/dvipdfm-x
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= pkg-config
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/texk/dvipdfm-x
|
|
|
|
CONFIG_GUESS_OVERRIDE+= ${WRKDIR}/${DISTNAME}/build-aux/config.guess
|
|
CONFIG_SUB_OVERRIDE+= ${WRKDIR}/${DISTNAME}/build-aux/config.sub
|
|
|
|
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-libpaper \
|
|
--with-libpaper-includes=${BUILDLINK_PREFIX.libpaper}/include \
|
|
--with-libpaper-libdir=${BUILDLINK_PREFIX.libpaper}/lib
|
|
|
|
PKG_SYSCONFSUBDIR= texmf
|
|
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/dvipdfmx
|
|
CONF_FILES= ${PREFIX}/share/texmf-dist/dvipdfmx/dvipdfmx.cfg \
|
|
${PKG_SYSCONFDIR}/dvipdfmx/dvipdfmx.cfg
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_MESSAGE.paths= Setting paths to commands.
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths= data/dvipdfmx.cfg src/dvipdft
|
|
SUBST_SED.paths= -e 's,@DVIPDFM@,${PREFIX}/bin/dvipdfm,g'
|
|
SUBST_SED.paths+= -e 's,@RUNGS@,${LOCALBASE}/bin/rungs,g'
|
|
|
|
TEX_TEXMF_DIRS+= ${PKG_SYSCONFDIR}
|
|
TEX_TEXMF_DIRS+= ${PREFIX}/share/texmf-dist
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.kpathsea+= kpathsea>=6.2.1
|
|
.include "../../print/kpathsea/buildlink3.mk"
|
|
.include "../../print/kpathsea/texmf.mk"
|
|
.include "../../print/libpaper/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|