diff --git a/java/eclipse-ocl/Makefile b/java/eclipse-ocl/Makefile index 988e9d6d8b1e..316ae61306aa 100644 --- a/java/eclipse-ocl/Makefile +++ b/java/eclipse-ocl/Makefile @@ -24,14 +24,13 @@ USE_JAVA= yes JAVA_VERSION= 1.6+ JAVA_OS= native -NO_STAGE= yes do-install: - @${MKDIR} ${PREFIX}/lib/eclipse - @${CP} -r ${WRKSRC}/eclipse/plugins ${PREFIX}/lib/eclipse - @${CP} -r ${WRKSRC}/eclipse/features ${PREFIX}/lib/eclipse - @(cd ${WRKSRC}; ${FIND} -s eclipse/features eclipse/plugins -not -type d) | ${SED} -e 's,^eclipse,lib/eclipse,' >> ${TMPPLIST} - @(cd ${WRKSRC}; ${FIND} -s -d eclipse/features eclipse/plugins -type d) \ - | ${GREP} -vE 'eclipse/plugins$$|eclipse/features$$' \ - | ${SED} -ne 's,^,@dirrm lib/,p' >> ${TMPPLIST} + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/eclipse + @${CP} -r ${WRKSRC}/eclipse/plugins ${STAGEDIR}${PREFIX}/lib/eclipse + @${CP} -r ${WRKSRC}/eclipse/features ${STAGEDIR}${PREFIX}/lib/eclipse + @(cd ${WRKSRC}; ${FIND} -s eclipse/features eclipse/plugins -not -type d) | ${SED} -e 's,^eclipse,lib/eclipse,' >> ${TMPPLIST} + @(cd ${WRKSRC}; ${FIND} -s -d eclipse/features eclipse/plugins -type d) \ + | ${GREP} -vE 'eclipse/plugins$$|eclipse/features$$' \ + | ${SED} -ne 's,^,@dirrm lib/,p' >> ${TMPPLIST} .include