ports/189201: java/junit: install junit4.jar
Max Brazhnikov
makc at FreeBSD.org
Thu May 1 14:50:01 UTC 2014
>Number: 189201
>Category: ports
>Synopsis: java/junit: install junit4.jar
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu May 01 14:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Max Brazhnikov
>Release: FreeBSD 9.2-STABLE amd64
>Organization:
>Environment:
>Description:
- Install junit4.jar to fix detection in math/scilab
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: java/junit/Makefile
===================================================================
--- java/junit/Makefile (revision 352745)
+++ java/junit/Makefile (working copy)
@@ -3,6 +3,7 @@
PORTNAME= junit
PORTVERSION= 4.11
+PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= GH
DISTNAME= ${PORTNAME}${PORTVERSION}
@@ -24,12 +25,15 @@
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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list