From owner-freebsd-ports-bugs@FreeBSD.ORG  Thu May  1 14:50:01 2014
Return-Path: <owner-freebsd-ports-bugs@FreeBSD.ORG>
Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id ECB44CD2
 for <freebsd-ports-bugs@smarthost.ysv.freebsd.org>;
 Thu,  1 May 2014 14:50:00 +0000 (UTC)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id C96531399
 for <freebsd-ports-bugs@smarthost.ysv.freebsd.org>;
 Thu,  1 May 2014 14:50:00 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s41Eo0Wk083343
 for <freebsd-ports-bugs@freefall.freebsd.org>; Thu, 1 May 2014 14:50:00 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s41Eo0SA083341;
 Thu, 1 May 2014 14:50:00 GMT (envelope-from gnats)
Resent-Date: Thu, 1 May 2014 14:50:00 GMT
Resent-Message-Id: <201405011450.s41Eo0SA083341@freefall.freebsd.org>
Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer)
Resent-To: freebsd-ports-bugs@FreeBSD.org
Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org,
 Max Brazhnikov <makc@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id B3315CB1
 for <freebsd-gnats-submit@FreeBSD.org>; Thu,  1 May 2014 14:49:06 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org
 [IPv6:2001:1900:2254:206a::50:4])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id A13E31391
 for <freebsd-gnats-submit@FreeBSD.org>; Thu,  1 May 2014 14:49:06 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
 by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s41En65Q046614
 for <freebsd-gnats-submit@FreeBSD.org>; Thu, 1 May 2014 14:49:06 GMT
 (envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
 by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s41En6DK046609;
 Thu, 1 May 2014 14:49:06 GMT (envelope-from nobody)
Message-Id: <201405011449.s41En6DK046609@cgiserv.freebsd.org>
Date: Thu, 1 May 2014 14:49:06 GMT
From: Max Brazhnikov <makc@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
X-Send-Pr-Version: www-3.1
Subject: ports/189201: java/junit: install junit4.jar
X-BeenThere: freebsd-ports-bugs@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Ports bug reports <freebsd-ports-bugs.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-ports-bugs>, 
 <mailto:freebsd-ports-bugs-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/>
List-Post: <mailto:freebsd-ports-bugs@freebsd.org>
List-Help: <mailto:freebsd-ports-bugs-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, 
 <mailto:freebsd-ports-bugs-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 01 May 2014 14:50:01 -0000


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