Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 May 2009 03:54:09 +0900 (JST)
From:      Yoshihiko Sarumaru <sarumaru@jp.freebsd.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/134241: update port: devel/jude-community: update to 5.5
Message-ID:  <200905051854.n45Is97k042889@shimako.yamayuri.org>
Resent-Message-ID: <200905051900.n45J0BEV015823@freefall.freebsd.org>

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

>Number:         134241
>Category:       ports
>Synopsis:       update port: devel/jude-community: update to 5.5
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 05 19:00:11 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Yoshihiko Sarumaru
>Release:        FreeBSD 6.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD shimako.yamayuri.org 6.4-STABLE FreeBSD 6.4-STABLE #3: Sun Jan 11 18:21:13 JST 2009 sarumaru@shimako.yamayuri.org:/usr/obj/usr/src/sys/VGN-TX92S i386


	
>Description:
	update to jude community 5.5
	- this version doesn't work with JDK1.4 any more
	- this version works with tools.jar derived from JDK1.5+/1.6
	- update browser list  
>How-To-Repeat:
	
>Fix:
diff -uwr jude-community-5.4.1/Makefile jude-community/Makefile
--- jude-community-5.4.1/Makefile	2009-01-21 08:14:32.000000000 +0900
+++ jude-community/Makefile	2009-05-05 22:39:12.000000000 +0900
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	jude-community
-PORTVERSION=	5.4.1
+PORTVERSION=	5.5
 CATEGORIES=	devel java
 MASTER_SITES=	# you have to register yourself as a member to download
 DISTNAME=	${PORTNAME}-${PORTVERSION:S!.!_!g}
@@ -16,21 +16,13 @@
 
 USE_ZIP=	yes
 
-# Export HTML function can be used with JDK 1.4 only.
-# (But it can work with JDK 1.5 + copying JDK 1.4 tools.jar to ${DATADIR})
-OPTIONS=	EXPORT_HTML "Enable Exporting HTML function (needs JDK1.4)" Off
-
 .include <bsd.port.pre.mk>
 
-# In case you are going to use JDK1.5+ in Japanese environment, make sure
+# In case you are going to use JDK1.5 in Japanese environment, make sure
 # you have prepared following command to avoid from font problem:
 # ln -s ${LOCALBASE}/lib/X11/fonts/TrueType \
 #     ${LOCALBASE}/diablo-jdk1.5.0/jre/lib/fonts/fallback
-.if defined(WITH_EXPORT_HTML)
-JAVA_VERSION=	1.4
-.else
-JAVA_VERSION=	1.4+
-.endif
+JAVA_VERSION=	1.5+
 
 USE_JAVA=	yes
 JAVA_OS=	native
@@ -54,15 +46,14 @@
 PORTDATA=	${PORTNAME}.jar jude-api.jar jude-gui_en.properties_org \
 		jude.ico jude-doc.ico Welcome.jude Welcome_ja.jude \
 		template \
-		mozilla
-.endif
-.if defined(WITH_EXPORT_HTML)
-PORTDATA+=	tools.jar
+		mozilla \
+		tools.jar
 .endif
 
 .if !defined(NOPORTDOCS)
 PORTDOCS=	ReleaseNote-e.html ReleaseNote.html \
 		ProductInformation.txt \
+		README-e.txt README.txt \
 		API_sample_program_license_agreement-e.txt \
 		API_sample_program_license_agreement.txt
 .endif
@@ -78,13 +69,11 @@
 	${INSTALL_SCRIPT} ${WRKSRC}/jude ${PREFIX}/bin
 .if !defined(NOPORTDATA)
 	${MKDIR} ${DATADIR}
-	(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA:Nmozilla}" ${DATADIR})
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA:Nmozilla:Ntools.jar}" ${DATADIR})
 	${INSTALL_SCRIPT} ${FILESDIR}/mozilla ${DATADIR}
-.if defined(WITH_EXPORT_HTML)
-	# ExportHTML needs lib/tools.jar of JDK1.4
+	# ExportHTML needs lib/tools.jar of JDK1.5/1.6
 	${LN} -s ${JAVA_HOME}/lib/tools.jar ${DATADIR}
 .endif
-.endif
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
 .for docfile in ${PORTDOCS}
diff -uwr jude-community-5.4.1/distinfo jude-community/distinfo
--- jude-community-5.4.1/distinfo	2009-01-18 18:49:43.000000000 +0900
+++ jude-community/distinfo	2009-04-12 17:07:16.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (jude-community-5_4_1.zip) = 2bd4b56d0a73105eaed12363856abb3e
-SHA256 (jude-community-5_4_1.zip) = dcb3890a53d27b363b2e310db7819889b332319ea460f8e53dce42575bd0274e
-SIZE (jude-community-5_4_1.zip) = 10246359
+MD5 (jude-community-5_5.zip) = 90549e57d30ff0e818b8bdd8475ab8dc
+SHA256 (jude-community-5_5.zip) = 5f3dba918dbf055c40ff82c0d47844765d6c3e566e2fa6fa15a1138d88b53c4f
+SIZE (jude-community-5_5.zip) = 9520770
diff -uwr jude-community-5.4.1/files/mozilla jude-community/files/mozilla
--- jude-community-5.4.1/files/mozilla	2008-12-29 21:38:20.000000000 +0900
+++ jude-community/files/mozilla	2009-05-06 03:38:38.000000000 +0900
@@ -1,10 +1,16 @@
 #!/bin/sh
 
-# eliminate own path from PATH (without this, cause a inifinite loop)
+# eliminate own path from PATH (without this, may cause a inifinite loop)
 PATH=${PATH#$(dirname $0)}
 
-# add your favorite browser in the top of the list
-for browser in mozilla linux-mozilla firefox3 firefox linux-firefox firebird opera linux-opera
+# set your favorite browser to JUDE_BROWSER environmental variable
+for browser in \
+${JUDE_BROWSER} \
+firefox-devel linux-firefox-devel \
+firefox3 \
+firefox linux-firefox \
+seamonkey-devel linux-seamonkey-devel seamonkey linux-seamonkey \
+opera-devel opera linux-opera
 do
     type $browser > /dev/null 2>&1 && exec $browser "$@"
 done
>Release-Note:
>Audit-Trail:
>Unformatted:



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