1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

java/eclipse: Fix dropins location

The new 4.3.2 Eclipse port doesn't look for dropins in the "standard"
FreeBSD location (/usr/local/share/eclipse/dropins) as expected.  The
eclipse.ini file has been modified to make that happen.

PR:		191766
Submitted by:	maintainer (Jimmy Kelly)
This commit is contained in:
John Marino 2014-07-11 21:56:01 +00:00
parent 469ab7f8ac
commit 855d8ebe13
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361589

View File

@ -3,6 +3,7 @@
PORTNAME= eclipse PORTNAME= eclipse
PORTVERSION= 4.3.2 PORTVERSION= 4.3.2
PORTREVISION= 1
CATEGORIES= java devel CATEGORIES= java devel
MASTER_SITES= https://googledrive.com/host/0B2kYpXHnC5LpSk01bU1ud0N5bXc/ MASTER_SITES= https://googledrive.com/host/0B2kYpXHnC5LpSk01bU1ud0N5bXc/
DISTFILES= eclipse.platform.releng.aggregator-${PORTVERSION}.xz \ DISTFILES= eclipse.platform.releng.aggregator-${PORTVERSION}.xz \
@ -114,6 +115,8 @@ do-install:
@(cd ${STAGEDIR}${PREFIX}; ${FIND} -s -d lib/eclipse -type d) | ${SED} -ne "s,^,@dirrm ,p" >> ${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/lib/eclipse/dropins > /dev/null || ${TRUE}" >> ${TMPPLIST}
@${ECHO_CMD} "@exec ${MKDIR} %D/share/eclipse/dropins > /dev/null || ${TRUE}" >> ${TMPPLIST} @${ECHO_CMD} "@exec ${MKDIR} %D/share/eclipse/dropins > /dev/null || ${TRUE}" >> ${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/dropins" >> ${TMPPLIST}
@${ECHO_CMD} "@dirrm share/eclipse" >> ${TMPPLIST} @${ECHO_CMD} "@dirrm share/eclipse" >> ${TMPPLIST}