aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/cdk/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/cdk/Makefile b/devel/cdk/Makefile
index 0480e91e204..abf7390243d 100644
--- a/devel/cdk/Makefile
+++ b/devel/cdk/Makefile
@@ -37,8 +37,8 @@ post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}; \
- ${FIND} cli demos examples ! -type d \
- | ${PAX} -rw ${STAGEDIR}${EXAMPLESDIR}
+ ${COPYTREE_SHARE} "cli demos examples" \
+ ${STAGEDIR}${EXAMPLESDIR} "! -type d"
.endif
.include <bsd.port.mk>