aboutsummaryrefslogtreecommitdiffstats
path: root/print/tex-xetex
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-07-05 01:35:18 +0800
committerbapt <bapt@FreeBSD.org>2014-07-05 01:35:18 +0800
commita4feb108b22468959fe7c7b4b9ddab2531e4dd31 (patch)
tree1f86cc582c2ad43d4c632315c51db0626c5a1005 /print/tex-xetex
parent1d245abad7f7ebc0d6a9c1b86a9c4a29dfad1f5b (diff)
downloadfreebsd-ports-gnome-a4feb108b22468959fe7c7b4b9ddab2531e4dd31.tar.gz
freebsd-ports-gnome-a4feb108b22468959fe7c7b4b9ddab2531e4dd31.tar.zst
freebsd-ports-gnome-a4feb108b22468959fe7c7b4b9ddab2531e4dd31.zip
Support stage for texlive, given it is impossible to rebuild the fmt files into
the stage then they are now rebuild in post-installation, like it is done in other package system
Diffstat (limited to 'print/tex-xetex')
-rw-r--r--print/tex-xetex/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/print/tex-xetex/Makefile b/print/tex-xetex/Makefile
index 38d4043d2661..0751d1167032 100644
--- a/print/tex-xetex/Makefile
+++ b/print/tex-xetex/Makefile
@@ -33,7 +33,7 @@ EXTRACT_FILES= \
libs/harfbuzz \
texk/web2c
EXTRACT_AFTER_ARGS_TEXMF= \
- | ${TAR} -xf - -C ${PREFIX}/share \
+ | ${TAR} -xf - -C ${STAGEDIR}${PREFIX}/share \
--strip-components 1 --no-same-permission --no-same-owner \
${EXTRACT_FILES_TEXMF:S,^,${DISTNAME_TEXMF}/,}
DISTNAME_TEXMF= texlive-20120701-texmf
@@ -79,14 +79,14 @@ CFLAGS+= -I${LOCALBASE}/include
MAKE_JOBS_UNSAFE= yes
TEX_FORMATS= xetex
-NO_STAGE= yes
pre-configure:
for D in libs/harfbuzz libs/xpdf; do \
cd ${WRKDIR}/${DISTNAME}/$$D && \
${SETENV} ${CONFIGURE_ENV} ${SH} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; \
done
-pre-su-install:
+pre-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share
${CAT} ${DISTDIR}/${DIST_SUBDIR}/texlive-20120701-texmf${EXTRACT_SUFX} \
${EXTRACT_AFTER_ARGS_TEXMF}