ports/161696: [maintainer] [patch] java/jrosetta Update to 1.0.4
Rob Farmer
rfarmer at predatorlabs.net
Sun Oct 16 00:00:32 UTC 2011
>Number: 161696
>Category: ports
>Synopsis: [maintainer] [patch] java/jrosetta Update to 1.0.4
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 16 00:00:21 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Rob Farmer
>Release: 9.0-BETA3
>Organization:
>Environment:
FreeBSD xeonvbox.predatorlabs.net 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Wed Oct 12 19:01:58 PDT 2011 rfarmer at xeonvbox.predatorlabs.net:/usr/obj/usr/src/sys/VBOX amd64
>Description:
-Update to 1.0.4
-Upstream switched from ant to maven
Changes:
JRosetta (1.0.4)
* Introduce member VERSION in com.artenum.rosetta.util.ConfigurationBuilder
-- Sylvestre Ledru <sylvestre.ledru at scilab.org> Fri, 3 Oct 2011 14:04:52 +0200
JRosetta (1.0.3)
[ Calixte Denizet - Scilab ]
* Fix a bug in the refresh of the display
[ Benoit Thiebault - Artenum ]
* Switch to maven
-- Sylvestre Ledru <sylvestre.ledru at scilab.org> Fri, 16 Sep 2011 17:04:52 +0200
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/java/jrosetta/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile 24 Feb 2010 01:44:34 -0000 1.1
+++ Makefile 13 Oct 2011 17:55:58 -0000
@@ -6,28 +6,39 @@
#
PORTNAME= jrosetta
-PORTVERSION= 1.0.2
+PORTVERSION= 1.0.4
CATEGORIES= java devel
-MASTER_SITES= http://www.predatorlabs.net/dl/
-EXTRACT_SUFX= -gpl.zip
+MASTER_SITES= http://maven.artenum.com/content/groups/public/com/artenum/${PORTNAME}/${PORTVERSION}/ \
+ http://www.predatorlabs.net/dl/
+EXTRACT_SUFX= -sources.jar
MAINTAINER= rfarmer at predatorlabs.net
COMMENT= API for building a graphical console in Swing
+BUILD_DEPENDS= mvn:${PORTSDIR}/devel/maven3
+
USE_JAVA= yes
JAVA_VERSION= 1.5+
JAVA_BUILD= yes
JAVA_RUN= yes
-USE_ANT= yes
-
-ALL_TARGET= make
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-gpl
-PLIST_FILES= %%JAVAJARDIR%%/jrosetta-API.jar \
+PLIST_FILES= %%JAVAJARDIR%%/jrosetta-api.jar \
%%JAVAJARDIR%%/jrosetta-engine.jar
+OUTPUT= ${WRKDIR}/m2/com/artenum/jrosetta
+
+post-patch:
+ ${MKDIR} ${WRKDIR}/m2
+ ${CP} ${FILESDIR}/settings.xml ${WRKDIR}
+ ${REINPLACE_CMD} -e "s|WORK|${WRKDIR}|" ${WRKDIR}/settings.xml
+
+do-build:
+ (cd ${WRKSRC} && ${LOCALBASE}/bin/mvn -gs "${WRKDIR}/settings.xml" clean install)
+
do-install:
- ${INSTALL_DATA} ${WRKSRC}/dist/jrosetta-API.jar ${JAVAJARDIR}
- ${INSTALL_DATA} ${WRKSRC}/dist/jrosetta-engine.jar ${JAVAJARDIR}
+ ${INSTALL_DATA} ${OUTPUT}/jrosetta-api/${PORTVERSION}/jrosetta-api-${PORTVERSION}.jar \
+ ${JAVAJARDIR}/jrosetta-api.jar
+ ${INSTALL_DATA} ${OUTPUT}/jrosetta-engine/${PORTVERSION}/jrosetta-engine-${PORTVERSION}.jar \
+ ${JAVAJARDIR}/jrosetta-engine.jar
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/java/jrosetta/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo 20 Mar 2011 12:49:53 -0000 1.2
+++ distinfo 13 Oct 2011 17:05:52 -0000
@@ -1,2 +1,2 @@
-SHA256 (jrosetta-1.0.2-gpl.zip) = 1d8a1de967ca00109b92dedc16bc27ceb68e61aea25f6ba9dc6f977d8d636c8d
-SIZE (jrosetta-1.0.2-gpl.zip) = 69552
+SHA256 (jrosetta-1.0.4-sources.jar) = 23c1631769a8715110af1b8449d0e810f8161d9a609d69fb2fe8546903ebfd9b
+SIZE (jrosetta-1.0.4-sources.jar) = 94931
Index: files/settings.xml
===================================================================
RCS file: files/settings.xml
diff -N files/settings.xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/settings.xml 13 Oct 2011 17:26:02 -0000
@@ -0,0 +1,3 @@
+<settings>
+ <localRepository>WORK/m2</localRepository>
+</settings>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list