diff options
author | minskim <minskim@pkgsrc.org> | 2012-07-09 01:51:34 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2012-07-09 01:51:34 +0000 |
commit | 8a99ec7b8dfd8f21d26177e94b7c3d5484db37f4 (patch) | |
tree | afa637ed2604eb2bbbd49d2cb8dfb99f2ab695bf /print | |
parent | 6b1af2597ef29e6d25807c6e62223eb22511a010 (diff) | |
download | pkgsrc-8a99ec7b8dfd8f21d26177e94b7c3d5484db37f4.tar.gz |
Use the absolute path in invoking xdvipdfmx.
Diffstat (limited to 'print')
-rw-r--r-- | print/xetex/Makefile | 13 | ||||
-rw-r--r-- | print/xetex/distinfo | 3 | ||||
-rw-r--r-- | print/xetex/patches/patch-xetexdir_XeTeX__ext.c | 13 |
3 files changed, 26 insertions, 3 deletions
diff --git a/print/xetex/Makefile b/print/xetex/Makefile index fe8fb1157fe..bd915c66b9d 100644 --- a/print/xetex/Makefile +++ b/print/xetex/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.9 2012/03/21 22:32:34 markd Exp $ +# $NetBSD: Makefile,v 1.10 2012/07/09 01:51:34 minskim Exp $ DISTNAME= texlive-20110705-source PKGNAME= xetex-0.9997.5 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/texlive/Source/} EXTRACT_SUFX= .tar.xz @@ -12,6 +12,7 @@ HOMEPAGE= http://www.tug.org/xetex/ COMMENT= TeX system with Unicode and modern font technologies CONFLICTS+= web2c<=7.5.7 +DEPENDS+= xdvipdfmx-[0-9]*:../../print/xdvipdfmx EXTRACT_ELEMENTS= ${DISTNAME}/build-aux \ ${DISTNAME}/libs/graphite ${DISTNAME}/libs/icu \ @@ -54,6 +55,14 @@ CONFIGURE_DIRS= ${WRKDIR}/${DISTNAME}/libs/graphite \ ${WRKDIR}/${DISTNAME}/libs/obsdcompat \ ${WRKDIR}/${DISTNAME}/texk/web2c +EVAL_PREFIX+= XDVIPDFMX_PREFIX=xdvipdfmx + +SUBST_CLASSES+= paths +SUBST_MESSAGE.paths= Setting paths to commands. +SUBST_STAGE.paths= pre-configure +SUBST_FILES.paths= xetexdir/XeTeX_ext.c +SUBST_SED.paths= -e 's,@XDVIPDFMX@,${XDVIPDFMX_PREFIX}/bin/xdvipdfmx,g' + INSTALLATION_DIRS+= bin .include "../../mk/bsd.prefs.mk" diff --git a/print/xetex/distinfo b/print/xetex/distinfo index 05dedf94e0c..a3969b26402 100644 --- a/print/xetex/distinfo +++ b/print/xetex/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.7 2012/03/22 09:05:46 tron Exp $ +$NetBSD: distinfo,v 1.8 2012/07/09 01:51:34 minskim Exp $ SHA1 (texlive-20110705-source.tar.xz) = 7a47cfe847801c86c98da8ade181baf97339f6e4 RMD160 (texlive-20110705-source.tar.xz) = fbcad494cc4717a0238ab2624f259270fce9332b Size (texlive-20110705-source.tar.xz) = 131207904 bytes SHA1 (patch-texk_web2c_xetexdir_xetex.ch) = 7165868d56f2e23f60f3f80fbb69769784f61f53 +SHA1 (patch-xetexdir_XeTeX__ext.c) = 0776f085c3d37c20de42e889e2a996d9d76ce1af diff --git a/print/xetex/patches/patch-xetexdir_XeTeX__ext.c b/print/xetex/patches/patch-xetexdir_XeTeX__ext.c new file mode 100644 index 00000000000..0ac068eab68 --- /dev/null +++ b/print/xetex/patches/patch-xetexdir_XeTeX__ext.c @@ -0,0 +1,13 @@ +$NetBSD: patch-xetexdir_XeTeX__ext.c,v 1.1 2012/07/09 01:51:34 minskim Exp $ + +--- xetexdir/XeTeX_ext.c.orig 2011-02-25 11:49:36.000000000 +0000 ++++ xetexdir/XeTeX_ext.c +@@ -182,7 +182,7 @@ const UInt32 byteMark = 0x00000080UL; + + /* if the user specifies a paper size or output driver program */ + const char *papersize; +-const char *outputdriver = "xdvipdfmx -q -E"; /* default to portable xdvipdfmx driver */ ++const char *outputdriver = "@XDVIPDFMX@ -q -E"; /* default to portable xdvipdfmx driver */ + + + void initversionstring(char **versions) |