aboutsummaryrefslogtreecommitdiffstats
path: root/print/tex-luatex
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-luatex
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-luatex')
-rw-r--r--print/tex-luatex/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/print/tex-luatex/Makefile b/print/tex-luatex/Makefile
index 2e5d429bfac0..557a67f086d6 100644
--- a/print/tex-luatex/Makefile
+++ b/print/tex-luatex/Makefile
@@ -2,7 +2,7 @@
PORTNAME= luatex
PORTVERSION= 0.70.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= print
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2012/
PKGNAMEPREFIX= tex-
@@ -31,7 +31,7 @@ EXTRACT_FILES= \
libs/obsdcompat \
libs/xpdf \
texk/web2c
-EXTRACT_AFTER_ARGS_TEXMF=| ${TAR} -xf - -C ${PREFIX}/share \
+EXTRACT_AFTER_ARGS_TEXMF=| ${TAR} -xf - -C ${STAGEDIR}${PREFIX}/share \
--strip-components 1 --no-same-permission --no-same-owner \
${EXTRACT_FILES_TEXMF:S,^,${DISTNAME_TEXMF}/,}
DISTVERSION_TEXMF=20120701
@@ -86,14 +86,13 @@ CFLAGS+= -I${LOCALBASE}/include
MAKE_JOBS_UNSAFE= yes
TEX_FORMATS= luatex
-NO_STAGE= yes
pre-configure:
for D in libs/obsdcompat libs/xpdf; do \
cd ${WRKDIR}/${DISTNAME}/$$D && \
${SETENV} ${CONFIGURE_ENV} ${SH} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; \
done
-pre-su-install:
+pre-install:
${CAT} ${DISTDIR}/${DIST_SUBDIR}/texlive-${DISTVERSION_TEXMF}-texmf${EXTRACT_SUFX} \
${EXTRACT_AFTER_ARGS_TEXMF}