aboutsummaryrefslogtreecommitdiffstats
path: root/java/eclipse/Makefile
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-11-14 19:30:42 +0800
committerantoine <antoine@FreeBSD.org>2014-11-14 19:30:42 +0800
commit11107864972e536c4e7e2cb92e67459d2c87a985 (patch)
treebcab0f981d7841f070997f3f3ad99d0aaf3dc4f4 /java/eclipse/Makefile
parent681060f2aa03c39485ef5edb4b62e1544067caea (diff)
downloadfreebsd-ports-gnome-11107864972e536c4e7e2cb92e67459d2c87a985.tar.gz
freebsd-ports-gnome-11107864972e536c4e7e2cb92e67459d2c87a985.tar.zst
freebsd-ports-gnome-11107864972e536c4e7e2cb92e67459d2c87a985.zip
Cleanup plist
Diffstat (limited to 'java/eclipse/Makefile')
-rw-r--r--java/eclipse/Makefile11
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