summaryrefslogtreecommitdiff
path: root/print/dvipdfmx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/dvipdfmx/Makefile')
-rw-r--r--print/dvipdfmx/Makefile35
1 files changed, 14 insertions, 21 deletions
diff --git a/print/dvipdfmx/Makefile b/print/dvipdfmx/Makefile
index c7ddfcb37cd..886fac2ba38 100644
--- a/print/dvipdfmx/Makefile
+++ b/print/dvipdfmx/Makefile
@@ -1,14 +1,13 @@
-# $NetBSD: Makefile,v 1.50 2018/05/13 12:29:00 markd Exp $
+# $NetBSD: Makefile,v 1.51 2019/05/09 09:47:35 adam Exp $
-DISTNAME= texlive-20180414-source
-PKGNAME= dvipdfmx-20180217
+.include "../../print/texlive/Makefile.common"
+
+PKGNAME= dvipdfmx-20190225
CATEGORIES= print converters
-MASTER_SITES= ftp://tug.org/historic/systems/texlive/2018/
-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
+LICENSE= gnu-gpl-v2
CONFLICTS+= dvipdfm-[0-9]*
CONFLICTS+= ja-dvipdfm-[0-9]*
@@ -17,24 +16,18 @@ 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
+EXTRACT_ELEMENTS+= ${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-zlib
+CONFIGURE_ARGS+= --with-zlib-includes=${BUILDLINK_PREFIX.zlib}/include
+CONFIGURE_ARGS+= --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
+CONFIGURE_ARGS+= --with-system-libpaper
+CONFIGURE_ARGS+= --with-libpaper-includes=${BUILDLINK_PREFIX.libpaper}/include
+CONFIGURE_ARGS+= --with-libpaper-libdir=${BUILDLINK_PREFIX.libpaper}/lib
PKG_SYSCONFSUBDIR= texmf
@@ -47,13 +40,13 @@ 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'
+SUBST_SED.paths+= -e 's,@RUNGS@,${PREFIX}/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"
+.include "../../graphics/png/buildlink3.mk"
BUILDLINK_API_DEPENDS.kpathsea+= kpathsea>=6.2.1
.include "../../print/kpathsea/buildlink3.mk"
.include "../../print/kpathsea/texmf.mk"