diff options
| author | Antoine Brodin <antoine@FreeBSD.org> | 2014-11-14 11:30:42 +0000 |
|---|---|---|
| committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-11-14 11:30:42 +0000 |
| commit | 4f04fe3206857546e93019da80e9f07fc851afc3 (patch) | |
| tree | bcab0f981d7841f070997f3f3ad99d0aaf3dc4f4 /java/eclipse/Makefile | |
| parent | Cleanup plist (diff) | |
Cleanup plist
Notes
Notes:
svn path=/head/; revision=372556
Diffstat (limited to 'java/eclipse/Makefile')
| -rw-r--r-- | java/eclipse/Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/java/eclipse/Makefile b/java/eclipse/Makefile index 58bdb775f340..9193fb1081c1 100644 --- a/java/eclipse/Makefile +++ b/java/eclipse/Makefile @@ -112,16 +112,11 @@ do-install: ${INSTALL_SCRIPT} ${BUILD_WRKSRC}/eclipse.tmp ${STAGEDIR}${PREFIX}/bin/eclipse @(cd ${STAGEDIR}${PREFIX}; ${FIND} -s lib/eclipse -not -type d) >> ${TMPPLIST} @(cd ${STAGEDIR}${PREFIX}; ${FIND} -s bin/eclipse -not -type d) >> ${TMPPLIST} - @(cd ${STAGEDIR}${PREFIX}; ${FIND} -s -d lib/eclipse -type d) | ${SED} -ne "s,^,@dirrm ,p" >> ${TMPPLIST} - @${ECHO_CMD} "@exec ${MKDIR} %D/lib/eclipse/dropins > /dev/null || ${TRUE}" >> ${TMPPLIST} - @${ECHO_CMD} "@exec ${MKDIR} %D/share/eclipse/dropins > /dev/null || ${TRUE}" >> ${TMPPLIST} + @(cd ${STAGEDIR}${PREFIX}; ${FIND} -s -d lib/eclipse -type d -empty) | ${SED} -ne "s,^,@dir ,p" >> ${TMPPLIST} @${ECHO_CMD} "@exec echo '-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=%D/share/eclipse/dropins' >> %D/lib/eclipse/eclipse.ini" >> ${TMPPLIST} @${ECHO_CMD} "@unexec ${SED} -i '' '/^-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/d' %D/lib/eclipse/eclipse.ini" >> ${TMPPLIST} - @${ECHO_CMD} "@dirrm share/eclipse/dropins" >> ${TMPPLIST} - @${ECHO_CMD} "@dirrm share/eclipse" >> ${TMPPLIST} - -post-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/share/eclipse/dropins + ${MKDIR} ${STAGEDIR}${PREFIX}/share/eclipse/dropins + @${ECHO_CMD} "@dir share/eclipse/dropins" >> ${TMPPLIST} distclean: ${RM} -rf ${DISTDIR}/eclipse |
