4e5ed44976
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
61 lines
2.1 KiB
Makefile
61 lines
2.1 KiB
Makefile
# $NetBSD: Makefile,v 1.49 2017/06/20 20:50:49 markd Exp $
|
|
|
|
DISTNAME= texlive-20170524-source
|
|
PKGNAME= dvipdfmx-20170318
|
|
CATEGORIES= print converters
|
|
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2017/
|
|
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"
|