aboutsummaryrefslogtreecommitdiff
path: root/japanese/ptex/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/ptex/Makefile')
-rw-r--r--japanese/ptex/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/japanese/ptex/Makefile b/japanese/ptex/Makefile
index ee7d117cf851..5219d8fa0b67 100644
--- a/japanese/ptex/Makefile
+++ b/japanese/ptex/Makefile
@@ -6,7 +6,7 @@
PORTNAME= ptex
PORTVERSION= 3.1.9
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= japanese print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/tetex/:1 \
@@ -106,7 +106,9 @@ post-extract:
${MKDIR} ${WRKDIR}/texmf-tmp
cd ${WRKDIR} && \
${MV} ${INSTDIRS} texmf-tmp && \
- ${RM} -f texmf-tmp/ptex/platex/base/.cvsignore
+ ${RM} -f texmf-tmp/ptex/platex/base/.cvsignore && \
+ ${FIND} texmf-tmp -type d | ${XARGS} ${CHMOD} 755 && \
+ ${FIND} texmf-tmp -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
pre-configure:
${SETENV} ${MAKE_ENV} ${MKTEXLSR} ${WRKDIR}/texmf-tmp