From 3c05155a1a641a12432e3516f9108a61cf9d52f9 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Wed, 19 Feb 2014 09:55:25 +0000 Subject: [PATCH] Support staging --- devel/ocaml-camomile-examples/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/devel/ocaml-camomile-examples/Makefile b/devel/ocaml-camomile-examples/Makefile index 31f8e00e4770..54bb6b864e6e 100644 --- a/devel/ocaml-camomile-examples/Makefile +++ b/devel/ocaml-camomile-examples/Makefile @@ -17,12 +17,11 @@ NO_BUILD= yes USE_BZIP2= yes EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME} -NO_STAGE= yes do-install: - @${MKDIR} ${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @${TAR} -cf- -C ${WRKSRC} . | \ - ${TAR} -xf- -C ${EXAMPLESDIR} - @${FIND} ${EXAMPLESDIR} -type f -exec ${CHMOD} ${SHAREMODE} {} \; - @${FIND} ${EXAMPLESDIR} -exec ${CHOWN} ${SHAREOWN} {} \; + ${TAR} -xf- -C ${STAGEDIR}${EXAMPLESDIR} + @${FIND} ${STAGEDIR}${EXAMPLESDIR} -type f -exec ${CHMOD} ${SHAREMODE} {} \; + @${FIND} ${STAGEDIR}${EXAMPLESDIR} -exec ${CHOWN} ${SHAREOWN} {} \; .include