diff options
Diffstat (limited to 'graphics/blender-doc/Makefile')
-rw-r--r-- | graphics/blender-doc/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/graphics/blender-doc/Makefile b/graphics/blender-doc/Makefile index b4d15fe..238be4d 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> |