aboutsummaryrefslogtreecommitdiff
path: root/graphics/blender-doc
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-11-02 22:45:14 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-11-02 22:45:14 +0000
commitd26ef18700dca59c35dc940097bf7b3db1369965 (patch)
treeadf234bd1f2e56ae130e9960e1467b64c9fa0ed6 /graphics/blender-doc
parent23211342637a054575d9dc1935d00c038cb6545f (diff)
downloadports-d26ef18700dca59c35dc940097bf7b3db1369965.tar.gz
ports-d26ef18700dca59c35dc940097bf7b3db1369965.zip
Cleanup no longer needed CHMOD usage after r424898.
PR: 213743 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=425174
Diffstat (limited to 'graphics/blender-doc')
-rw-r--r--graphics/blender-doc/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/graphics/blender-doc/Makefile b/graphics/blender-doc/Makefile
index b4d15fe83f14..238be4d60a0c 100644
--- a/graphics/blender-doc/Makefile
+++ b/graphics/blender-doc/Makefile
@@ -17,9 +17,15 @@ NO_ARCH= yes
SUB_FILES= pkg-message
+.include <bsd.port.pre.mk>
+
post-extract:
- @${CHMOD} u+rwx ${WRKSRC}/* && ${CHMOD} u+rwx ${WRKSRC}/*/* && \
- ${CHMOD} u+rwx ${WRKSRC}/*/*/* && ${CHMOD} u+rwx ${WRKSRC}/*/*/*/*
+.if ${OSVERSION} < 1100077
+# chmod -R bug.
+# Do not use "-exec ... +", because of the same bug, it will not work.
+ @${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
+.endif
+
@cd ${WRKSRC}/htmlI/PartAT/volumetrics/gfx/ && \
${RM} -r "Nuova cartella" "Nuova cartella (2)"
@@ -27,4 +33,4 @@ do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC}/&&${COPYTREE_SHARE} "htmlI htmlII" ${STAGEDIR}${DOCSDIR}/
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>