aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/cdk/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/devel/cdk/Makefile b/devel/cdk/Makefile
index 9afb2ad8036d..a03c99e98ba4 100644
--- a/devel/cdk/Makefile
+++ b/devel/cdk/Makefile
@@ -35,15 +35,9 @@ post-patch:
post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
- ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/cli
- cd ${WRKSRC}/cli; \
- ${FIND} . | ${CPIO} -pdm -R ${LIBOWN}:${LIBGRP} ${STAGEDIR}${EXAMPLESDIR}/cli
- ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/demos
- cd ${WRKSRC}/demos; \
- ${FIND} . | ${CPIO} -pdm -R ${LIBOWN}:${LIBGRP} ${STAGEDIR}${EXAMPLESDIR}/demos
- ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/examples
- cd ${WRKSRC}/examples; \
- ${FIND} . | ${CPIO} -pdm -R ${LIBOWN}:${LIBGRP} ${STAGEDIR}${EXAMPLESDIR}/examples
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ cd ${WRKSRC}; \
+ ${FIND} cli demos examples | ${PAX} -rw ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>