mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
. Fix the copying of bundles into the plugin directory during install to
ensure that the bundles are put into the correct location, which is sometimes a subdirectory of the plugin directory. The previous fix missed those and left dangling symlinks. Problem reported by: Andriy Gapon <avg@icyb.net.ua>
This commit is contained in:
parent
85daf4662a
commit
58ac91985e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=256300
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= eclipse-devel
|
||||
PORTVERSION= 3.5.2
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= java devel
|
||||
MASTER_SITES= http://download.eclipse.org/technology/linuxtools/eclipse-build/:1 \
|
||||
http://download.eclipse.org/tools/orbit/downloads/drops/R20090825191606/bundles/:2 \
|
||||
@ -208,8 +208,16 @@ do-install:
|
||||
${BUILD_WRKSRC}/eclipse.tmp
|
||||
.endif
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/eclipse.tmp ${PREFIX}/bin/${PORTNAME}
|
||||
@cd ${BUILD_WRKSRC}/bundles && \
|
||||
${COPYTREE_SHARE} . ${PORTDESTDIR}/plugins/
|
||||
@for f in `ls ${BUILD_WRKSRC}/bundles/*.jar`; do \
|
||||
BASE=`basename $$f`; \
|
||||
FILES=`find ${PORTDESTDIR}/plugins/ -name "$$BASE"`; \
|
||||
if [ ! -z "$$FILES" ]; then \
|
||||
for s in $$FILES; do \
|
||||
${RM} "$$s"; \
|
||||
${INSTALL_DATA} "$$f" "$$s"; \
|
||||
done; \
|
||||
fi; \
|
||||
done
|
||||
@${PREFIX}/bin/${PORTNAME} -initialize -consolelog
|
||||
-@update-desktop-database
|
||||
@(cd ${PREFIX}; ${FIND} -s lib/${PORTNAME} -not -type d) >> ${TMPPLIST}
|
||||
|
Loading…
Reference in New Issue
Block a user