summaryrefslogtreecommitdiffstats
path: root/devel/ocaml-camomile-examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ocaml-camomile-examples/Makefile')
-rw-r--r--devel/ocaml-camomile-examples/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/devel/ocaml-camomile-examples/Makefile b/devel/ocaml-camomile-examples/Makefile
index bda49f3..092ca01 100644
--- a/devel/ocaml-camomile-examples/Makefile
+++ b/devel/ocaml-camomile-examples/Makefile
@@ -19,9 +19,6 @@ EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME}
do-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- @${TAR} -cf- -C ${WRKSRC} . | \
- ${TAR} -xf- -C ${STAGEDIR}${EXAMPLESDIR}
- @${FIND} ${STAGEDIR}${EXAMPLESDIR} -type f -exec ${CHMOD} ${SHAREMODE} {} \;
- @${FIND} ${STAGEDIR}${EXAMPLESDIR} -exec ${CHOWN} ${SHAREOWN} {} \;
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
OpenPOWER on IntegriCloud