ports/120261: update port: devel/jude-community: update to 5.2
Yoshihiko Sarumaru
mistral at imasy.or.jp
Mon Feb 4 17:30:03 UTC 2008
>Number: 120261
>Category: ports
>Synopsis: update port: devel/jude-community: update to 5.2
>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: Mon Feb 04 17:30:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Yoshihiko Sarumaru
>Release: FreeBSD 6.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD sachiko.yamayuri.org 6.3-STABLE FreeBSD 6.3-STABLE #9: Sat Jan 19 23:25:35 JST 2008 sarumaru at sachiko.yamayuri.org:/usr/obj/usr/src/sys/VGN-TX92S i386
>Description:
Updates devel/jude-community to the latest version 5.2.
New features are:
- Support Java 5.0 source code for [Import Java] feature
- Template Class
- Create new project by importing Template
- Support curved line
- Improvements on Class Diagram
- Text in Multiple lines is available for ActionState and
SubActivityState models.
- Improvements on Pop-Up menu of Diagram Editor on using Java 5 or later
- Open multiple diagrams at once by selecting them in the Structure Tree.
- Delete Stereotype by [Delete] key
- Improvements upon on adding Stereotypes from Pop-Up Menu
- Improvements on resizing Note
- Improvements on Tool Bar
- Improvements on [Export Image]
- Improvements on API
- Improvements on Performance
>How-To-Repeat:
>Fix:
diff -uwr jude-community-5.1.1/Makefile jude-community/Makefile
--- jude-community-5.1.1/Makefile 2007-12-19 07:44:41.000000000 +0900
+++ jude-community/Makefile 2008-02-05 01:17:13.000000000 +0900
@@ -6,7 +6,7 @@
#
PORTNAME= jude-community
-PORTVERSION= 5.1.1
+PORTVERSION= 5.2
CATEGORIES= devel java
MASTER_SITES= # you have to register yourself as a member to download
DISTNAME= ${PORTNAME}-${PORTVERSION:S!.!_!g}
@@ -16,12 +16,19 @@
USE_ZIP= yes
USE_JAVA= yes
-# HTML export doesn't work with JDK 5.0.
-# Expect that, Jude Community 3.1 works fine with JDK 5.0
-# work around to use JDK 5.0: symlink or copy tools.jar from JDK 1.4.
+
+# 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})
+# 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 /usr/local/lib/X11/fonts/TrueType \
+# /usr/local/diablo-jdk1.5.0/jre/lib/fonts/fallback
+.if !defined(WITHOUT_EXPORT_HTML)
JAVA_VERSION= 1.4
-# It doesn't work well with linux-sun-jdk14
-# I haven't tested with the jdks of blackdown or ibm
+.else
+JAVA_VERSION= 1.4+
+.endif
+
JAVA_OS= native
NO_BUILD= yes
@@ -32,14 +39,19 @@
DOWNLOAD_URL= http://jude.change-vision.com/jude-web/download/index.html
PLIST_FILES= bin/jude share/${PORTNAME}/mozilla
-DATA_FILES= ${PORTNAME}.jar jude-api.jar JudeDefaultModel.jude \
- JudeDefaultModel_ja.jude jude-gui_en.properties_org \
- jude.ico jude-doc.ico Welcome.jude Welcome_ja.jude
+DATA_FILES= ${PORTNAME}.jar jude-api.jar jude-gui_en.properties_org \
+ jude.ico jude-doc.ico Welcome.jude Welcome_ja.jude \
+ template/project/Java1.4.jude template/project/Java5.jude
+
.for file in ${DATA_FILES}
PLIST_FILES+= share/${PORTNAME}/${file}
.endfor
+.if !defined(WITHOUT_EXPORT_HTML)
PLIST_FILES+= share/${PORTNAME}/tools.jar
-PLIST_DIRS= share/${PORTNAME}
+.endif
+PLIST_DIRS= share/${PORTNAME}/template/project \
+ share/${PORTNAME}/template \
+ share/${PORTNAME}
.if !defined(NOPORTDOCS)
PORTDOCS+= README-e.txt README.txt ReleaseNote-e.html ReleaseNote.html \
@@ -65,20 +77,18 @@
${MKDIR} ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/jude ${PREFIX}/bin
${INSTALL_SCRIPT} ${FILESDIR}/mozilla ${DATADIR}
-.for datafile in ${DATA_FILES}
- ${INSTALL_DATA} ${WRKSRC}/${datafile} ${DATADIR}
-.endfor
- # ExportHTML needs lib/tools.jar to be copied
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} "${DATA_FILES}" ${DATADIR})
+.if !defined(WITHOUT_EXPORT_HTML)
+ # ExportHTML needs lib/tools.jar of JDK1.4
${LN} -s ${JAVA_HOME}/lib/tools.jar ${DATADIR}
-
+.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for docfile in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
- @ ${MKDIR} ${DOCSDIR}/api
- @ cd ${WRKSRC}/api && ${FIND} . | \
- ${CPIO} --quiet -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}/api
+ ${MKDIR} ${DOCSDIR}/api
+ (cd ${WRKSRC}/api && ${COPYTREE_SHARE} \* ${DOCSDIR}/api)
@ cd ${PREFIX} && ${FIND} share/doc/${PORTNAME}/api -type f -print | \
${SORT} -r >> ${TMPPLIST}
@ cd ${PREFIX} && ${FIND} share/doc/${PORTNAME}/api -type d -print | \
diff -uwr jude-community-5.1.1/distinfo jude-community/distinfo
--- jude-community-5.1.1/distinfo 2007-12-17 01:21:25.000000000 +0900
+++ jude-community/distinfo 2008-02-04 23:04:58.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (jude-community-5_1_1.zip) = ce46e0f9ca720ead60d52c052da228a3
-SHA256 (jude-community-5_1_1.zip) = c03ad1be77e1c7a06d17133bbf73a1a62bc27cb77e97492edda67e62e75f2b8d
-SIZE (jude-community-5_1_1.zip) = 7671961
+MD5 (jude-community-5_2.zip) = a2d9727288616f74e266d39d13bbbbe4
+SHA256 (jude-community-5_2.zip) = 65a60116d4a006c754d6ffc2169caba5a224b22a16150f1a353547da111b4602
+SIZE (jude-community-5_2.zip) = 8229940
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list