Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 2014 14:49:06 GMT
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189201: java/junit: install junit4.jar
Message-ID:  <201405011449.s41En6DK046609@cgiserv.freebsd.org>
Resent-Message-ID: <201405011450.s41Eo0SA083341@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405011449.s41En6DK046609>