Skip site navigation (1)Skip section navigation (2)
Date:      11 Jul 2006 09:01:31 -0000
From:      Nicola Vitale <nivit@email.it>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/100105: [MAINTAINER] graphics/jdraw: update to 1.1.5
Message-ID:  <20060711090131.42272.qmail@fabula>
Resent-Message-ID: <200607111950.k6BJo9LT000966@freefall.freebsd.org>

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

>Number:         100105
>Category:       ports
>Synopsis:       [MAINTAINER] graphics/jdraw: update to 1.1.5
>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:   Tue Jul 11 19:50:08 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Nicola Vitale
>Release:        FreeBSD 6.1-BETA3 i386
>Organization:
>Environment:
System: FreeBSD fabula.domo.sva 6.1-BETA3 FreeBSD 6.1-BETA3 #0: Thu Mar  2 11:03:41 UTC
>Description:
- Update to 1.1.5

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- jdraw-1.1.5.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/jdraw/Makefile /usr/ports/graphics/jdraw.update-1.1.5/Makefile
--- /usr/ports/graphics/jdraw/Makefile	Thu Jul  6 19:47:02 2006
+++ /usr/ports/graphics/jdraw.update-1.1.5/Makefile	Tue Jul 11 10:55:33 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	jdraw
-PORTVERSION=	1.1.4
+PORTVERSION=	1.1.5
 CATEGORIES=	graphics java
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -24,7 +24,7 @@
 
 DATADIR=	${JAVASHAREDIR}/${PORTNAME}
 SUB_FILES=	${PORTNAME}
-SUB_LIST=	JAVA=${JAVA}  JAVAJARDIR=${JAVAJARDIR} JDRAWJAR=${JDRAWJAR} PLASTIC3D=${PLASTIC3D}
+SUB_LIST=	JAVA_VERSION=${JAVA_VERSION} JDRAWJAR=${JDRAWJAR} PLASTIC3D=${PLASTIC3D}
 
 JDRAWJAR=	${DATADIR}/${DISTFILES}
 
diff -ruN --exclude=CVS /usr/ports/graphics/jdraw/distinfo /usr/ports/graphics/jdraw.update-1.1.5/distinfo
--- /usr/ports/graphics/jdraw/distinfo	Thu Jul  6 19:47:02 2006
+++ /usr/ports/graphics/jdraw.update-1.1.5/distinfo	Tue Jul 11 10:38:39 2006
@@ -1,3 +1,3 @@
-MD5 (jdraw_v1.1.4.jar) = ad8942da9873ddea09094245cd820c02
-SHA256 (jdraw_v1.1.4.jar) = c59d46942d25535d1581ee8d5091f8dd4679559bdc81aba7a078c4460859cd7e
-SIZE (jdraw_v1.1.4.jar) = 672892
+MD5 (jdraw_v1.1.5.jar) = 16282b9a7863cf5660451327334bde12
+SHA256 (jdraw_v1.1.5.jar) = 4bc17505ee86644789e6d93ee6ebdfb5de0e4e4f4b7f63e4c83ffcd49d78d284
+SIZE (jdraw_v1.1.5.jar) = 705527
diff -ruN --exclude=CVS /usr/ports/graphics/jdraw/files/jdraw.in /usr/ports/graphics/jdraw.update-1.1.5/files/jdraw.in
--- /usr/ports/graphics/jdraw/files/jdraw.in	Thu Jul  6 19:47:02 2006
+++ /usr/ports/graphics/jdraw.update-1.1.5/files/jdraw.in	Tue Jul 11 10:56:02 2006
@@ -1,9 +1,14 @@
 #!/bin/sh
 # $FreeBSD: ports/graphics/jdraw/files/jdraw.in,v 1.1 2006/07/06 17:47:02 itetcu Exp $
-if [ -z "$1" ]; then
+if [ -z "${JAVA_VERSION}" ]; then
+	JAVA_VERSION="%%JAVA_VERSION%%"
+fi
+
+if [ "${JAVA_VERSION}" \> "1.4" ]; then
 	LOOK_AND_FEEL="%%PLASTIC3D%%"
 else
-	LOOK_AND_FEEL="$1"
+	LOOK_AND_FEEL=
 fi
 
-%%JAVA%% -cp %%JAVAJARDIR%% ${LOOK_AND_FEEL} -jar %%JDRAWJAR%%
+exec "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%" ${LOOK_AND_FEEL} -jar "%%JDRAWJAR%%" "$@"
+
diff -ruN --exclude=CVS /usr/ports/graphics/jdraw/pkg-plist /usr/ports/graphics/jdraw.update-1.1.5/pkg-plist
--- /usr/ports/graphics/jdraw/pkg-plist	Thu Jul  6 19:47:02 2006
+++ /usr/ports/graphics/jdraw.update-1.1.5/pkg-plist	Tue Jul 11 10:55:01 2006
@@ -1,4 +1,4 @@
 @comment $FreeBSD: ports/graphics/jdraw/pkg-plist,v 1.1 2006/07/06 17:47:02 itetcu Exp $
 bin/jdraw
-%%JAVASHAREDIR%%/jdraw/jdraw_v1.1.4.jar
+%%JAVASHAREDIR%%/jdraw/jdraw_v1.1.5.jar
 @dirrm %%JAVASHAREDIR%%/jdraw
--- jdraw-1.1.5.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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