aboutsummaryrefslogtreecommitdiff
path: root/japanese/tex-ptex
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-07-04 17:35:18 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-07-04 17:35:18 +0000
commit2a0b64c7341e1c013ce6958160a24e2452a4c6c9 (patch)
tree1f86cc582c2ad43d4c632315c51db0626c5a1005 /japanese/tex-ptex
parent55ba0a2277c2739f61cf1f464a7051fadb36a60c (diff)
downloadports-2a0b64c7341e1c013ce6958160a24e2452a4c6c9.tar.gz
ports-2a0b64c7341e1c013ce6958160a24e2452a4c6c9.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
Notes
Notes: svn path=/head/; revision=360642
Diffstat (limited to 'japanese/tex-ptex')
-rw-r--r--japanese/tex-ptex/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/japanese/tex-ptex/Makefile b/japanese/tex-ptex/Makefile
index 4335fbfcc52d..6c84adc438ad 100644
--- a/japanese/tex-ptex/Makefile
+++ b/japanese/tex-ptex/Makefile
@@ -2,7 +2,7 @@
PORTNAME= ptex
PORTVERSION= 3.3
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= japanese print
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2012/
PKGNAMEPREFIX= ja-tex-
@@ -24,7 +24,7 @@ EXTRACT_FILES= \
libs/xpdf \
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}/,}
DISTVERSION_TEXLIVE= 20120701
@@ -89,14 +89,13 @@ CFLAGS+= -I${LOCALBASE}/include
MAKE_JOBS_UNSAFE= yes
TEX_FORMATS= ptex uptex
-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_TEXLIVE}-texmf${EXTRACT_SUFX} \
${EXTRACT_AFTER_ARGS_TEXMF}