Bug 189201 - java/junit: install junit4.jar
Summary: java/junit: install junit4.jar
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Danilo Egea Gondolfo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-01 15:50 UTC by Max Brazhnikov
Modified: 2014-05-02 14:10 UTC (History)
0 users

See Also:


Attachments
file.diff (1012 bytes, patch)
2014-05-01 15:50 UTC, Max Brazhnikov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Max Brazhnikov freebsd_committer freebsd_triage 2014-05-01 15:50:00 UTC
- Install junit4.jar to fix detection in math/scilab

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-01 15:50:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danilo

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-05-02 14:02:05 UTC
Author: danilo
Date: Fri May  2 13:02:01 2014
New Revision: 352811
URL: http://svnweb.freebsd.org/changeset/ports/352811
QAT: https://qat.redports.org/buildarchive/r352811/

Log:
  -  Install junit4.jar to fix detection in math/scilab
  
  PR:		ports/189201
  Submitted by:	Max Brazhnikov <makc@FreeBSD.org>

Modified:
  head/java/junit/Makefile

Modified: head/java/junit/Makefile
==============================================================================
--- head/java/junit/Makefile	Fri May  2 12:54:25 2014	(r352810)
+++ head/java/junit/Makefile	Fri May  2 13:02:01 2014	(r352811)
@@ -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-c62e
 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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2014-05-02 14:02:25 UTC
State Changed
From-To: open->closed

Committed. Thanks!