mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
. Fix overwriting of JUnit 4 during installation.
Submitted by: tg@
This commit is contained in:
parent
3e5a1b8c1c
commit
839a7edf3e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=262335
@ -183,6 +183,7 @@ post-patch:
|
||||
.endfor
|
||||
@${REINPLACE_CMD} -e "s+=/usr/share/java/junit.jar+=${BUILD_WRKSRC}/bundles/junit.jar+" ${BUILD_WRKSRC}/nonosgidependencies.properties
|
||||
@${REINPLACE_CMD} -e "s+=/usr/share/java/junit4.jar+=${BUILD_WRKSRC}/bundles/junit4.jar+" ${BUILD_WRKSRC}/nonosgidependencies.properties
|
||||
@${REINPLACE_CMD} -e "s+/usr/share/java/junit4.jar+${BUILD_WRKSRC}/bundles/junit4.jar+" ${BUILD_WRKSRC}/build.xml
|
||||
.if defined(WITH_TESTS)
|
||||
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${ANT} ${MAKE_ARGS} applyTestPatches)
|
||||
.endif
|
||||
@ -208,16 +209,6 @@ do-install:
|
||||
${BUILD_WRKSRC}/eclipse.tmp
|
||||
.endif
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/eclipse.tmp ${PREFIX}/bin/${PORTNAME}
|
||||
@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}
|
||||
|
@ -122,7 +122,7 @@ $FreeBSD$
|
||||
- <arg value="--no-target-directory" />
|
||||
- <arg value="${buildDirectory}/installation" />
|
||||
- <arg value="${destDir}${prefix}/${libDir}/eclipse" />
|
||||
+ <arg value="-R" />
|
||||
+ <arg value="-RL" />
|
||||
+ <arg value="${buildDirectory}/installation/" />
|
||||
+ <arg value="${destDir}${prefix}/${libDir}/%%PORTNAME%%" />
|
||||
</exec>
|
||||
|
Loading…
Reference in New Issue
Block a user