1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Install junit4.jar to fix detection in math/scilab

PR:		ports/189201
Submitted by:	Max Brazhnikov <makc@FreeBSD.org>
This commit is contained in:
Danilo Egea Gondolfo 2014-05-02 13:02:01 +00:00
parent b01d9682d2
commit 3b7dd98360
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352811

View File

@ -3,6 +3,7 @@
PORTNAME= junit
PORTVERSION= 4.11
PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= GH
DISTNAME= ${PORTNAME}${PORTVERSION}
@ -24,12 +25,15 @@ WRKSRC= ${WRKDIR}/junit-team-junit-c62e2df
PORTDOCS= README.html cpl-v10.html doc javadoc
PORTEXAMPLES= *
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
PLIST_FILES= %%JAVAJARDIR%%/junit.jar %%DATADIR%%/src.jar
PLIST_FILES= %%JAVAJARDIR%%/junit.jar \
%%JAVAJARDIR%%/junit4.jar \
%%DATADIR%%/src.jar
PLIST_DIRS= %%DATADIR%%
do-install:
${INSTALL_DATA} ${INSTALL_WRKSRC}/junit${PORTVERSION}-SNAPSHOT/junit-${PORTVERSION}-SNAPSHOT.jar \
${STAGEDIR}${JAVAJARDIR}/junit.jar
${LN} -sf junit.jar ${STAGEDIR}${JAVAJARDIR}/junit4.jar
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${INSTALL_WRKSRC}/junit${PORTVERSION}-SNAPSHOT/junit-${PORTVERSION}-SNAPSHOT-src.jar \
${STAGEDIR}${DATADIR}/src.jar